Is there an already existing issue for this?
Expected behavior
Successfully compiled on gcc 15.1
Current behavior
I met following compilation errors on gcc 15.1.
In file included from src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterCompoundCondition.cpp:19:
src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterCompoundCondition.hpp:42:10: warning: elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword
42 | enum class OperationKind : uint8_t
| ~~~~ ^~~~~
| -----
src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterCompoundCondition.hpp:42:16: error: use of enum ‘OperationKind’ without previous declaration
42 | enum class OperationKind : uint8_t
| ^~~~~~~~~~~~~
src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterCompoundCondition.hpp:42:32: error: ‘uint8_t’ was not declared in this scope
42 | enum class OperationKind : uint8_t
| ^~~~~~~
src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterCompoundCondition.hpp:25:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
24 | #include "DDSFilterCondition.hpp"
+++ |+#include <cstdint>
25 |
Target files are followings.
- src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterCompoundCondition.hpp
- src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterValue.hpp
Steps to reproduce
Compile with gcc 15.1.
Fast DDS version/commit
https://github.com/eProsima/Fast-DDS/releases/tag/v3.2.2
Platform/Architecture
Other. Please specify in Additional context section.
Transport layer
Default configuration, UDPv4 & SHM
Additional context
Fedora 42 on x64
XML configuration file
Relevant log output
Network traffic capture
No response
Is there an already existing issue for this?
Expected behavior
Successfully compiled on gcc 15.1
Current behavior
I met following compilation errors on gcc 15.1.
Target files are followings.
Steps to reproduce
Compile with gcc 15.1.
Fast DDS version/commit
https://github.com/eProsima/Fast-DDS/releases/tag/v3.2.2
Platform/Architecture
Other. Please specify in Additional context section.
Transport layer
Default configuration, UDPv4 & SHM
Additional context
Fedora 42 on x64
XML configuration file
Relevant log output
Network traffic capture
No response