Skip site navigation (1)Skip section navigation (2)
Date:      29 Jul 2002 10:25:08 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        obrien@FreeBSD.org
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/fetch Makefile
Message-ID:  <xzpsn23hrff.fsf@flood.ping.uio.no>
In-Reply-To: <20020729030411.GD86944@dragon.nuxi.com>
References:  <200207282109.g6SL9vOC093446@freefall.freebsd.org> <xzpit2zk13f.fsf@flood.ping.uio.no> <20020729030411.GD86944@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"David O'Brien" <obrien@FreeBSD.org> writes:
> On Sun, Jul 28, 2002 at 11:13:23PM +0200, Dag-Erling Smorgrav wrote:
> > Could someone please fix WARNS level 6 so it doesn't produce bogus C89
> > compliance warnings?
> Please be specific what warning it is you are getting that you feel is
> not correct.

Any warning at all caused by code which is valid C99 but not valid C89
is IMHO incorrect.

des@des /usr/src/usr.bin/fetch% make WARNS=6
cc -O -pipe -march=k6  -g -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wuninitialized -ansi -pedantic -Wbad-function-cast -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls  -c /usr/src/usr.bin/fetch/fetch.c
cc1: warnings being treated as errors
/usr/src/usr.bin/fetch/fetch.c: In function `stat_display':
/usr/src/usr.bin/fetch/fetch.c:146: warning: ISO C89 does not support `long long'
/usr/src/usr.bin/fetch/fetch.c:146: warning: ISO C89 does not support the `ll' printf length modifier
/usr/src/usr.bin/fetch/fetch.c:148: warning: ISO C89 does not support `long long'
/usr/src/usr.bin/fetch/fetch.c:149: warning: ISO C89 does not support the `ll' printf length modifier
/usr/src/usr.bin/fetch/fetch.c: In function `stat_end':
/usr/src/usr.bin/fetch/fetch.c:197: warning: ISO C89 does not support `long long'
/usr/src/usr.bin/fetch/fetch.c:197: warning: ISO C89 does not support the `ll' printf length modifier
/usr/src/usr.bin/fetch/fetch.c: In function `fetch':
/usr/src/usr.bin/fetch/fetch.c:336: warning: ISO C89 does not support `long long'
/usr/src/usr.bin/fetch/fetch.c:336: warning: ISO C89 does not support the `ll' printf length modifier
/usr/src/usr.bin/fetch/fetch.c:376: warning: ISO C89 does not support `long long'
/usr/src/usr.bin/fetch/fetch.c:376: warning: ISO C89 does not support `long long'
/usr/src/usr.bin/fetch/fetch.c:376: warning: ISO C89 does not support the `ll' printf length modifier
/usr/src/usr.bin/fetch/fetch.c:376: warning: ISO C89 does not support the `ll' printf length modifier
/usr/src/usr.bin/fetch/fetch.c:395: warning: ISO C89 does not support `long long'
/usr/src/usr.bin/fetch/fetch.c:395: warning: ISO C89 does not support the `ll' printf length modifier
/usr/src/usr.bin/fetch/fetch.c:398: warning: ISO C89 does not support `long long'
/usr/src/usr.bin/fetch/fetch.c:398: warning: ISO C89 does not support the `ll' printf length modifier
/usr/src/usr.bin/fetch/fetch.c:424: warning: ISO C89 does not support `long long'
/usr/src/usr.bin/fetch/fetch.c:424: warning: ISO C89 does not support `long long'
/usr/src/usr.bin/fetch/fetch.c:424: warning: ISO C89 does not support the `ll' printf length modifier
/usr/src/usr.bin/fetch/fetch.c:424: warning: ISO C89 does not support the `ll' printf length modifier
/usr/src/usr.bin/fetch/fetch.c:577: warning: ISO C89 does not support `long long'
/usr/src/usr.bin/fetch/fetch.c:577: warning: ISO C89 does not support `long long'
/usr/src/usr.bin/fetch/fetch.c:577: warning: ISO C89 does not support the `ll' printf length modifier
/usr/src/usr.bin/fetch/fetch.c:577: warning: ISO C89 does not support the `ll' printf length modifier
*** Error code 1

Stop in /usr/src/usr.bin/fetch.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpsn23hrff.fsf>