Re: [q-lang-users] Re: modules in c++
Brought to you by:
agraef
From: Albert G. <Dr....@t-...> - 2005-10-13 09:16:51
|
Hi Brian, I'm about to commit your suggested patch to cvs now. Just to make sure: Which version of mingw/g++ did you use? 2.95.x? 3.x? Brian Wilfley wrote: > Here's what I've figured out: > > 1) The quoted errors can be "fixed" with the following patch to libq.h: > ----------------- patch.libq.h ---------------------- > *** libq.1.6.h Wed Oct 20 01:09:42 2004 > --- libq.h Fri Aug 26 15:38:04 2005 > *************** > *** 127,135 **** > --- 127,141 ---- > > /* Predefined function and type symbols. */ > > + #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 > > /* Expression construction. */ -- 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 |