Re: MonetDB: Oct2010 - avoid (disguise) self-comparison to fix compi...

2010-12-07 Thread Sjoerd Mullender
On 2010-12-07 21:54, Stefan Manegold wrote: > Hm, good idea, but unfortunately GDK_FAIl & GDK_SUCCESS are enums, not > macros, hence, I guess the C preporcessor does not know them, does it? > > MonetDB/src/gdk/gdk.mx:642:typedef enum { GDK_FAIL, GDK_SUCCEED } gdk_return; Hmm. You're right. > St

Re: MonetDB: Oct2010 - avoid (disguise) self-comparison to fix compi...

2010-12-07 Thread Stefan Manegold
Hm, good idea, but unfortunately GDK_FAIl & GDK_SUCCESS are enums, not macros, hence, I guess the C preporcessor does not know them, does it? MonetDB/src/gdk/gdk.mx:642:typedef enum { GDK_FAIL, GDK_SUCCEED } gdk_return; Stefan On Tue, Dec 07, 2010 at 09:04:04PM +0100, Sjoerd Mullender wrote: > S

Re: MonetDB: Oct2010 - avoid (disguise) self-comparison to fix compi...

2010-12-07 Thread Sjoerd Mullender
Since all uses of ll_return seem to use constants, this could be handled by the C preprocessor. On 2010-12-07 19:42, Stefan Manegold wrote: > Changeset: b72768d848f0 for MonetDB > URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b72768d848f0 > Modified Files: > pathfinder/runtime/ll

MonetDB: Oct2010 - avoid (disguise) self-comparison to fix compi...

2010-12-07 Thread Stefan Manegold
Changeset: b72768d848f0 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b72768d848f0 Modified Files: pathfinder/runtime/ll_staircasejoin.mx Branch: Oct2010 Log Message: avoid (disguise) self-comparison to fix compilation with clang 2.8 on 64-bit Fedora 14: pathfinde