Commit Graph

4 Commits

Author SHA1 Message Date
Ricardo Simoes 9f25cd73f1 magic-enum: Upgrade 0.9.6 -> 0.9.7
Changelog: https://github.com/Neargye/magic_enum/releases/tag/v0.9.7

Signed-off-by: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-19 16:59:10 -08:00
Ricardo Simoes 83d9607ba5 magic-enum: Upgrade v0.9.5 -> v0.9.6
In version 0.9.6 issue #362 was fixed. Thus, the tweak in the compile
flags is no longer needed.

The checksum of the LICENSE file changed because the copyright range
was updated.

Changelog: https://github.com/Neargye/magic_enum/releases/tag/v0.9.6

Signed-off-by: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-28 01:25:41 -07:00
Ricardo Simoes 340ba69c35 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>
2024-06-28 11:22:06 -07:00
Ricardo Simoes 463bf4a9f6 magic-enum: add recipe
magic-enum is a header-only C++17 library provides static reflection
for enums, works with any enum type without any macro or boilerplate
code.

Signed-off-by: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-19 11:28:54 -07:00