valgrind suppression: add some more cases to be filtered

This commit is contained in:
Fischlurch 2010-02-13 06:00:38 +01:00
parent b41bd20de4
commit dc991ca563
3 changed files with 17 additions and 6 deletions

View file

@ -31,13 +31,12 @@ namespace lumiera {
initialise_NoBug ()
{
NOBUG_INIT;
////////////////////////////////////////////////////////////////////////TODO: a better way to detect Alpha/beta builds
#ifdef DEBUG
#ifdef NOBUG_MODE_ALPHA
static uint callCount = 0;
ASSERT ( 0 == callCount++ );
#endif
}
}

View file

@ -116,7 +116,7 @@ namespace lib {
}
public:
ClassLock(...) : Lock (getPerClassMonitor()) {}
ClassLock() : Lock (getPerClassMonitor()) { }
uint use_count() { return nifty::Holder<PerClassMonitor>::accessed_; }
};

View file

@ -24,6 +24,12 @@
*/
#include "lib/safeclib.h"
#include <stdint.h>
struct lumiera_errorcontext_struct;
struct lumiera_errorcontext_struct*
lumiera_error_get (void);
int
@ -33,5 +39,11 @@ main ()
lumiera_tmpbuf_provide (100);
lumiera_tmpbuf_freeall ();
/* tempbufs aren't freed by design */
lumiera_tmpbuf_snprintf (SIZE_MAX, "everyone loves c-strings");
/* lumiera_error_get() mallocs a LumieraErrorcontext for each thread */
lumiera_error_get();
return 0;
}