__declspec causes redundant items in File Structure window

I'm working on kernel level code, and I need to use __declspec to specify pageable vs non-pageable function code.
Almost all functions have __declspec(code_seg(".text")) infront of them.

This causes the appearance of extra items before each function in the file structure window

file structure.png

1 comment
Permanently deleted user

Vadim, thanks for the report! Looks like R++ does not handle __declspec(codeseg) at all at the moment and highlights its usages as errors. I filed https://youtrack.jetbrains.com/issue/RSCPP-15480 to track this and will make sure that it gets fixed by the 10.1 release.


Please sign in to leave a comment.