From: abv Date: Thu, 10 Apr 2014 11:12:23 +0000 (+0400) Subject: 0024625: Upgrade Bison to version 2.2 or above X-Git-Tag: V6_8_0_beta~428 X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff_plain;h=ced8e7511922fd01e6f9ed77c21ff635a9530a34 0024625: Upgrade Bison to version 2.2 or above Eliminate MSVC warnings in code generated by Bison 2.41 on Linux --- diff --git a/src/StepFile/step.yacc b/src/StepFile/step.yacc index 162e357622..aa160c0236 100644 --- a/src/StepFile/step.yacc +++ b/src/StepFile/step.yacc @@ -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 %}