fatal error if KDE compiles with hidden visibility but Q_DECL_EXPORT is defined to nothing

Andreas Pakulat apaku at gmx.de
Thu Jun 21 15:58:45 CEST 2007


On 21.06.07 15:41:21, Thiago Macieira wrote:
> 
> Christian Ehrlicher said:
> >> and while this works on Win32, it breaks on linux because Q_DECL_EXPORT
> >> doesn't evaluate to default-visibility (don't know the gcc command for
> >> that) but to nothing. At least on a "default-built" qt-copy.
> >>
> > It's not the fault of Q_DECL_EXPORT but Q_DECL_IMPORT which is defined to
> > nothing on linux.

Right, I confused the two.

> That's not a problem on ELF/x86, but I do wonder how it compiles at all
> under 64-bit.

Oh, cool, then my process must have upgraded itself. Because AFAIK I
have a standard x86 Pentium Centrino in my notebook and as soon as
PHONON_EXPORT == Q_DECL_IMPORT phonon fails to build with undefined
symbols.

Andreas

-- 
Hope that the day after you die is a nice day.


More information about the Kde-buildsystem mailing list