You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build fails:
In member function ‘void Drv::LinuxGpioDriver::pollLoop()’:
fprime/Drv/LinuxGpioDriver/LinuxGpioDriver.cpp:290:37: error: comparison of integer expressions of different signedness: ‘const FwSizeType’ {aka ‘const long unsigned int’} and ‘int’ [-Werror=sign-compare]
290 | static_assert(GPIO_POLL_TIMEOUT < std::numeric_limits::max(), "Poll timeout would overflow");
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fprime/Drv/LinuxGpioDriver/LinuxGpioDriver.cpp:292:55: error: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Werror=sign-compare]
292 | static_assert(std::numeric_limits<ssize_t>::max() <= std::numeric_limits::max(), "FwSizeType too small");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
A description of the problem with sufficient detail to understand the issue.
Problem Description
Build fails:
In member function ‘void Drv::LinuxGpioDriver::pollLoop()’:
fprime/Drv/LinuxGpioDriver/LinuxGpioDriver.cpp:290:37: error: comparison of integer expressions of different signedness: ‘const FwSizeType’ {aka ‘const long unsigned int’} and ‘int’ [-Werror=sign-compare]
290 | static_assert(GPIO_POLL_TIMEOUT < std::numeric_limits::max(), "Poll timeout would overflow");
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fprime/Drv/LinuxGpioDriver/LinuxGpioDriver.cpp:292:55: error: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Werror=sign-compare]
292 | static_assert(std::numeric_limits<ssize_t>::max() <= std::numeric_limits::max(), "FwSizeType too small");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
A description of the problem with sufficient detail to understand the issue.
Context / Environment
How to Reproduce
Expected Behavior
A description of the expected behavior.
The text was updated successfully, but these errors were encountered: