MSVC-specific code is used in some places (__try, __except and __forceinline) and compiled only if _MSC_VER is set; however, Clang under Windows also defines this, which reports errors on this non-standard code if the -pedantic-errors compiler flag is set:
In file included from tracy/public/TracyClient.cpp:14:
tracy/public/common/TracySystem.cpp:126:5: error: extension used [-Werror,-Wlanguage-extension-token]
__try
^
In file included from tracy/public/TracyClient.cpp:22:
tracy/public/common/tracy_lz4.cpp:445:1: error: extension used [-Werror,-Wlanguage-extension-token]
LZ4_FORCE_INLINE
^
tracy/public/common/tracy_lz4.cpp:132:37: note: expanded from macro 'LZ4_FORCE_INLINE'
# define LZ4_FORCE_INLINE static __forceinline
^
MSVC-specific code is used in some places (
__try
,__except
and__forceinline
) and compiled only if_MSC_VER
is set; however, Clang under Windows also defines this, which reports errors on this non-standard code if the-pedantic-errors
compiler flag is set: