From 2f53312e38f982478f1d41fccd41204aa2d88b1e Mon Sep 17 00:00:00 2001 From: abv Date: Thu, 10 Apr 2014 15:12:23 +0400 Subject: [PATCH] 0024625: Upgrade Bison to version 2.2 or above Eliminate MSVC warnings in code generated by Bison 2.41 on Linux --- src/StepFile/step.yacc | 2 ++ 1 file changed, 2 insertions(+) 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 %}