This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]