What happened to it??
when I try to compile my code that uses it, I get the following:

error: identifier "strptime" is undefined

This is with the Intel C++ compiler for Linux, on a RedHat 9 box.


3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

I should add that this code works fine with gcc.

Found it ...
You need to define the macro _XOPEN_SOURCE
Found that in the man page... I gues the Gnu compiler does it by default.

Leave a Comment

Please sign in to add a comment. Not a member? Join today