forked from personal/squiggle.c
report correct warning suppression code
This commit is contained in:
parent
2819815aa8
commit
693fac451f
|
@ -284,7 +284,7 @@ In fact, squiggle.c does have a few functions for algebraic manipulations of sim
|
|||
|
||||
#### Harsh compilation
|
||||
|
||||
By default, I've enabled -Warn-all, -Warn-extra. However, these produce warnings for unused variables, some of which can sometimes be inocuous. For now, I'm suppressing these using a clever UNUSED macro. If you don't like that approach, you could add -Wno-unused-variable to your makefile and remove the macro.
|
||||
By default, I've enabled -Warn-all, -Warn-extra. However, these produce warnings for unused variables, some of which can sometimes be inocuous. For now, I'm suppressing these using a clever UNUSED macro. If you don't like that approach, you could add -Wno-unused-parameter to your makefile and remove the macro.
|
||||
|
||||
#### Results of running clang-tidy
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user