Changeset: 099828ddca10 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=099828ddca10 Modified Files: gdk/gdk.h gdk/gdk_private.h Branch: Jan2014 Log Message:
Don't analyze debug code. Especially since it can cause messages from the analyzer. diffs (24 lines): diff --git a/gdk/gdk.h b/gdk/gdk.h --- a/gdk/gdk.h +++ b/gdk/gdk.h @@ -2277,7 +2277,7 @@ gdk_export void *GDKrealloc(void *pold, gdk_export void GDKfree(void *blk); gdk_export str GDKstrdup(const char *s); -#ifndef NDEBUG +#if !defined(NDEBUG) && !defined(__clang_analyzer__) /* In debugging mode, replace GDKmalloc and other functions with a * version that optionally prints calling information. * diff --git a/gdk/gdk_private.h b/gdk/gdk_private.h --- a/gdk/gdk_private.h +++ b/gdk/gdk_private.h @@ -170,7 +170,7 @@ extern MT_Lock MT_system_lock; #define SORTloop_bit(b,p,q,tl,th) SORTloop_bte(b,p,q,tl,th) -#ifndef NDEBUG +#if !defined(NDEBUG) && !defined(__clang_analyzer__) /* see comment in gdk.h */ #ifdef __GNUC__ #define GDKmallocmax(s,ps,e) \ _______________________________________________ checkin-list mailing list [email protected] https://www.monetdb.org/mailman/listinfo/checkin-list
