tracy/public/tracy
Björn Blissing e1b1fd72dc Wrap std::numeric_limits<T>::max() in parenthesis
The windows.h header file defines the macro max. If the max macro is include
it will lead to name collisions with the std::numeric_limits<T>::max() function.

One solution is to define NOMINMAX before the inclusion of windows.h.
However, that might be a demanding task for a large codebase. Defining the
NOMINMAX as global define may also break previous code.

Another to solution to the problem is to wrap the numeric_limits function in
parenthesis to instruct the compiler to treat it as a function and not a macro.

This commit wraps the std::numeric_limits<T>::max() calls in the public
interfacing header files, with parenthesis.
2023-08-17 10:03:52 +02:00
..
Tracy.hpp Add TracySetProgramName() macro to set broadcast contents. 2023-03-30 21:51:00 +02:00
TracyC.h Add plot type "power" and Watt format. 2023-03-10 01:25:41 +01:00
TracyD3D11.hpp Add missing include 2023-02-10 12:15:58 +01:00
TracyD3D12.hpp Customizable source location data 2022-11-30 12:39:50 +02:00
TracyLua.hpp Wrap std::numeric_limits<T>::max() in parenthesis 2023-08-17 10:03:52 +02:00
TracyOpenCL.hpp Customizable source location data 2022-11-30 12:39:50 +02:00
TracyOpenGL.hpp Customizable source location data 2022-11-30 12:39:50 +02:00
TracyVulkan.hpp Fix missing entries in tracy/TracyVulkan.hpp 2023-06-23 14:56:53 +02:00