From: <ta...@us...> - 2009-09-30 20:50:27
|
Revision: 11319 http://x10.svn.sourceforge.net/x10/?rev=11319&view=rev Author: tardieu Date: 2009-09-30 20:50:14 +0000 (Wed, 30 Sep 2009) Log Message: ----------- fixed warning when compiling without GC Modified Paths: -------------- trunk/x10.runtime/src-cpp/x10aux/alloc.h Modified: trunk/x10.runtime/src-cpp/x10aux/alloc.h =================================================================== --- trunk/x10.runtime/src-cpp/x10aux/alloc.h 2009-09-30 19:25:38 UTC (rev 11318) +++ trunk/x10.runtime/src-cpp/x10aux/alloc.h 2009-09-30 20:50:14 UTC (rev 11319) @@ -39,7 +39,9 @@ void throwOOME() X10_PRAGMA_NORETURN; +#ifdef X10_USE_BDWGC static bool gc_init_done = false; +#endif template<class T> T* alloc(size_t size = sizeof(T)) { _M_("Allocating " << size << " bytes of type " << TYPENAME(T)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |