Bugs item #2027508, was opened at 2008-07-25 08:28 Message generated for change (Comment added) made by stmane You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2027508&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: MonetDB5 CVS Head Status: Open Resolution: None Priority: 6 Private: No Submitted By: Stefan Manegold (stmane) Assigned to: Marco Antonelli (marcoantonelli) Summary: M5: module rdf fails to compile on 32-bit systems Initial Comment: See http://monetdb.cwi.nl/testing/projects/monetdb/Current/MonetDB5/.GNU.32.32.d.1-Fedora9..2008.07.25_00-09-02/make.out.html for details. cc1: warnings being treated as errors /export/scratch0/monet/monet.GNU.32.32.d.1.25058/MonetDB5/src/modules/mal/rdf.mx: In function 'rdf_datetime_toString': /export/scratch0/monet/monet.GNU.32.32.d.1.25058/MonetDB5/src/modules/mal/rdf.mx:669: error: large integer implicitly truncated to unsigned type /export/scratch0/monet/monet.GNU.32.32.d.1.25058/MonetDB5/src/modules/mal/rdf.mx: In function 'rdf_datetime_fromString': /export/scratch0/monet/monet.GNU.32.32.d.1.25058/MonetDB5/src/modules/mal/rdf.mx:683: error: large integer implicitly truncated to unsigned type ---------------------------------------------------------------------- >Comment By: Stefan Manegold (stmane) Date: 2008-07-25 09:12 Message: Logged In: YES user_id=572415 Originator: YES Hints: Use of type "(unsigned) long" is not reccommended as it is not well portable: On Unix the size (usually) follows the system architecture (32-bit on 32-bit systems; 64-bit on 64-bit systems) while on Windows it is fix to either 32-bit or 64-bit (I don't recall which one right now) regardless of the system architecture. Instead use type - "(unsigned) int" if you know that 32-bit is big enough; - "(unsigned) long long" (or better: "lng" (signed) with MonetDB) if you need 64-bit (though "long long" is not that portable either; might be called "__int64" on some systems); - "(s)size_t" if you need a type that follows the system architecture, i.e. 32-bit on 32-bit systems 64-bit on 64-bit systems. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2027508&group_id=56967 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Monetdb-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/monetdb-bugs
