Skip to content

Does cpptools support preprocessor like #ifdef ? #9038

Answered by sean-mcmanus
daxianji007 asked this question in Q&A
Discussion options

You must be logged in to vote

That's a side of effect of our tag parser mode (global symbol parsing) which doesn't evaluate macro defines. Somewhat "by design". I don't know of a workaround. You could try filing an issue at https://developercommunity.visualstudio.com/ and see what they say.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by daxianji007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants