davidstone / bounded-integer

C++ library aiming to replace all built-in integers
Boost Software License 1.0
88 stars 3 forks source link

Emit warnings or errors if GCC version < 13 or Clang version < 16 #4

Open worthless443 opened 1 year ago

worthless443 commented 1 year ago

I see that the code is incompatible with < 16 version for Clang, but while configuring with lower versions of clang, CMake doesn't emit any warning or errors. Added a switch to either WARNING or FATAL_ERROR.