emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Windows 64 port


From: Eli Zaretskii
Subject: Re: Windows 64 port
Date: Thu, 01 Mar 2012 19:45:28 +0200

> Date: Thu, 01 Mar 2012 00:58:02 -0800
> From: Paul Eggert <address@hidden>
> CC: Eli Zaretskii <address@hidden>, address@hidden, 
>  address@hidden
> 
> On 02/29/2012 11:24 PM, Fabrice Popineau wrote:
> 
> >     For example, src/s/ms-w32.h can do something like this:
> > 
> >       /* Include <time.h> before defining tzname, to avoid DLL clash.  */
> >       #include <time.h>
> >       #define tzname _tzname
> > 
> >     This should avoid the diagnostic, since tzname isn't defined until
> >     after <time.h> is included.
> 
> > What you propose didn't work (resulting in either : some function
> > returns an array, that is tzname, or _tzname being undefined at link
> > time).
> 
> Sorry, I don't follow.  What exactly happens when you try the above
> suggestion, and why?  And what does this have to do with functions
> returning arrays?

The declaration of tzname on Windows is essentially (dropping some
decorations that just obfuscate the essence)

   char     *_tzname[2];

Anyway, there's no need for you to waste your time on this particular
issue.  I understand the issue very well, and will handle it, time
permitting.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]