This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: New experimental package: gcc4-4.3.0-1
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 11 Sep 2008 01:28:24 -0400
- Subject: Re: New experimental package: gcc4-4.3.0-1
- References: <001001c91336$91e70d10$9601a8c0@CAM.ARTIMI.COM> <48C86CB3.8090909@byu.net>
- Reply-to: cygwin at cygwin dot com
This is slightly off-topic but I just built a cross-compiler using the
sources from this package. Either it is mishandling the
dllimport/dllexport variable keywords or I'm misunderstanding something:
strsig.cc:60: warning: 'sys_sigabbrev' redeclared without dllimport attribute: previous dllimport ignored
include/cygwin/signal.h:extern const char __declspec(dllimport) *sys_sigabbrev[]
strsig.cc:const char __declspec(dllexport) * sys_sigabbrev[]
I thought that was the above was the way it was supposed to work.
I haven't tried this with the actual released compiler yet but, assuming
it works the same way, mm I wrong or is there something wrong with this
compiler? The code it creates seems to be correct (and Cygwin is
noticeably smaller) but I'd like to get rid of all of the new warnings.
I can't get rid of this one because I don't see how to do that.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/