-
Mats Kindahl authored
This patch will make it possible to use the C++ Standard Library by removing the min/max macros from the code. The patch makes the following changes: - Define macros MY_MIN and MY_MAX instead of min and max. - Use MY_MIN/MY_MAX in C code - Use MY_MIN/MY_MAX in array declarations - Include <algorithm> to get min/max from std - Add using-declarations in source files - Use std:: prefix for min/max in header files - Turning some constant declarations unsigned - Removing an overloaded use of 'min' as both macro name and variable. - It enables C++ builds for all files
Mats Kindahl authoredThis patch will make it possible to use the C++ Standard Library by removing the min/max macros from the code. The patch makes the following changes: - Define macros MY_MIN and MY_MAX instead of min and max. - Use MY_MIN/MY_MAX in C code - Use MY_MIN/MY_MAX in array declarations - Include <algorithm> to get min/max from std - Add using-declarations in source files - Use std:: prefix for min/max in header files - Turning some constant declarations unsigned - Removing an overloaded use of 'min' as both macro name and variable. - It enables C++ builds for all files
Loading