forked fromglynos/cpp-netlib
- Notifications
You must be signed in to change notification settings - Fork425
Commit7ab74c5
Build: fix GCC 7 implicit fallthrough warnings (#769)
Fromhttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html:>C++17 provides a standard way to suppress the -Wimplicit-fallthroughwarning using [[fallthrough]]; instead of the GNU attribute. In C++11 orC++14 users can use [[gnu::fallthrough]];, which is a GNU extension.Instead of these attributes, it is also possible to add a fallthroughcomment to silence the warning.1 parentb930b8e commit7ab74c5
File tree
1 file changed
+8
-0
lines changed- boost/network/protocol/http/client/connection
1 file changed
+8
-0
lines changedLines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| 276 | + | |
276 | 277 | | |
277 | 278 | | |
278 | 279 | | |
| |||
286 | 287 | | |
287 | 288 | | |
288 | 289 | | |
| 290 | + | |
289 | 291 | | |
290 | 292 | | |
291 | 293 | | |
| |||
298 | 300 | | |
299 | 301 | | |
300 | 302 | | |
| 303 | + | |
301 | 304 | | |
302 | 305 | | |
303 | 306 | | |
| |||
456 | 459 | | |
457 | 460 | | |
458 | 461 | | |
| 462 | + | |
459 | 463 | | |
460 | 464 | | |
| 465 | + | |
461 | 466 | | |
462 | 467 | | |
463 | 468 | | |
| 469 | + | |
464 | 470 | | |
465 | 471 | | |
| 472 | + | |
466 | 473 | | |
467 | 474 | | |
468 | 475 | | |
| |||
473 | 480 | | |
474 | 481 | | |
475 | 482 | | |
| 483 | + | |
476 | 484 | | |
477 | 485 | | |
478 | 486 | | |
| |||
0 commit comments
Comments
(0)