On Tue, 25 Nov 2003, Andreas Schweitzer wrote:
Hi
I suppose you're getting tired of hearing about my ancient Redhat system, but my gcc doesn't believe in -Wno-unused-parameters, preferning
Same on FreeBSD which also still uses 2.95. I think there are lots of systems that still use gcc2.95
If you add a simple way to test whether gcc accepts the warning option, in configure.in, it'd be ok.
Attached is a patch wich does just that. However, it assumes that the -Wno-unused-parameters appeared with version 3 of gcc. A quick google search seems to confirm that this option was introduced with gcc 3.0 - can anybody with gcc 3.0 confirm that ?
The patch also fixes some problems with detection of /usr/local in the default path.
This patch works on a FreeBSD 4.8 system (gcc 2.95) and a Suse 8.2 system (gcc3.2).
Commited. Does it work for you David? Cheers Jorge.-