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' |
||
---|---|---|
.. | ||
examples/DataFlash_test | ||
DFMessageWriter.cpp | ||
DFMessageWriter.h | ||
DataFlash.cpp | ||
DataFlash.h | ||
DataFlash_Backend.cpp | ||
DataFlash_Backend.h | ||
DataFlash_Block.cpp | ||
DataFlash_Block.h | ||
DataFlash_Empty.cpp | ||
DataFlash_Empty.h | ||
DataFlash_File.cpp | ||
DataFlash_File.h | ||
DataFlash_SITL.cpp | ||
DataFlash_SITL.h | ||
LogFile.cpp |