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

Thiago Macieira thiago at kde.org
Thu Jun 21 18:08:12 CEST 2007


Matthias Kretz said:
> On Thursday 21 June 2007, Thiago Macieira wrote:
>> It's much easier and even probably better to define KDE_EXPORT as
>> Q_DECL_EXPORT (similarly for KDE_IMPORT).
>
> That will only move the link error to the first KDE lib that gets linked
> to a
> program - if we use our own check whether to use -fvisibility=hidden. So
> the
> error message is still needed.

I see. It's a matter of the command-line flag.

True, true.

Then the test is necessary.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358




More information about the Kde-buildsystem mailing list