[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi] xanadu/remove-ISOC99_SOURCE-def
From: |
Greg Chicares |
Subject: |
[lmi] xanadu/remove-ISOC99_SOURCE-def |
Date: |
Sun, 22 May 2022 15:45:30 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 |
I haven't applied this:
-// This selects a correct snprintf() for MinGW-w64.
-
-#if defined __GNUC__
-# if !defined _ISOC99_SOURCE
-# define _ISOC99_SOURCE
-# endif // !defined _ISOC99_SOURCE
-#endif // defined __GNUC__
because, for the historical libmingwex at least,
some macro such as _ISOC99_SOURCE was required to
override a defective msvcrt snprintf(). IIRC, some
other macros served the same purpose; this one
seemed the least objectionable.
Do you know for sure that the MinGW-w64 project
has made that replacement unconditional?
- [lmi] xanadu/remove-ISOC99_SOURCE-def,
Greg Chicares <=
- Re: [lmi] xanadu/remove-ISOC99_SOURCE-def, Vadim Zeitlin, 2022/05/22
- Re: [lmi] xanadu/remove-ISOC99_SOURCE-def, Greg Chicares, 2022/05/22
- Re: [lmi] xanadu/remove-ISOC99_SOURCE-def, Vadim Zeitlin, 2022/05/22
- Re: [lmi] xanadu/remove-ISOC99_SOURCE-def, Greg Chicares, 2022/05/22
- Re: [lmi] xanadu/remove-ISOC99_SOURCE-def, Vadim Zeitlin, 2022/05/23
- Re: [lmi] xanadu/remove-ISOC99_SOURCE-def, Greg Chicares, 2022/05/23
- Re: [lmi] clang-tidy checks (was: xanadu/remove-ISOC99_SOURCE-def), Vadim Zeitlin, 2022/05/23
- Re: [lmi] xanadu/remove-ISOC99_SOURCE-def, Greg Chicares, 2022/05/24