http-parser icon indicating copy to clipboard operation
http-parser copied to clipboard

Fix gcc comma at end of enumerator list warning.

Open paulbartell opened this issue 3 years ago • 2 comments

Add dummy "LAST" items to each enum to mask the gcc "comma at end of enumerator list" warning and allow building with -Werror.

paulbartell avatar Apr 27 '21 23:04 paulbartell

Trailing comma is permitted since C99 (and C++11)

viccpp avatar Apr 29 '21 15:04 viccpp

@viccpp . Very true. The FreeRTOS coreHTTP library that depends on http-parser targets C90 compilers.

paulbartell avatar Apr 29 '21 22:04 paulbartell