Fwd: parse cpp files imported by #include "*.cpp"

Sven Brauch svenbrauch at googlemail.com
Fri Nov 22 09:35:59 UTC 2013


On Friday 22 November 2013 10:16:50 Milian Wolff wrote:
> The example you posted does work btw. What won't work, is if you put these
> includes into namespaces or classes, which I've also seen projects do (Eigen
> e.g.).
I think this particular example causes problems because of the syntax used 
which is invalid on top-level contexts (assignments) -- that's also what 
kdevelop complains about. So it's not even valid C++ code unless embedded into 
the context.


More information about the KDevelop-devel mailing list