Mail Archives: cygwin-developers/2000/03/18/19:51:40
On Sat, Mar 18, 2000 at 01:34:22PM -0600, Mumit Khan wrote:
>John Fortin <fortinj AT attglobal DOT net> writes:
>> Chris Faylor wrote:
>> >
>> > On Sat, Mar 18, 2000 at 10:14:59AM -0500, John Fortin wrote:
>> > >When I compile cygwin from the cvs extract, times.cc gets the following:
>> > >
>> > >
>> > >gcc -c -g -O2 -o ./times.o times.cc
>> > >/e/src/winsup/cygwin/times.cc:20: warning: inconsistent dll linkage for
>> > >`time_t
>> > >_timezone'. dllexport assumed.
>> > >/e/src/winsup/cygwin/times.cc:21: warning: inconsistent dll linkage for
>> > >`int _da
>> > >ylight'. dllexport assumed.
>>
>> I'm using (I think ?) the newlib from CVS which was created when I did
>> 'cvs get winsup'.
>> Is this the correct version?
>
>This happens due to dllimport/export override rules, and typically
>results in the correct behaviour (as is the case with Cygwin DLL).
>The warning is there only to make sure developers know what's happening
>internally, and I added it since VC++ does the same.
I know why it happens. I don't know why it is happening to John, though.
Have you looked at the code? If there is something wrong that is resulting
in a warning, then a patch would be appreciated.
cgf
- Raw text -