Citeren Charles Lepple <[email protected]>:

In /usr/include/stdio.h, the snprintf declaration is surrounded by:

#if defined __USE_BSD || defined __USE_ISOC99 || defined __USE_UNIX98
__BEGIN_NAMESPACE_C99

I don't see a similar error on the Ubuntu 8.04 builder, which is
running this version:

It would be interesting to see what is surrounding the strptime declaration (which supposedly is in time.h) that is preventing it from being used when we don't define _XOPEN_SOURCE. I did Google for answers on this one, but I couldn't find any conclusive answer.

The library seems to have this function (we see no linking errors, with _XOPEN_SOURCE defined or not), so this might need some autoconf magic to make this compile without warnings.

Best regards, Arjen
--
Please keep list traffic on the list


_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev

Reply via email to