On 2025-01-14 03:35 PM, Paul Eggert wrote:
On 2025-01-14 06:29, Brooks Harris via tz wrote:
I am currently using MSVC 6.0, circa 1999
OK, but I think Microsoft supports Visual Studio for only ten years
and support for MSVC 6.0 ended in 2008[1].
I'm painfully aware of that. Nonetheless I have it running fine on
Windows 11. Why? Because sometimes old stuff is better than new stuff,
and in many respects this is.
tzcode is intended for current use not computer museums, so typically
it shouldn't worry about old, unsupported developer tools.
That being said, you're in luck because there is at least one compiler
(default GCC on RHEL 7) that is still supported by its supplier and
that still doesn't have the C99 features tzcode code uses by default,
and because of this until at least July 2028 you should still be able
to compile tzcode by using the -DPORT_TO_C89 option, as described in
the Makefile and in private.h.
As I said, I'm not trying to do that. I've copied all of zic, zdump, and
portions of glibc so as to compile it all directly under MSVC 6.0 and
later Microsoft ide/compiiers such as VC 2019. Lots of work, but it
builds stable fast Windows executables in 32bit and 64bit.
So it sounds like we don't need to change tzcode because of this hiccup.
Probably true. I only sent the info if it helped resolve how you want to
go about it.
[1]:
https://learn.microsoft.com/en-us/previous-versions/visualstudio/visual-basic-6/visual-basic-6-support-policy
I'm not using Basic, strictly c/c++, but yes, the IDE is no longer
supported by them. But it still works good.
Thanks,
-Brooks