patches for Sun Forte 7/8 compilers
Stefan Teleman
steleman at nyc.rr.com
Mon Nov 3 22:12:29 GMT 2003
because in terms of the language standard, "extern C" linkage is
different than just simple free-standing C++ functions which,
although they are not member functions of anything -- therefore no
'this' pointer -- still acquire C++ linkage. Same goes for static
member functions -- strict compilers will at least issue a warning
about non "extern C" linkage, for the same reason.
--Stefan
----
On Monday 03 November 2003 17:01, Oswald Buddenhagen wrote:
> On Mon, Nov 03, 2003 at 10:41:45PM +0100, Michael Matz wrote:
> > > also, forte sometimes complains about
> > > using ::signal() and non "extern C" linkage of signal handlers.
> >
> > These are bugs which should be fixed in the source.
> >
> > signal handlers have to use "C" linkage.
>
> huh, why that? i thought anything that does not expect a 'this'
> would be ok?
>
> greetings
--
Stefan Teleman 'Nobody Expects the Spanish Inquisition'
steleman at nyc.rr.com -Monty Python
More information about the kde-core-devel
mailing list