File tree 3 files changed +11
-0
lines changed
3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,15 @@ if(CMAKE_MRPT_HAS_xSENS)
187
187
188
188
if (MSVC )
189
189
target_compile_definitions (mrpt_xsens PRIVATE XDA_STATIC_LIB)
190
+ else ()
191
+ # Needed for <time.h> to define timegm()
192
+ target_compile_definitions (mrpt_xsens PRIVATE
193
+ _GNU_SOURCE
194
+ _BSD_SOURCE
195
+ _DEFAULT_SOURCE
196
+ )
190
197
endif ()
198
+
191
199
192
200
# needs to be exported, even if private, to make cmake happy since it wants
193
201
# libraries to be statically-linkable:
Original file line number Diff line number Diff line change @@ -405,6 +405,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
405
405
add_compile_options (-Wall -Wno-long-long -Wno-variadic-macros -Wshadow)
406
406
add_compile_options (-Wreturn-local-addr -Werror=return-local-addr)
407
407
add_compile_options (-Wno-psabi)
408
+ add_compile_options ("$<$<COMPILE_LANGUAGE:C>:-Werror=implicit-function-declaration>" )
408
409
409
410
# Workaround: Eigen <3.4 produces *tons* of warnings in GCC >=6. See http://eigen.tuxfamily.org/bz/show_bug.cgi?id=1221
410
411
if (NOT ${CMAKE_CXX_COMPILER_VERSION} LESS "6.0" AND "${MRPT_EIGEN_VERSION} " VERSION_LESS "3.4" )
Original file line number Diff line number Diff line change 4
4
- Changes in libraries:
5
5
- \ref mrpt_obs_grp:
6
6
- mrpt::math::TBoundingBox: Mark all relevant methods with `` [nodiscard] `` to avoid mistakes.
7
+ - BUG FIXES:
8
+ - Fix Debian bug #1066207 : FTBFS in latest sid due to undefined declarations in mrpt_xsens C library.
7
9
8
10
# Version 2.11.12: Released March 10th, 2024
9
11
- Changes in libraries:
You can’t perform that action at this time.
0 commit comments