[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn trunk currently doesn't build with Sqlite 3.7.13 amalgamation

From: Branko Čibej <brane_at_wandisco.com>
Date: Mon, 13 Aug 2012 08:20:50 +0200

On 12.08.2012 22:54, Lieven Govaerts wrote:
> Hi,
>
>
> I noticed that building svn trunk on Windows fails when using the new
> sqlite 3.7.17 amalgamation (new since June, 11th).
>
> The error I got is:
> c:\Users\lgo\dev\trunk\sqlite-amalgamation\sqlite3.c(18462) : error
> C2159: more than one storage class specified
>
> on line:
> SQLITE_API extern void sqlite3_win32_sleep(DWORD milliseconds); /* os_win.c */
>
> I've only tested this on windows, but the error seems
> sqlite-amalgation specific - SQLITE_API is defined as static when
> importing the sqlite3.c file, which results in the above error.

Yes, that looks like a typo. When I tried that (for testing the Windows
bits of svn --version --verbose) I didn't philosophise, I just removed
the "extern" from that line and all was well.

-- Brane

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2012-08-13 08:21:49 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.