The correct solution to this is clearly not to use the -pedantic flag. As the manual says: There is no reason to use this option; it exists only to satisfy pedants. Surely it can't be hard to make XFree86 use different compiler flags for different operating systems? -- Richard