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
Here is the warning treated as error that gcc 7.5.0 issues:
[ 30%] Building CXX object CMakeFiles/gnsstk.dir/core/lib/GNSSCore/SatMetaDataStore.cpp.o
/home/coezmaden/Repositories/gnsstk/core/lib/GNSSCore/RefFrameRlz.cpp: In function ‘gnsstk::RefFrameRlz gnsstk::getRefFrameRlz(gnsstk::RefFrameSys, const gnsstk::CommonTime&)’:
/home/coezmaden/Repositories/gnsstk/core/lib/GNSSCore/RefFrameRlz.cpp:177:4: error: control reaches end of non-void function [-Werror=return-type]
}
^
Can be a potential easy fix by adding a return of an unknown reference frame RefFrameRlz::Unknown as I have done in my fork: 3f332d5
Should be tested for unwanted changes to the logic of the function.
The text was updated successfully, but these errors were encountered:
Due to the setting of
-Werror=return-type
in the compiler flags below:gnsstk/BuildSetup.cmake
Line 54 in c4b1b21
the project won't compile on my Linux using Cmake due to no return statement placed before the bracket here:
gnsstk/core/lib/GNSSCore/RefFrameRlz.cpp
Line 177 in c4b1b21
Here is the warning treated as error that gcc 7.5.0 issues:
Can be a potential easy fix by adding a return of an unknown reference frame
RefFrameRlz::Unknown
as I have done in my fork: 3f332d5Should be tested for unwanted changes to the logic of the function.
The text was updated successfully, but these errors were encountered: