]> granicus.if.org Git - graphviz/commitdiff
suppress Bison warnings about Yacc incompatibility in Windows builds
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 9 Sep 2020 00:01:22 +0000 (17:01 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 15 Sep 2020 00:42:22 +0000 (17:42 -0700)
lib/cgraph/cgraph.vcxproj
lib/expr/expr.vcxproj

index 35455dbdc51120dc66016195276bcda4d0411795..77a24fca4cb9f3a0ba3bd67c98b95c9ad5df6ec1 100644 (file)
@@ -70,7 +70,7 @@
       <TargetMachine>MachineX86</TargetMachine>
     </Link>
     <PreBuildEvent>
-      <Command>win_bison -Wno-yacc -dy grammar.y -o grammar.c
+      <Command>win_bison -dy -Wno-yacc grammar.y -o grammar.c
 win_flex -oscan.c scan.l</Command>
     </PreBuildEvent>
   </ItemDefinitionGroup>
@@ -93,7 +93,7 @@ win_flex -oscan.c scan.l</Command>
       <TargetMachine>MachineX86</TargetMachine>
     </Link>
     <PreBuildEvent>
-      <Command>win_bison -Wno-yacc -dy grammar.y -o grammar.c
+      <Command>win_bison -dy -Wno-yacc grammar.y -o grammar.c
 win_flex -oscan.c scan.l</Command>
     </PreBuildEvent>
   </ItemDefinitionGroup>
index 50262bf694f5564cadb2f357af71fe96bff0cf1f..4e1efab4c7e77b8e8d54ff5a102271ddf9e764b0 100644 (file)
@@ -64,7 +64,7 @@
     </ClCompile>
     <Lib />
     <PreBuildEvent>
-      <Command>win_bison -Wno-yacc -dy exparse.y -o exparse.c</Command>
+      <Command>win_bison -dy -Wno-yacc exparse.y -o exparse.c</Command>
     </PreBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@@ -78,7 +78,7 @@
     </ClCompile>
     <Lib />
     <PreBuildEvent>
-      <Command>win_bison -Wno-yacc -dy exparse.y -o exparse.c</Command>
+      <Command>win_bison -dy -Wno-yacc exparse.y -o exparse.c</Command>
     </PreBuildEvent>
   </ItemDefinitionGroup>
   <ItemGroup>