Skip to content

Commit 4066941

Browse files
committed
Pragma to silence Visual Studio conversion warnings
There are several cases of conversion from size_t to int that we cannot fix as we use system library functions.
1 parent 065e5ad commit 4066941

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/util/pragma_wconversion.def

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#if defined __clang__
2+
#elif defined __GNUC__
3+
#elif defined _MSC_VER
4+
#pragma warning(disable:4267)
5+
#pragma warning(disable:4244)
6+
#endif

0 commit comments

Comments
 (0)