diff options
author | Ricardo Simoes <ricardo.simoes@pt.bosch.com> | 2024-06-28 11:12:56 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-06-28 11:22:06 -0700 |
commit | 340ba69c35102d97112817f06e1dbe6dbec807b1 (patch) | |
tree | 6e806a24b1639337bb8e269885533134ee95ce72 /meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch | |
parent | 4b306f382f4cf133308c7eb4b056a755f5bc4c96 (diff) | |
download | meta-openembedded-340ba69c35102d97112817f06e1dbe6dbec807b1.tar.gz |
magic-enum: Disable unused-value warning in tests
With gcc 14.1.0, there is one compilation warning found in the
unit tests which cause ptest builds to fail:
test_containers.cpp:290:89: error:
value computed is not used [-Werror=unused-value]
290 | magic_enum::containers::set color_set_not_const {Color::RED,
Color::GREEN, Color::BLUE};
|
This is the same behavior as described in [1]. Thus, we can safely treat
this specific warning not as an error until the gcc bug is fixed.
[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?format=multiple&id=114970
Signed-off-by: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Reported-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch')
0 files changed, 0 insertions, 0 deletions