MSVC: ignore warning c4828 The file contains a character that is illegal.
authorRay Molenkamp <github@lazydodo.com>
Sat, 17 Mar 2018 18:45:27 +0000 (12:45 -0600)
committerRay Molenkamp <github@lazydodo.com>
Sat, 17 Mar 2018 18:45:27 +0000 (12:45 -0600)
The only place this warning is coming from is from comments in headers of 3rd party libs. we can safely repress this warning for now.

CMakeLists.txt

index 025b76c..9909544 100644 (file)
@@ -1514,6 +1514,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "MSVC")
                "/wd4267"  # conversion from 'size_t' to 'type', possible loss of data
                "/wd4305"  # truncation from 'type1' to 'type2'
                "/wd4800"  # forcing value to bool 'true' or 'false'
+               "/wd4828"  # The file contains a character that is illegal 
                # errors:
                "/we4013"  # 'function' undefined; assuming extern returning int
                "/we4133"  # incompatible pointer types