Wierd compile problem

awsdert gb2985@gmail.com
Thu Nov 14 18:51:00 GMT 2013


Thank you, unfortunately it does not solve the problem I originally posted
which is:

>include\zx\window\..\std\vector\dec_fun.h|19|note: #pragma message:
ZX__INIT( zxVECTOR, void, __attribute__((dllexport)), )|

 is the output I get,

include\zx\window\..\std\vector\dec_fun.h|19|note: #pragma message:
ZX__INIT( zxVECTOR, void, __attribute__((dllexport)), zxVECTOR__init)|

 is the output I expect,

#define ZXV___INIT(     NAME, T, DLL, FUN  ) DLL void \
  FUN( NAME *src, T const *cpy, size_t count )
#define ZXV__INIT(      NAME, T, DLL, CALL ) \
  ZXV___INIT( NAME, T, DLL, CALL NAME##__init )

 is the code I'm using.
Am I doing something wrong here or is GCC? In MSC this comes out as expected
but in GCC  I get a bunch of missing functions due the problem.  



--
View this message in context: http://gcc.1065356.n5.nabble.com/Wierd-compile-problem-tp985245p985280.html
Sent from the gcc - Help mailing list archive at Nabble.com.



More information about the Gcc-help mailing list