Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
A Schloss
Total activity
2
Last activity
January 31, 2023 18:17
Member since
January 31, 2023 18:17
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
1
Activity overview
Posts (0)
Comments (1)
A Schloss
commented,
January 31, 2023 18:17
You can define a c++ NOP statement like this #define serial_debug(...) void() for the non-debug case. The compiler sees a statement, thus doesn't complain, and compiles it to nothing.
Community
CLion
"Empty statement" warnings for disabled macros
0 votes