🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6151

Feature request...

#6151
From: Peter Seebach
Date: Mon, 18 Nov 1996 00:00
13 lines
991 bytes
Could we have a -Wsomething flag which says *how* prototypes conflict?
Given something like
	int strncmp	Params((CONST char *s1, CONST char *s2, __SIZE_TYPE__));
it can take a fair amount of searching to see whether or not it's right, or
whether the other one (similarly obfuscated) is right; it might be nice
to have a flag to say
	conflicting prototype; arg 1 redeclared as 'const char *' from 'char *'

(not by default, perhaps, but useful trying to fight with programs
which predate libraries which give prototypes.)

-s
Technical Details
Message-ID: <9611182031.AA02066@moose.intran.xerox.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,53803f9a9dae9709,start
X-Google-Attributes: gid113d02,public
From: seebs@intran.xerox.com (Peter Seebach)
Subject: Feature request...
Date: 1996/11/18
Message-ID: <9611182031.AA02066@moose.intran.xerox.com>
X-Deja-AN: 197276529
sender: bug-gcc-request@prep.ai.mit.edu
x-gateway: relay2.UU.NET from bug-gcc to gnu.gcc.bug; Mon, 18 Nov 1996 15:28:58 EST
newsgroups: gnu.gcc.bug