Skip to content

Commit

Permalink
fixes for MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
lefessan committed Oct 25, 2024
1 parent 8362f2f commit f382408
Show file tree
Hide file tree
Showing 15 changed files with 78 additions and 12 deletions.
2 changes: 2 additions & 0 deletions build_windows/ocide/cobc.exe.cpj
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<FILE NAME="..\..\libcob\system.def" TITLE="system.def" CLEAN="0"/>
<FILE NAME="..\..\cobc\tree.h" TITLE="tree.h" CLEAN="0"/>
<FILE NAME="..\..\cobc\warning.def" TITLE="warning.def" CLEAN="0"/>
<FILE NAME="..\..\cobc\dump_ast_gen.c" TITLE="dump_ast_gen.c" CLEAN="0"/>
</FOLDER>
<FOLDER TITLE="Resource Files">
<FILE NAME="..\version_cobc.rc" TITLE="version_cobc.rc" CLEAN="0"/>
Expand Down Expand Up @@ -89,6 +90,7 @@
<FILE NAME="..\..\cobc\replace.c" TITLE="replace.c" CLEAN="0"/>
<FILE NAME="..\..\cobc\tree.c" TITLE="tree.c" CLEAN="0"/>
<FILE NAME="..\..\cobc\typeck.c" TITLE="typeck.c" CLEAN="0"/>
<FILE NAME="..\..\cobc\dump_ast.c" TITLE="dump_ast.c" CLEAN="0"/>`
</FOLDER>
<FILE NAME="..\..\cobc\ChangeLog" TITLE="ChangeLog" CLEAN="0"/>
</FILES>
Expand Down
8 changes: 8 additions & 0 deletions build_windows/vs2005/cobc.vcproj
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,10 @@
RelativePath="..\..\cobc\typeck.c"
>
</File>
<File
RelativePath="..\..\cobc\dump_ast.c"
>
</File>
</Filter>
<Filter
Name="Header Files"
Expand Down Expand Up @@ -398,6 +402,10 @@
RelativePath="..\..\cobc\warning.def"
>
</File>
<File
RelativePath="..\..\cobc\dump_ast_gen.c"
>
</File>
</Filter>
<Filter
Name="Resource Files"
Expand Down
8 changes: 8 additions & 0 deletions build_windows/vs2008/cobc.vcproj
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,10 @@
RelativePath="..\..\cobc\typeck.c"
>
</File>
<File
RelativePath="..\..\cobc\dump_ast.c"
>
</File>
</Filter>
<Filter
Name="Header Files"
Expand Down Expand Up @@ -393,6 +397,10 @@
RelativePath="..\..\cobc\warning.def"
>
</File>
<File
RelativePath="..\..\cobc\dump_ast_gen.c"
>
</File>
</Filter>
<Filter
Name="Resource Files"
Expand Down
4 changes: 3 additions & 1 deletion build_windows/vs2010/cobc.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@
<ClCompile Include="..\..\cobc\reserved.c" />
<ClCompile Include="..\..\cobc\tree.c" />
<ClCompile Include="..\..\cobc\typeck.c" />
<ClCompile Include="..\..\cobc\dump_ast.c" />
<ClCompile Include="..\..\cobc\parser.c" />
<ClCompile Include="..\..\cobc\pplex.c" />
<ClCompile Include="..\..\cobc\ppparse.c" />
Expand Down Expand Up @@ -284,6 +285,7 @@
<None Include="..\..\cobc\flag.def" />
<None Include="..\..\cobc\ppparse.def" />
<None Include="..\..\cobc\warning.def" />
<None Include="..\..\cobc\dump_ast_gen.c" />
<None Include="..\..\cobc\ChangeLog" />
<None Include="..\..\config\acu-strict.conf" />
<None Include="..\..\config\acu.conf" />
Expand Down Expand Up @@ -354,4 +356,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>
8 changes: 7 additions & 1 deletion build_windows/vs2010/cobc.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
<ClCompile Include="..\..\cobc\typeck.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\cobc\dump_ast.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\cobc\parser.c">
<Filter>Auto Generated Files\Source Files</Filter>
</ClCompile>
Expand Down Expand Up @@ -92,6 +95,9 @@
<None Include="..\..\cobc\warning.def">
<Filter>Header Files</Filter>
</None>
<None Include="..\..\cobc\dump_ast_gen.c">
<Filter>Header Files</Filter>
</None>
<None Include="..\..\cobc\ChangeLog" />
<None Include="..\..\cobc\ppparse.def">
<Filter>Header Files</Filter>
Expand Down Expand Up @@ -277,4 +283,4 @@
<Filter>Source Files</Filter>
</CustomBuild>
</ItemGroup>
</Project>
</Project>
4 changes: 3 additions & 1 deletion build_windows/vs2012/cobc.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@
<ClCompile Include="..\..\cobc\reserved.c" />
<ClCompile Include="..\..\cobc\tree.c" />
<ClCompile Include="..\..\cobc\typeck.c" />
<ClCompile Include="..\..\cobc\dump_ast.c" />
<ClCompile Include="..\..\cobc\parser.c" />
<ClCompile Include="..\..\cobc\pplex.c" />
<ClCompile Include="..\..\cobc\ppparse.c" />
Expand Down Expand Up @@ -288,6 +289,7 @@
<None Include="..\..\cobc\flag.def" />
<None Include="..\..\cobc\ppparse.def" />
<None Include="..\..\cobc\warning.def" />
<None Include="..\..\cobc\dump_ast_gen.c" />
<None Include="..\..\cobc\ChangeLog" />
<None Include="..\..\config\acu-strict.conf" />
<None Include="..\..\config\acu.conf" />
Expand Down Expand Up @@ -358,4 +360,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>
8 changes: 7 additions & 1 deletion build_windows/vs2012/cobc.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
<ClCompile Include="..\..\cobc\typeck.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\cobc\dump_ast.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\cobc\parser.c">
<Filter>Auto Generated Files\Source Files</Filter>
</ClCompile>
Expand Down Expand Up @@ -92,6 +95,9 @@
<None Include="..\..\cobc\warning.def">
<Filter>Header Files</Filter>
</None>
<None Include="..\..\cobc\dump_ast_gen.c">
<Filter>Header Files</Filter>
</None>
<None Include="..\..\cobc\ChangeLog" />
<None Include="..\..\cobc\ppparse.def">
<Filter>Header Files</Filter>
Expand Down Expand Up @@ -277,4 +283,4 @@
<Filter>Source Files</Filter>
</CustomBuild>
</ItemGroup>
</Project>
</Project>
4 changes: 3 additions & 1 deletion build_windows/vs2013/cobc.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@
<ClCompile Include="..\..\cobc\reserved.c" />
<ClCompile Include="..\..\cobc\tree.c" />
<ClCompile Include="..\..\cobc\typeck.c" />
<ClCompile Include="..\..\cobc\dump_ast.c" />
<ClCompile Include="..\..\cobc\parser.c" />
<ClCompile Include="..\..\cobc\pplex.c" />
<ClCompile Include="..\..\cobc\ppparse.c" />
Expand Down Expand Up @@ -290,6 +291,7 @@
<None Include="..\..\cobc\flag.def" />
<None Include="..\..\cobc\ppparse.def" />
<None Include="..\..\cobc\warning.def" />
<None Include="..\..\cobc\dump_ast_gen.c" />
<None Include="..\..\cobc\ChangeLog" />
<None Include="..\..\config\acu-strict.conf" />
<None Include="..\..\config\acu.conf" />
Expand Down Expand Up @@ -360,4 +362,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>
8 changes: 7 additions & 1 deletion build_windows/vs2013/cobc.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
<ClCompile Include="..\..\cobc\typeck.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\cobc\dump_ast.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\cobc\parser.c">
<Filter>Auto Generated Files\Source Files</Filter>
</ClCompile>
Expand Down Expand Up @@ -92,6 +95,9 @@
<None Include="..\..\cobc\warning.def">
<Filter>Header Files</Filter>
</None>
<None Include="..\..\cobc\dump_ast_gen.c">
<Filter>Header Files</Filter>
</None>
<None Include="..\..\cobc\ChangeLog" />
<None Include="..\..\cobc\ppparse.def">
<Filter>Header Files</Filter>
Expand Down Expand Up @@ -277,4 +283,4 @@
<Filter>Source Files</Filter>
</CustomBuild>
</ItemGroup>
</Project>
</Project>
4 changes: 3 additions & 1 deletion build_windows/vs2015/cobc.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@
<ClCompile Include="..\..\cobc\reserved.c" />
<ClCompile Include="..\..\cobc\tree.c" />
<ClCompile Include="..\..\cobc\typeck.c" />
<ClCompile Include="..\..\cobc\dump_ast.c" />
<ClCompile Include="..\..\cobc\parser.c" />
<ClCompile Include="..\..\cobc\pplex.c" />
<ClCompile Include="..\..\cobc\ppparse.c" />
Expand Down Expand Up @@ -288,6 +289,7 @@
<None Include="..\..\cobc\flag.def" />
<None Include="..\..\cobc\ppparse.def" />
<None Include="..\..\cobc\warning.def" />
<None Include="..\..\cobc\dump_ast_gen.c" />
<None Include="..\..\cobc\ChangeLog" />
<None Include="..\..\config\acu-strict.conf" />
<None Include="..\..\config\acu.conf" />
Expand Down Expand Up @@ -358,4 +360,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>
8 changes: 7 additions & 1 deletion build_windows/vs2015/cobc.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
<ClCompile Include="..\..\cobc\typeck.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\cobc\dump_ast.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\cobc\parser.c">
<Filter>Auto Generated Files\Source Files</Filter>
</ClCompile>
Expand Down Expand Up @@ -92,6 +95,9 @@
<None Include="..\..\cobc\warning.def">
<Filter>Header Files</Filter>
</None>
<None Include="..\..\cobc\dump_ast_gen.c">
<Filter>Header Files</Filter>
</None>
<None Include="..\..\cobc\ChangeLog" />
<None Include="..\..\cobc\ppparse.def">
<Filter>Header Files</Filter>
Expand Down Expand Up @@ -277,4 +283,4 @@
<Filter>Source Files</Filter>
</CustomBuild>
</ItemGroup>
</Project>
</Project>
4 changes: 3 additions & 1 deletion build_windows/vs2017/cobc.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@
<ClCompile Include="..\..\cobc\reserved.c" />
<ClCompile Include="..\..\cobc\tree.c" />
<ClCompile Include="..\..\cobc\typeck.c" />
<ClCompile Include="..\..\cobc\dump_ast.c" />
<ClCompile Include="..\..\cobc\parser.c" />
<ClCompile Include="..\..\cobc\pplex.c" />
<ClCompile Include="..\..\cobc\ppparse.c" />
Expand Down Expand Up @@ -290,6 +291,7 @@
<None Include="..\..\cobc\flag.def" />
<None Include="..\..\cobc\ppparse.def" />
<None Include="..\..\cobc\warning.def" />
<None Include="..\..\cobc\dump_ast_gen.c" />
<None Include="..\..\cobc\ChangeLog" />
<None Include="..\..\config\acu-strict.conf" />
<None Include="..\..\config\acu.conf" />
Expand Down Expand Up @@ -360,4 +362,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>
8 changes: 7 additions & 1 deletion build_windows/vs2017/cobc.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
<ClCompile Include="..\..\cobc\typeck.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\cobc\dump_ast.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\cobc\parser.c">
<Filter>Auto Generated Files\Source Files</Filter>
</ClCompile>
Expand Down Expand Up @@ -92,6 +95,9 @@
<None Include="..\..\cobc\warning.def">
<Filter>Header Files</Filter>
</None>
<None Include="..\..\cobc\dump_ast_gen.c">
<Filter>Header Files</Filter>
</None>
<None Include="..\..\cobc\ChangeLog" />
<None Include="..\..\cobc\ppparse.def">
<Filter>Header Files</Filter>
Expand Down Expand Up @@ -277,4 +283,4 @@
<Filter>Source Files</Filter>
</CustomBuild>
</ItemGroup>
</Project>
</Project>
4 changes: 3 additions & 1 deletion build_windows/vs2019/cobc.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@
<ClCompile Include="..\..\cobc\reserved.c" />
<ClCompile Include="..\..\cobc\tree.c" />
<ClCompile Include="..\..\cobc\typeck.c" />
<ClCompile Include="..\..\cobc\dump_ast.c" />
<ClCompile Include="..\..\cobc\parser.c" />
<ClCompile Include="..\..\cobc\pplex.c" />
<ClCompile Include="..\..\cobc\ppparse.c" />
Expand Down Expand Up @@ -290,6 +291,7 @@
<None Include="..\..\cobc\flag.def" />
<None Include="..\..\cobc\ppparse.def" />
<None Include="..\..\cobc\warning.def" />
<None Include="..\..\cobc\dump_ast_gen.c" />
<None Include="..\..\cobc\ChangeLog" />
<None Include="..\..\config\acu-strict.conf" />
<None Include="..\..\config\acu.conf" />
Expand Down Expand Up @@ -360,4 +362,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>
8 changes: 7 additions & 1 deletion build_windows/vs2019/cobc.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
<ClCompile Include="..\..\cobc\typeck.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\cobc\dump_ast.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\cobc\parser.c">
<Filter>Auto Generated Files\Source Files</Filter>
</ClCompile>
Expand Down Expand Up @@ -92,6 +95,9 @@
<None Include="..\..\cobc\warning.def">
<Filter>Header Files</Filter>
</None>
<None Include="..\..\cobc\dump_ast_gen.c">
<Filter>Header Files</Filter>
</None>
<None Include="..\..\cobc\ChangeLog" />
<None Include="..\..\cobc\ppparse.def">
<Filter>Header Files</Filter>
Expand Down Expand Up @@ -277,4 +283,4 @@
<Filter>Source Files</Filter>
</CustomBuild>
</ItemGroup>
</Project>
</Project>

0 comments on commit f382408

Please sign in to comment.