projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f58f9b9
)
0024625: Upgrade Bison to version 2.2 or above
author
abv
<abv@opencascade.com>
Thu, 10 Apr 2014 11:12:23 +0000
(15:12 +0400)
committer
apn
<apn@opencascade.com>
Thu, 10 Apr 2014 13:14:20 +0000
(17:14 +0400)
Eliminate MSVC warnings in code generated by Bison 2.41 on Linux
src/StepFile/step.yacc
patch
|
blob
|
blame
|
history
diff --git
a/src/StepFile/step.yacc
b/src/StepFile/step.yacc
index
162e357
..
aa160c0
100644
(file)
--- 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
%}