Alexey Petrenko wrote: > Does not standard way with if/define work here?
Should do, both files have the equivalent of #ifndef _Included_NativeImageFormat #define _Included_NativeImageFormat at the start. Nathan, can you post the actual compiler output? Regards, Tim > 13.05.2009, в 6:21, Nathan Beyer <[email protected]> написал(а): > >> While trying to compile the lcmms bit [1] of the awt module I'm >> getting several "ld: dupblicate symbol" errors from NativeCMM.o and >> NativeImageFormat.o on the 'jfield' variables defined in >> NativeImageFormat.h [2]. While looking at the header files, I noticed >> a circular include - NativeCMM.h includes NativeImageFormat.h and >> NativeImageFormat.h includes NativeCMM.h. >> >> Any thoughts on how to unwind this? >> >> -Nathan >> >> [1] >> http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/ >> >> [2] >> http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeImageFormat.h?annotate=476395 >> >> line 22-34 >
