Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
comex
13 days ago
|
parent
|
context
|
favorite
| on:
The C++ standard for the F-35 Fighter Jet [video]
It does work in GCC to suppress unused variable warnings. Just not for function calls I guess.
cminmin
13 days ago
[–]
__attribute__((maybe_unused)) or [[maybe_unused]] or such things (dependin on ur spec version i guess?) can be used not to disable a whole line of errors.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: