1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00

0024625: Upgrade Bison to version 2.2 or above

Eliminate MSVC warnings in code generated by Bison 2.41 on Linux
This commit is contained in:
abv 2014-04-10 15:12:23 +04:00
parent 3d35746b53
commit 2f53312e38

View File

@ -53,6 +53,8 @@
// disable MSVC warnings in bison code
#ifdef _MSC_VER
#pragma warning(disable:4244 4131 4127 4702)
#define YYMALLOC malloc
#define YYFREE free
#endif
%}