Re: [q-lang-users] Re: modules in c++
Brought to you by:
agraef
From: Albert G. <Dr....@t-...> - 2005-09-01 00:13:58
|
Brian Wilfley wrote: > + #ifdef __cplusplus > + __DLLIMPORT int truesym, falsesym, nilsym, voidsym; > + __DLLIMPORT int inttype, floattype, booltype, strtype, filetype, > + listtype, tupletype; > + #else > __DLLIMPORT const int truesym, falsesym, nilsym, voidsym; > __DLLIMPORT const int inttype, floattype, booltype, strtype, filetype, > listtype, tupletype; > + #endif Ok, thanks for the fix, I'll commit that asap. > The upshot is that _DLLIMPORT const... is not a happy thing in C++. This entire declspec magic on Windoze is a pita anyway, I wonder what the MS software engineers were smoking when they invented it. ;-) Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikwissenschaft.uni-mainz.de/~ag |