Hi,

Building KF5/kdoctools 5.15.0 on OS X, I run into 2 issues:

- the #include <kfilterdev.h> statement finds the corresponding header from 
KDELibs4
- after changing the statement into #include <KArchive/kfilterdev.h> (which I 
think it should be anyway?), I get the error

In file included from 
/opt/local/var/macports/build/_opt_local_site-ports_kf5_Frameworks/kf5-kdoctools/work/kdoctools-5.15.0/src/xslt_kde.cpp:2:
/opt/local/include/KF5/KArchive/kfilterdev.h:95:5: error: unknown type name 
'KARCHIVE_DEPRECATED'
    KARCHIVE_DEPRECATED static KCompressionDevice *deviceForFile(const QString 
&fileName,
    ^
/opt/local/include/KF5/KArchive/kfilterdev.h:95:25: error: expected member name 
or ';' after declaration specifiers
    KARCHIVE_DEPRECATED static KCompressionDevice *deviceForFile(const QString 
&fileName,
    ~~~~~~~~~~~~~~~~~~~ ^

I take it that I could #define KARCHIVE_DEPRECATED to get around this, but I 
have a hunch I shouldn't be getting the warning in the 1st place?

Thanks,
R.
_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to