[Patches] warning in timemodule.c

Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Sun, 28 May 2000 13:11:59 +0200


Peter Schneider-Kamp <petersc@stud.ntnu.no> wrote:
> The problem is that strptime returns an integer on my platform
> (linux 2.2.13, glibc 2.1xx).

afaik, X/Open and SUSv2 says char*

I don't have a linux box within reach right now, but you could
try forcing X/Open compatibility by inserting

    #define _XOPEN_SOURCE

at the top of the file (before any #include's, at least).

</F>