Subject: gcc-ansi -pedantic and long long on NetBSD
To: None <>
From: Matthieu Herrb <>
List: current-users
Date: 10/30/1994 12:32:09

I've noticed that 'gcc -ansi -pedantic' generates a warning on 'long
long' (used in several includes files, including stdio.h).

The XFree86 Developpement Team is trying to get XFree86 compile
without warnings with these options. So what is the good solution ?

1. Fix gcc so the -pedantic doesn't choke on long long anymore (I
   suppose that some ANSI version of C will support 64bit ints)
2. Fix the NetBSD headers so that they only use strict ansi types when
   -pedantic is used
3. Give up the idea of using -pedantic in XFree86 (It may be hard if
   NetBSD is the only OS with this problem).

Any thoughts are welcome.