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:
parent
3d35746b53
commit
2f53312e38
@ -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
|
||||
|
||||
%}
|
||||
|
Loading…
x
Reference in New Issue
Block a user