]> www.ginac.de Git - cln.git/blobdiff - include/cln/lfloat.h
Force link-time references despite optimizations done by g++.
[cln.git] / include / cln / lfloat.h
index 033ed431108bb02a320984f0d498db8e182aafb0..440151bbffc490c39caf3e0db9555e5031f18872 100644 (file)
@@ -403,9 +403,7 @@ extern cl_class cl_class_lfloat;
 // Debugging support.
 #ifdef CL_DEBUG
 extern int cl_LF_debug_module;
-static void* const cl_LF_debug_dummy[] = { &cl_LF_debug_dummy,
-       &cl_LF_debug_module
-};
+CL_FORCE_LINK(cl_LF_debug_dummy, cl_LF_debug_module)
 #endif
 
 }  // namespace cln