Bugs item #1898219, was opened at 2008-02-20 23:03 Message generated for change (Comment added) made by mr-meltdown You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1898219&group_id=56967
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Build Group: SQL 2.22 Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: Ying Zhang (yingying) Assigned to: Fabian (mr-meltdown) Summary: SQL: failed to compile due to merovingian Initial Comment: Hi, Compiling stable branch on andorea (fedora 8) results in: monet/stable/sql/src/backends/monet5/merovingian.mx: In function ‘main’: monet/stable/sql/src/backends/monet5/merovingian.mx:1355: warning: ISO C90 forbids mixed declarations and code Configure options: --enable-debug --enable-assert --disable-optimize --enable-strict Regards, Jennie ---------------------------------------------------------------------- >Comment By: Fabian (mr-meltdown) Date: 2008-02-21 10:50 Message: Logged In: YES user_id=963970 Originator: NO -Wall -Werror should do the trick, no? I don't see any warnings or messages on stderr where warnings are sent to. ---------------------------------------------------------------------- Comment By: Stefan Manegold (stmane) Date: 2008-02-21 10:45 Message: Logged In: YES user_id=572415 Originator: NO Fabian, thanks for the fix. gcc 4.2.3 should give the same warning --- however, it's considered an error only with --enable-strict, which is not the default in the Stable release branch ... Stefan ---------------------------------------------------------------------- Comment By: Fabian (mr-meltdown) Date: 2008-02-21 10:42 Message: Logged In: YES user_id=963970 Originator: NO 1355: pthread_t ctid = 0; I see. My compiler (gcc (GCC) 4.2.3 (Gentoo 4.2.3 p1.0)) just doesn't apparently, maybe because I don't have -O? in CFLAGS. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1898219&group_id=56967 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Monetdb-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/monetdb-bugs
