This is the mail archive of the gcc@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]

Not a direct bug


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


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