Jim Marshall <jim.marshall@xxxxxxxxxxxxxxxxx> writes: > Hello, > If this is the wrong mailing list, please direct me to the correct > one, thanks. > I am having a terrible time with something. I have a need to utilize > the wprintf series of functions (wide character). I was told in an > earlier request that i had to use the "-std=c99" switch in order for Try -std=gnu99 instead. > these functions to be available. However; I am now running into > problems with the "localtime_r" function. If I define the C99 switch I > get warnings on the localtime_r function (not being defined). I've > tried adding various -d symbols (-D__USE_POSIX etc...). Nothing > works. In fact some of the code we have written utilizes the > 'timezone' variable defined by libc (set by tzset), and with C99 > defined that variable is not available (without explicitly declaring > it as extern by us). > Ideally we need to utilize the wprintf functions and the localtime_r > function without getting any warnings. is this possible? > I can provide a simple test case if you need. That would be helpful.