[tz] iana build failures on Windows

Manuela Friedrich Manuela.Friedrich at actian.com
Tue Nov 1 09:04:29 UTC 2022

Hello Paul,

Your patch works fine. Thank you!
Can you release a new version with this fix since the 2022f release contains the problematic code and fails to build on Windows?
Thank you!

Manuela Friedrich

-----Original Message-----
From: Paul Eggert <eggert at cs.ucla.edu> 
Sent: Samstag, 29. Oktober 2022 04:34
To: Manuela Friedrich <Manuela.Friedrich at actian.com>
Cc: Steven Shuriff <Steven.Shuriff at actian.com>; Time zone mailing list <tz at iana.org>
Subject: Re: iana build failures on Windows

After some more searching on the net, I found this page quoting a 30-year-old Microsoft Programmers Library manual:


It says, for fatal error message U1002, that "To use a dollar sign in the file, type it twice ($$) or precede it with a caret (^)." The "caret" part contradicts POSIX but sounds like the problem you ran into.

The tzdb Makefile has three other instances of "^$" but they're all followed by "s" and I guess nmake doesn't mind that, though it misinterprets the definitions in question. Since you're not running the checks (which are the only rules using those other instances) we won't worry about them.

Does the attached patch work around the nmake bug? If so, it may be better than my previous suggestions.

More information about the tz mailing list