This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cpplib and a couple others: squelch -pedantic warnings
- To: ghazi at caip dot rutgers dot edu
- Subject: Re: cpplib and a couple others: squelch -pedantic warnings
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Thu, 04 May 2000 16:45:09 -0700
- Cc: gdr at codesourcery dot com, zack at wolery dot cumb dot org, gcc-patches at gcc dot gnu dot org, jason at cygnus dot com
- Organization: CodeSourcery, LLC
- References: <200005041858.OAA08134@caip.rutgers.edu>
>>>>> "Kaveh" == Kaveh R Ghazi <ghazi@caip.rutgers.edu> writes:
Kaveh> How about providing a cfree() function which does the
Kaveh> following:
I think that's a dangerous subversion of the type system. Then,
`cfree ("abc")' will compile, which is dangerous.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com