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 XPG4 1 #define _ISOC99_SOURCE #define _OPEN_SYS_SOCK_IPV6 #define _OPEN_SYS_SOCK_EXT #define _OPEN_SYS_SOCK_IPV6 #define _LARGE_TIME_API Not sure if _LARGE_TIME_API is in there twice for a reason or not. Doesn't hurt. Charles On Sun, 2 Jul 2023 20:38:35 -0500, Eric Erickson <esf...@windstream.net> wrote: >I'm a bit perplexed here. > >I'm using XL C and the strcasecmp function. I've included <strings.h> 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 <strings.h> > >CCN4421 ... Implicit function declaration for function "strcasecmp". > >Don't understand why? I know its just a nit warning, but I like to resolve as >many of these as possible just to get the compiles as clean as possible. > >---------------------------------------------------------------------- >For IBM-MAIN subscribe / signoff / archive access instructions, >send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN