allow to set default group
authorJens Thiele <jens.thiele@intra2net.com>
Tue, 21 Nov 2006 12:46:37 +0000 (12:46 +0000)
committerJens Thiele <jens.thiele@intra2net.com>
Tue, 21 Nov 2006 12:46:37 +0000 (12:46 +0000)
codegen/codegen-stubhead.hxx

index d21130f..5c330f3 100644 (file)
 #include <command.hxx>
 
 #ifdef __GCCXML__
-#define LIBT2N_SET_DEFAULTGROUP(x) namespace { typedef __attribute((gccxml(#x))) int libt2n_default; }
+#define LIBT2N_SET_DEFAULTGROUP(x) namespace { typedef __attribute((gccxml("libt2n-"#x))) int libt2n_default_group; }
+/* not allowed anymore
+#define LIBT2N_SET_DEFAULTGROUP(x) #define LIBT2N_EXPORT __attribute((gccxml("libt2n-"#x)))
+*/
 #define LIBT2N_EXPORT __attribute((gccxml("libt2n-default")))
 #define LIBT2N_EXPORT_GROUP(group) __attribute((gccxml("libt2n-"#group)))
 #else