This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-19981122 fails to compile xpdf-0.80 on Solaris 2.6 x86
- To: Bernard Michaud <bmichaud at excom dot com>
- Subject: Re: egcs-19981122 fails to compile xpdf-0.80 on Solaris 2.6 x86
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 30 Nov 1998 14:21:13 -0200
- Cc: egcs-bugs at cygnus dot com
- References: <4.1.19981130061118.00a2f220@mail.magma.ca>
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