This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: New experimental package: gcc4-4.3.0-1


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/


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