Skip to content

Commit 3e14fe5

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 c75dc48 commit 3e14fe5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: 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)