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
A description of the problem with sufficient detail to understand the issue.
Context / Environment
Execute fprime-util version-check and share the output.
--INSERT HERE--
How to Reproduce
.../lib/fprime/Os/Posix/RawTime.cpp:70:39: error: non-constant-expression cannot be narrowed from type 'U32' (aka 'unsigned int') to 'long' in initializer list [-Wc++11-narrowing]
this->m_handle.m_timespec = {sec, nsec};
^~~~
.../lib/fprime/Os/Posix/RawTime.cpp:70:39: note: insert an explicit cast to silence this issue
this->m_handle.m_timespec = {sec, nsec};
^~~~
static_cast<long>( )
We should cast to time_t and long respectively.
The text was updated successfully, but these errors were encountered:
Problem Description
A description of the problem with sufficient detail to understand the issue.
Context / Environment
Execute
fprime-util version-check
and share the output.How to Reproduce
We should cast to
time_t
andlong
respectively.The text was updated successfully, but these errors were encountered: