This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: typedef vs. typename confusion
- To: Joe Buck <jbuck at synopsys dot com>
- Subject: Re: typedef vs. typename confusion
- From: Jason Merrill <jason at cygnus dot com>
- Date: 03 Sep 1998 02:33:41 -0700
- Cc: nyap at garban dot com, egcs at cygnus dot com
- References: <199808062100.OAA02188@atrus.synopsys.com>
>>>>> Joe Buck <jbuck@Synopsys.COM> writes:
>> > Guess what g++ does? It allows use of non-declared functions, assuming
>> > int, and gives a warning. I think that it is time for this to go away,
>> > because it is now more trouble than it's worth
>>
>> How so? There are still C libraries that people want to use with sloppy
>> declarations in the headers. I don't think this particular extension is
>> problematic.
> Pardon me for being blunt, but it most certainly is a huge pain in the ass.
> It's my #1 annoyance at using g++. I am affected by this problem almost
> every day.
I've altered -fstrict-prototypes to suppress implicit declarations as well.
Jason