This forum has been archived. All content is frozen. Please use KDE Discuss instead.

VS C++ interpreting "blockmethods.h" in a strange way

Tags: None
(comma "," separated)
scherady
Registered Member
Posts
2
Karma
0
Dear all,
as you can see in this screen shot https://www.dropbox.com/s/fegysuy433z8cid/EigenVS.jpg?dl=0, VS C++ is interpreting "blockmethods.h" in a strange way; until now I failed to find an explanation.

I have downloaded the source files of Eigen and made them available in my VS C++ project. Strange enough my project compile without error but when executed it exits after few events with error and without diagnosis.

I found out after investigation that it exits when blockmethods.h is invoked. When I opened blockmethods.h in VS C++ I discovered a large number of Intellisense errors and strange parsing of the file. Both VS 2015 and 2012 give the same errors like:

- Block is not a template …
- Identifier Derived is undefined…
- More bizarre when I click on Block strange parts of 2 consecutive statements starting with typedef are highlighted.
- Also when I set a breakpoint I get: the breakpoint will not be hit …

Thank you for help.
Brian


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]