Path for more accurate use libart2 with c++ applications

Borodin Oleg ziggi at yandex.ru
Tue Oct 30 09:31:50 PDT 2007


Good afternood, dear collegues!

Subj. Else - compilation break, "undefined reference art_malloc/art_free" (sample - libkdecore from kdelibs-3.5.*)


Borodin Oleg
Rusiia, Kaliningrad
ziggi at inbox.ru

-------------- next part --------------
--- ./art_misc.h.orig	Tue Jan  2 01:59:22 2007
+++ ./art_misc.h	Tue Oct 30 15:57:54 2007
@@ -34,9 +34,6 @@
 #include <libart_lgpl/art_config.h>
 #endif
 
-void *art_alloc(size_t size);
-void art_free(void *ptr);
-void *art_realloc(void *ptr, size_t size);
 
 /* These aren't, strictly speaking, configuration macros, but they're
    damn handy to have around, and may be worth playing with for
@@ -86,6 +83,11 @@
 
 void
 art_dprint (const char *fmt, ...) ART_GNUC_PRINTF (1, 2);
+
+void *art_alloc(size_t size);
+void art_free(void *ptr);
+void *art_realloc(void *ptr, size_t size);
+
 
 #ifdef __cplusplus
 }


More information about the freebsd-gnome mailing list