I'm a bit perplexed here.
I'm using XL C and the strcasecmp function. I've included and added
the #define for _XOPEN_SOURCE_EXTENDED as documented in the library
reference, as shown below. But I still get a warning message for it.
#define _XOPEN_SOURCE_EXTENDED 1
#include
CCN4421 ... I
Not sure what is relevant to your situation and what is not, but FWIW (for C++)
I use the following and get no messages on strcasecmp().
#define _LARGE_TIME_API
#define _OPEN_SYS_UNLOCKED_EXT 1
#define _POSIX_SOURCE
#define _XOPEN_SOURCE_EXTENDED 1
#define
|"#define _XOPEN_SOURCE_EXTENDED 1" needs to b at the top of the source
file and work work if interleaved. I would define all compiler flags in
the build and not as pre-processor #define declarations.|
On 3/7/2023 9:38 am, Eric Erickson wrote:
I'm a bit perplexed here.
I'm using XL C and the
The #define of _POSIX_SOURCE fixed it. Darn documentation!
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN