This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Fwd: Re: wrong C++ error ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]