zephyr/samples
Carlos Stuart 75f77db432 include: misc: util.h: Rename min/max to MIN/MAX
There are issues using lowercase min and max macros when compiling a C++
application with a third-party toolchain such as GNU ARM Embedded when
using some STL headers i.e. <chrono>.

This is because there are actual C++ functions called min and max
defined in some of the STL headers and these macros interfere with them.
By changing the macros to UPPERCASE, which is consistent with almost all
other pre-processor macros this naming conflict is avoided.

All files that use these macros have been updated.

Signed-off-by: Carlos Stuart <carlosstuart1970@gmail.com>
2019-02-14 22:16:03 -05:00
..
application_development
basic samples: Use DT_ prefix define for DT filters 2019-02-14 10:45:25 -06:00
bluetooth include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
boards include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
cpp_synchronization
crypto/mbedtls_benchmark
display
drivers samples: Use DT_ prefix define for DT filters 2019-02-14 10:45:25 -06:00
gui
hello_world
mpu
net include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
nfc/nfc_hello
philosophers
portability
sensor
shields
subsys samples/subsys/nvs: Add a clean test termination 2019-02-12 20:16:22 -05:00
synchronization
testing/integration
userspace
xtensa_asm2
classic.rst
index.rst