mirror of https://github.com/ArduPilot/ardupilot
2591261af6
The problem with using min() and max() is that they conflict with some C++ headers. Name the macros in uppercase instead. We may go case by case later converting them to be typesafe. Changes generated with: git ls-files '*.cpp' '*.h' -z | xargs -0 sed -i 's/\([^_[:alnum:]]\)max(/\1MAX(/g' git ls-files '*.cpp' '*.h' -z | xargs -0 sed -i 's/\([^_[:alnum:]]\)min(/\1MIN(/g' |
||
---|---|---|
.. | ||
AP_NavEKF2.cpp | ||
AP_NavEKF2.h | ||
AP_NavEKF2_AirDataFusion.cpp | ||
AP_NavEKF2_Buffer.h | ||
AP_NavEKF2_Control.cpp | ||
AP_NavEKF2_MagFusion.cpp | ||
AP_NavEKF2_Measurements.cpp | ||
AP_NavEKF2_OptFlowFusion.cpp | ||
AP_NavEKF2_Outputs.cpp | ||
AP_NavEKF2_PosVelFusion.cpp | ||
AP_NavEKF2_VehicleStatus.cpp | ||
AP_NavEKF2_core.cpp | ||
AP_NavEKF2_core.h | ||
AP_NavEKF_GyroBias.cpp |