[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

gcc -pedantic && -std=c89 or -std=c99

From: Erik Huelsmann <e.huelsmann_at_gmx.net>
Date: 2004-09-23 10:45:15 CEST

Just for the record and as a follow up to removing the -std=c89 flag from
maintainer-mode compiles, I compiled trunk@11090 with '-pedantic' without
any -std= flags, with -std=c89 and with -std=c99. Tests were conducted with
gcc 3.2.2.

The results are as follows

-pedantic without -std= must be equal to -std=c89
-pedantic with -std=c89 screens full of warnings in APR headers
-pedantic with -std=c99 a few errors in both APR and Subversion

None of the above switches warns about the 'declaration in middle of
function' warning gcc 2.95 warns about after applying the sec fixes as
reported after the RC4 release for 1.1.0.

bye,

Erik.

-- 
+++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++
Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 23 10:45:35 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.