espressif / idf-extra-components

Additional components for ESP-IDF, maintained by Espressif
143 stars 86 forks source link

fix(catch2): fix missing structure initializer warning #291

Closed igrr closed 7 months ago

igrr commented 7 months ago

In IDF v5.3, esp_console_cmd_t will include the new field, func_w_context. Since cmd_catch2.cpp was a C++ source file, not initializing this field led to a compiler warning. Change the initialization to the style that is backwards compatible and doesn't trigger the warning.

github-actions[bot] commented 7 months ago

Unit Test Results

  11 files  +  11    11 suites  +11   15m 13s :stopwatch: + 15m 13s   27 tests +  27    27 :heavy_check_mark: +  27  0 :zzz: ±0  0 :x: ±0  252 runs  +252  252 :heavy_check_mark: +252  0 :zzz: ±0  0 :x: ±0 

Results for commit 9280cbe7. ± Comparison against base commit 22e2825c.

:recycle: This comment has been updated with latest results.

igrr commented 7 months ago

@tore-espressif PTAL, this should fix the failing build jobs.