1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-30 12:14:08 +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 committed by apn
parent f58f9b92cb
commit ced8e75119

View File

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