This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Fwd: Re: wrong C++ error ?
- To: jochen at bacchus dot pc1 dot uni-duesseldorf dot de
- Subject: Re: Fwd: Re: wrong C++ error ?
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 28 May 1999 15:14:19 -0300
- Cc: egcs-bugs at egcs dot cygnus dot com
- References: <99052816101102.28982@bacchus.pc1.uni-duesseldorf.de>
On May 28, 1999, Jochen Kuepper <jochen@uni-duesseldorf.de> wrote:
> gives the following error message:
> passing `const char *' as argument 1 of
> `KProcess::writeStdin(char *,int)' discards qualifiers
> To my mind this has to be a warning, not an error message.
Nope, it's a real error, but you can probably disable it with
-fpermissive, or by properly const_cast<>ing the argument.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists