Commit fd7845e
committed
Use -Werror=xxx instead of -Werror
List all warnings explicitly that should be treated as errors
instead of covering all warnings with the `-Werror` flag. But do
keep in mind to add `-Werror=xxx` whenever we use `-Wxxx` (if xxx
stands for a type of warning).
This way we can avoid build failures caused by warning attributes
that would be turned into errors by `-Werror` (which cannot be
suppressed by any `-Wno-error=xxx` flag, unfortunately).
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu1 parent 4d1cc88 commit fd7845e
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
250 | 255 | | |
251 | 256 | | |
252 | 257 | | |
| |||
0 commit comments