| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| Sender: | cygwin-apps-owner AT sourceware DOT cygnus DOT com |
| List-Subscribe: | <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin-apps/> |
| List-Post: | <mailto:cygwin-apps AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs> |
| Delivered-To: | mailing list cygwin-apps AT sources DOT redhat DOT com |
| Message-ID: | <20010802232354.69230.qmail@web14502.mail.yahoo.com> |
| Date: | Fri, 3 Aug 2001 09:23:54 +1000 (EST) |
| From: | =?iso-8859-1?q?Danny=20Smith?= <danny_r_smith_2001 AT yahoo DOT co DOT nz> |
| Subject: | GCC-3.0, class DLLIMPORT foo, and ld --enable-auto-import. |
| To: | cygwin-apps <cygwin-apps AT cygwin DOT com>, |
| mingw-dvlpr <mingw-dvlpr AT lists DOT sourceforge DOT net> | |
| MIME-Version: | 1.0 |
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!
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |