Move __STDC_FORMAT_MACROS to build system
__STDC_FORMAT_MACROS changes the behavior of inttypes.h to allow defining format macros for printf-like functions. It needs to be defined before any include is done, otherwise due to include chains and header guards it may not take effect. Instead of having to define it everywhere it is used, move the define to the build system. Also update ecl and DriverFramework submodules to deal with the changed definitions.
Showing
- Tools/generate_listener.py 0 additions, 1 deletionTools/generate_listener.py
- cmake/common/px4_base.cmake 1 addition, 0 deletionscmake/common/px4_base.cmake
- src/drivers/drv_hrt.h 0 additions, 1 deletionsrc/drivers/drv_hrt.h
- src/drivers/px4flow/i2c_frame.h 0 additions, 1 deletionsrc/drivers/px4flow/i2c_frame.h
- src/lib/DriverFramework 1 addition, 1 deletionsrc/lib/DriverFramework
- src/lib/controllib/block/Block.hpp 0 additions, 1 deletionsrc/lib/controllib/block/Block.hpp
- src/lib/ecl 1 addition, 1 deletionsrc/lib/ecl
- src/modules/px4iofirmware/protocol.h 0 additions, 1 deletionsrc/modules/px4iofirmware/protocol.h
- src/modules/systemlib/err.c 0 additions, 1 deletionsrc/modules/systemlib/err.c
- src/modules/systemlib/uthash/uthash.h 0 additions, 1 deletionsrc/modules/systemlib/uthash/uthash.h
- src/platforms/posix/drivers/barosim/baro.cpp 0 additions, 1 deletionsrc/platforms/posix/drivers/barosim/baro.cpp
- src/platforms/posix/drivers/gpssim/gpssim.cpp 0 additions, 1 deletionsrc/platforms/posix/drivers/gpssim/gpssim.cpp
- src/platforms/posix/drivers/gyrosim/gyrosim.cpp 0 additions, 1 deletionsrc/platforms/posix/drivers/gyrosim/gyrosim.cpp
- src/platforms/posix/px4_layer/drv_hrt.c 0 additions, 1 deletionsrc/platforms/posix/px4_layer/drv_hrt.c
- src/platforms/px4_log.h 0 additions, 1 deletionsrc/platforms/px4_log.h
- src/platforms/px4_nodehandle.h 0 additions, 1 deletionsrc/platforms/px4_nodehandle.h
- src/systemcmds/tests/test_bson.c 0 additions, 1 deletionsrc/systemcmds/tests/test_bson.c
- src/systemcmds/tests/test_int.c 0 additions, 1 deletionsrc/systemcmds/tests/test_int.c
Loading
Please register or sign in to comment