This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: functional cast
- To: nathan at cs dot bris dot ac dot uk, nathan at acm dot org
- Subject: Re: C++ PATCH: functional cast
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Fri, 17 Sep 1999 08:23:07 -0700
- Cc: egcs-patches at egcs dot cygnus dot com
- Organization: CodeSourcery, LLC
- References: <37E200E9.2625E7C@acm.org>
>>>>> "Nathan" == Nathan Sidwell <nathan@acm.org> writes:
Nathan> Hi, attached is a patch to parse.y dealing with the `const
Nathan> (3)' extension to functional style cast. We accept that
Nathan> under the implicit int rule, but currently do not issue a
Nathan> diagnostic. This patch uses groktypename so it goes
I think we should just not accept that. It's time for implicit int to
go. But, Jason may feel differently.
Nathan> NB. The comma expression extension in `int (x,y)' is
Nathan> undocumented -- can we remove it?
I'd be happy to. Ask Jason.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com