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' |
||
---|---|---|
.. | ||
Models | ||
AP_Nav_Common.h | ||
AP_NavEKF_core.cpp | ||
AP_NavEKF_core.h | ||
AP_NavEKF.cpp | ||
AP_NavEKF.h | ||
AP_SmallEKF.cpp | ||
AP_SmallEKF.h |