This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Not a direct bug
- To: gcc at gcc dot gnu dot org
- Subject: Not a direct bug
- From: Stelios Xanthakis <axanth at tee dot gr>
- Date: Fri, 05 Jan 2001 16:23:46 +0200
Hi guys,
I've been hacking like mad for 5 months to release a big program (lndbase-2.0)
It does not compile on many people's systems, complaining about
"qualifier discards const".
I have egcs-1.1.2 compiled from the source on my system.
My application compiled without even warnings.
I received feedback from people where a statement like:
Myputs ("Notify about something");
issues a qualifier discards const... converting char* to const char*.
And this is a fatal error for them.
A very embarrassing bug for me.
Would it be possible to explain what could distribution people have done
to their compiler configuration to produce that error?
A way to fix it?
It is often difficult to be correct with all the "const" in function arguments
but I do not want that to produce a fatal error.
The program is C++
Thanks in advance
Stelios Xanthakis