Mailing List Archive

compiler warnings ?
Is it possible to get auto* to set a bunch of compiler flags so
that we get warnings that correspond to WARNS=5 in FreeBSD ?

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
compiler warnings ? [ In reply to ]
Is it possible to get auto* to set a bunch of compiler flags so
that we get warnings that correspond to WARNS=5 in FreeBSD ?

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
compiler warnings ? [ In reply to ]
"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
> Is it possible to get auto* to set a bunch of compiler flags so
> that we get warnings that correspond to WARNS=5 in FreeBSD ?

./configure --enable-pedantic --enable-wall --enable-werror --enable-dependency-tracking

will go some way towards that.

DES
--
Dag-Erling Sm?rgrav
Senior Software Developer
Linpro AS - www.linpro.no
compiler warnings ? [ In reply to ]
"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
> Is it possible to get auto* to set a bunch of compiler flags so
> that we get warnings that correspond to WARNS=5 in FreeBSD ?

./configure --enable-pedantic --enable-wall --enable-werror --enable-dependency-tracking

will go some way towards that.

DES
--
Dag-Erling Sm?rgrav
Senior Software Developer
Linpro AS - www.linpro.no