GCC-3.0, class DLLIMPORT foo, and ld --enable-auto-import.

Danny Smith danny_r_smith_2001@yahoo.co.nz
Thu Aug 2 16:23:00 GMT 2001


Hello
 
The use of Paul S auto-import feature allows dllimports of C++ classes
with GCC-3.0.  The "class __attribute__((dllimport)) foo" construct
causes g++ parser error in Gcc-3.0.  With auto-import the attribute may
no longer necessary (time will tell). See attached example, modified
from dllhelpers, which builds and runs with GCC-3.0 and ld
--auto-import. 

The build is  slow and produces large executables but that is due I
think to the use of templated iostreams.  

Danny


_____________________________________________________________________________
http://messenger.yahoo.com.au - Yahoo! Messenger
- Voice chat, mail alerts, stock quotes and favourite news and lots more!



More information about the Cygwin-apps mailing list