We have a compiling issue with Softpack 1.5 on ATSAME70Q21 platform since we upgraded to Atmel Studio 7.0.1417 (GCC 6.2.1), that compiler.h is defining min(a,b) and max(a,b) but then when we include some STL headers, we get compilation errors regarding std::min and std::max. I assume because min/max being redefined, it overrides the definitions in these headers if they are included after "compiler.h". This was not happening on Atmel 7.0.1188 with GCC 5.3.1. We could move the headers above compiler.h but then we run into other issues with 3rd party libraries that need included after this header. Is there a reason why files in libchip and libusb weren't using Min/Max definitions instead of min/max?
Thank you in advance,