This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: Question
Gerard Jungman writes:
> Unfortunately, some compilers are truly brain-damaged and
> will claim that the prototypes do not match if you remove
> that 'const' from the declaration. As I recall, there was
> a complaint to this effect several years ago; I think it
> was an HP compiler.
That's right.. I think their man page claimed that functions with
const arguments could be compiled with a different calling convention,
and so the prototypes had to match.
--
Brian Gough