Is there anything like #ifdef KDEVELOP_PARSER when parsing?

Milian Wolff mail at milianw.de
Mon Jul 12 12:16:48 UTC 2010


On Monday, 12. July 2010 11:27:54 Alexander Shaduri wrote:
> Hello,
> 
> I'd like to know if something like "#ifdef KDEVELOP_PARSER" supported
> when parsing C++.
> The thing is, due to some bugs or missing features in KDevelop's C++
> parser (especially https://bugs.kde.org/show_bug.cgi?id=200289 ),
> my files are all highlighted in red. I do have an alternative
> implementation for that specific code that won't trigger the error (for
> MSVC), but it won't work with gcc in gnu++98 mode.
> 
> So something like Doxygen's "#ifndef DOXYGEN_SHOULD_SKIP_THIS"
> should help, at least during the initial heavy development phase.
> 
> Is there anything like that in KDevelop?
> 
> If not, maybe it would be nice to add one? (This problem might get bigger
> especially with the upcoming C++0x).

We have this:

IN_KDEVELOP_PARSER
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100712/24f60a8c/attachment.sig>


More information about the KDevelop-devel mailing list