Subject: Re: gcc-ansi -pedantic and long long on NetBSD
To: None <>
From: Mike Long <>
List: current-users
Date: 11/02/1994 09:07:34
>Date: Tue, 1 Nov 1994 16:03:22 -0500 (EST)
>From: "T. William Wells" <>
>> -Wall does that. -pedantic just makes
>> sure you aren't using any constructs (like long long) that aren't
>> ANSI.
>I know that. The *point* is to not use such constructs as long
>long. No doubt you haven't a clue why that is important....

GCC 2.4.5 has the __extension__ keyword for these situations.  It
could be inserted before the quad_t typedefs in <sys/types.h>, and
then -pedantic shouldn't choke on them anymore.

If __extension__ is used, then the fact that the quad_t types are long
longs can be hidden in the <sys/types.h> header, and as far as XFree86
is concerned the header would be pure ANSI.  No changes to GCC or
XFree86 would be required.
Mike Long                               
VLSI Design Engineer                  (PGP 2.6.1 public key available)
Analog Devices, CPD Division
Norwood, MA 02062 USA                assert(*this!=opinionof(Analog));