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: Failure in building GFortran on Cygwin


Corinna Vinschen wrote:

> Unfortunately it doesn't work for variables.  We can hide the timezone
> function, but how do we alias timezone to _timezone in libcygwin.a?

Why does the variable need to be renamed?  Can't we continue to call it
_timezone internally and then "#define timezone _timezone" in a public
header?  It looks like this is already what we get in <cygwin/time.h> if
we simply stop defining __timezonefunc__.

Or is pulluting the namespace with a macro called "timezone" too
hideous?  In that case we could try declaring it "extern long timezone
asm("_timezone");" in the header.

Brian

--
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]