egcs-19981122 fails to compile xpdf-0.80 on Solaris 2.6 x86
Alexandre Oliva
oliva@dcc.unicamp.br
Mon Nov 30 11:48:00 GMT 1998
On Nov 30, 1998, Bernard Michaud <bmichaud@excom.com> wrote:
> This was the attempt to compile xpdf-0.80 using egcs-19981122 on a dual
> Pentium Pro running Solaris 2.6 x86:
> LTKButtonDialog.cc:97: passing `const char *' as argument 3 of
> `LTKButton::LTKButton(char *, int, char *, LTKButtonAction, void
> (*)(LTKWidget *, int, int))' discards qualifiers
> LTKButtonDialog.cc:101: passing `const char *' as argument 3 of
> `LTKButton::LTKButton(char *, int, char *, LTKButtonAction, void
> (*)(LTKWidget *, int, int))' discards qualifiers
Well, based on the error message you posted without the corresponding
source code, I can only agree with egcs. You can't pass a `const
char*' where a `char*' is expected. xpdf seems to be in error.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil
More information about the Gcc-bugs
mailing list