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

Re: svn commit: r35241 - in trunk: . build/ac-macros subversion/include/private subversion/libsvn_subr

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 14 Jan 2009 17:09:35 +0000

On Wed, Jan 14, 2009 at 08:43:29AM -0800, David Glasser wrote:
> For efficiency reasons, the system has converted the large body of this message into an attachment.
> Message-ID: <200901141643.n0EGhTnJ007832_at_svn2.sjc.collab.net>
> Date: Wed, 14 Jan 2009 08:43:29 -0800
> From: glasser_at_tigris.org
> To: svn_at_subversion.tigris.org
> Subject: svn commit: r35241 - in trunk: . build/ac-macros subversion/include/private subversion/libsvn_subr
> Content-Type: text/plain; charset=UTF-8
> Reply-To: dev_at_subversion.tigris.org, glasser_at_tigris.org
>
> Author: glasser
> Date: Wed Jan 14 08:43:29 2009
> New Revision: 35241
>
> Log:
> Use an "amalgamated" in-line version of sqlite3 instead of linking
> against an external library. This change makes it much easier to
> build Subversion on systems which have a pre-3.4.x sqlite3 installed
> globally.

Is this amalgamated version of sqlite supposed to be portable?
It breaks the build on OpenBSD.

cd /home/stsp/svn/svn-trunk \
                && make
/bin/sh /home/stsp/svn/svn-trunk/libtool --tag=CC --silent --mode=compile gcc -D_POSIX_THREADS -I/home/stsp/svn/prefix/apr/include/apr-1 -I/home/stsp/svn/prefix/apr/include/apr-1 -I/usr/local/include -Wpointer-arith -Wwrite-strings -Wshadow -ansi -Wall -Wformat=2 -Wunused -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wno-multichar -Wredundant-decls -Wnested-externs -Wunreachable-code -Winline -Wno-long-long -g -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread -DSVN_DEBUG -DAP_DEBUG -I./subversion/include -I./subversion -I/home/stsp/svn/prefix/apr/include/apr-1 -I/home/stsp/svn/prefix/apr/include/apr-1 -I/usr/local/include -I/home/stsp/svn/prefix/neon/include/neon -I/usr/local/include -I/home/stsp/svn/prefix/serf/include/serf-0 -o subversion/libsvn_subr/sqlite.lo -c subversion/libsvn_subr/sqlite.c
In file included from subversion/libsvn_subr/sqlite.c:33:
subversion/libsvn_subr/sqlite3_c.h: In function `sqlite3RegisterDateTimeFunctions':
subversion/libsvn_subr/sqlite3_c.h:12477: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:12478: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:12479: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:12480: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:12481: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:12482: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:12483: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:12484: warning: initialization discards qualifiers from pointer target type
In file included from subversion/libsvn_subr/sqlite.c:33:
subversion/libsvn_subr/sqlite3_c.h: In function `sqlite3VXPrintf':
subversion/libsvn_subr/sqlite3_c.h:16945: warning: declaration of `exp' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
subversion/libsvn_subr/sqlite3_c.h:17168: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:17180: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:17182: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:17184: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:17317: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:17336: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:17039: warning: will never be executed
subversion/libsvn_subr/sqlite3_c.h: In function `sqlite3Utf16ByteLen':
subversion/libsvn_subr/sqlite3_c.h:18653: warning: will never be executed
subversion/libsvn_subr/sqlite3_c.h:18653: warning: will never be executed
subversion/libsvn_subr/sqlite3_c.h:18653: warning: will never be executed
subversion/libsvn_subr/sqlite3_c.h:18653: warning: will never be executed
subversion/libsvn_subr/sqlite3_c.h:18653: warning: will never be executed
subversion/libsvn_subr/sqlite3_c.h:18653: warning: will never be executed
subversion/libsvn_subr/sqlite3_c.h: In function `sqlite3Dequote':
subversion/libsvn_subr/sqlite3_c.h:18925: warning: will never be executed
subversion/libsvn_subr/sqlite3_c.h:18925: warning: will never be executed
In file included from subversion/libsvn_subr/sqlite.c:33:
subversion/libsvn_subr/sqlite3_c.h: In function `full_fsync':
subversion/libsvn_subr/sqlite3_c.h:24579: error: `ENOTSUP' undeclared (first use in this function)
subversion/libsvn_subr/sqlite3_c.h:24579: error: (Each undeclared identifier is reported only once
subversion/libsvn_subr/sqlite3_c.h:24579: error: for each function it appears in.)
In file included from subversion/libsvn_subr/sqlite.c:33:
subversion/libsvn_subr/sqlite3_c.h: In function `unixDlError':
subversion/libsvn_subr/sqlite3_c.h:25543: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h: In function `sqlite3BtreeIntegrityCheck':
subversion/libsvn_subr/sqlite3_c.h:43167: warning: passing arg 5 of `checkList' discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:43178: warning: passing arg 3 of `checkTreePage' discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h: In function `columnMem':
subversion/libsvn_subr/sqlite3_c.h:48018: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h: In function `sqlite3Detach':
subversion/libsvn_subr/sqlite3_c.h:60655: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h: In function `sqlite3Attach':
subversion/libsvn_subr/sqlite3_c.h:60676: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h: In function `createTableStmt':
subversion/libsvn_subr/sqlite3_c.h:62437: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:62438: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:62439: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:62441: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:62442: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:62443: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h: In function `sqlite3EndTable':
subversion/libsvn_subr/sqlite3_c.h:62569: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:62570: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:62574: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:62575: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h: In function `sqlite3RegisterGlobalFunctions':
subversion/libsvn_subr/sqlite3_c.h:67085: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67086: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67087: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67088: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67089: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67090: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67091: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67092: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67093: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67094: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67095: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67096: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67097: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67098: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67099: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67100: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67101: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67102: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67103: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67104: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67105: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67106: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67107: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67108: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67109: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67110: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67111: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67112: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67113: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67114: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67115: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67116: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67117: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67118: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67119: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67120: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67125: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67126: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67128: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67129: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67130: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67131: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67132: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67133: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67135: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67140: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:67141: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h: In function `sqlite3Pragma':
subversion/libsvn_subr/sqlite3_c.h:70497: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:70497: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:70497: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:70497: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:70498: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:71233: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:71234: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:71235: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:71236: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:71237: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:71238: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:71239: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:71240: warning: initialization discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h: In function `generateColumnNames':
subversion/libsvn_subr/sqlite3_c.h:73370: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h: In function `selectOpName':
subversion/libsvn_subr/sqlite3_c.h:73399: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:73400: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:73401: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:73402: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h: In function `sqlite3RunVacuum':
subversion/libsvn_subr/sqlite3_c.h:78327: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h: At top level:
subversion/libsvn_subr/sqlite3_c.h:87212: warning: redundant redeclaration of `sqlite3_temp_directory' in same scope
subversion/libsvn_subr/sqlite3_c.h:5432: warning: previous declaration of `sqlite3_temp_directory'
subversion/libsvn_subr/sqlite3_c.h: In function `openDatabase':
subversion/libsvn_subr/sqlite3_c.h:88744: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite3_c.h:88747: warning: assignment discards qualifiers from pointer target type
subversion/libsvn_subr/sqlite.c: At top level:
subversion/libsvn_subr/sqlite3_c.h:87368: warning: `sqlite3_shutdown' defined but not used
subversion/libsvn_subr/sqlite3_c.h:87589: warning: `sqlite3_db_config' defined but not used
subversion/libsvn_subr/sqlite3_c.h:88449: warning: `sqlite3_extended_errcode' defined but not used
subversion/libsvn_subr/sqlite3_c.h:4014: warning: `sqlite3_column_database_name' declared `static' but never defined
subversion/libsvn_subr/sqlite3_c.h:4015: warning: `sqlite3_column_database_name16' declared `static' but never defined
subversion/libsvn_subr/sqlite3_c.h:4016: warning: `sqlite3_column_table_name' declared `static' but never defined
subversion/libsvn_subr/sqlite3_c.h:4017: warning: `sqlite3_column_table_name16' declared `static' but never defined
subversion/libsvn_subr/sqlite3_c.h:4018: warning: `sqlite3_column_origin_name' declared `static' but never defined
subversion/libsvn_subr/sqlite3_c.h:4019: warning: `sqlite3_column_origin_name16' declared `static' but never defined
subversion/libsvn_subr/sqlite3_c.h:88999: warning: `sqlite3_global_recover' defined but not used
subversion/libsvn_subr/sqlite3_c.h:16110: warning: `sqlite3_memory_alarm' defined but not used
subversion/libsvn_subr/sqlite3_c.h:5376: warning: `sqlite3_key' declared `static' but never defined
subversion/libsvn_subr/sqlite3_c.h:5389: warning: `sqlite3_rekey' declared `static' but never defined
subversion/libsvn_subr/sqlite3_c.h:5872: warning: `sqlite3_table_column_metadata' declared `static' but never defined
subversion/libsvn_subr/sqlite3_c.h:69876: warning: `sqlite3_enable_load_extension' defined but not used
subversion/libsvn_subr/sqlite3_c.h:69933: warning: `sqlite3_auto_extension' defined but not used
subversion/libsvn_subr/sqlite3_c.h:69972: warning: `sqlite3_reset_auto_extension' defined but not used
subversion/libsvn_subr/sqlite3_c.h:6776: warning: `sqlite3_mutex_held' declared `static' but never defined
subversion/libsvn_subr/sqlite3_c.h:6777: warning: `sqlite3_mutex_notheld' declared `static' but never defined
subversion/libsvn_subr/sqlite3_c.h:87582: warning: `sqlite3_db_mutex' defined but not used
subversion/libsvn_subr/sqlite3_c.h:11395: warning: `sqlite3_db_status' defined but not used
subversion/libsvn_subr/sqlite3_c.h:48568: warning: `sqlite3_stmt_status' defined but not used
*** Error code 1

Stefan
Received on 2009-01-14 18:11:14 CET

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.