Macros with raw strings throw errors

ReSharper 2018.2.3 appears unable to handle the following code:
Snippet

#define mainStylesheet R"(
  QWidget#coursewarefeedback { background-color: rgba(0, 0, 0, 255); }
)"

Without inspection on it appears just fine, but with it on it throws warnings and errors for the content inside the raw string

 

1 comment

Hello!

ReSharper C++ does not support multi-line raw string literals in macro definitions yet, I've filed https://youtrack.jetbrains.com/issue/RSCPP-23453 to track this.

Thanks!

0

Please sign in to leave a comment.