[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] compiler warnings
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] compiler warnings |
Date: |
Mon, 23 May 2005 22:32:16 +0200 (CEST) |
> > src/sfnt/sfdriver.c:322: warning: ISO C forbids conversion of
> > function pointer to object pointer type
> > src/sfnt/sfdriver.c:325: warning: ISO C forbids conversion of
> > function pointer to object pointer type
> >
> > Anybody an idea how to get rid of them? Just using `void' instead of
> > `void*' fails if a C++ compiler is used for compiling.
>
> See my other message.
Thanks. Will test and apply soon.
> You can quiet the C++ compiler by double casting, but AFAI tested,
> there's no way to have a generic function pointer with -pedantic on,
> and (void*) works otherwise. Are you doing -pedantic really?
Yes -- there are picky compilers which give compilation errors for
really harmless things.
Werner