Re: Long long int's and sprintf

From: Peter Ajamian (peter@pajamian.dhs.org)
Date: 06/17/01


George Greer wrote:
>
> On Sun, 17 Jun 2001, Mike Stilson wrote:
>
> >2: be very careful when/where you define (check stdlib.h for specifics)
> >   __USE_ISOC9X
>
> You're supposed to use _ISOC99_SOURCE.  See /usr/include/features.h for
> information.

Ahhh, that would explain why stdio.h was wiping it out.  Looking at
features.h more closely, it would appear that it's best to #define
_GNU_SOURCE as it looks like it will pretty much include all the
extensions (including C99) automatically.

Regards, Peter

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/05/01 PST