<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.webhuis.nl:443/index.php?action=history&amp;feed=atom&amp;title=COBOL_Std_11_Build_and_Compilation</id>
	<title>COBOL Std 11 Build and Compilation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.webhuis.nl:443/index.php?action=history&amp;feed=atom&amp;title=COBOL_Std_11_Build_and_Compilation"/>
	<link rel="alternate" type="text/html" href="https://wiki.webhuis.nl:443/index.php?title=COBOL_Std_11_Build_and_Compilation&amp;action=history"/>
	<updated>2026-09-11T06:59:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://wiki.webhuis.nl:443/index.php?title=COBOL_Std_11_Build_and_Compilation&amp;diff=4728&amp;oldid=prev</id>
		<title>Martin: Created page with &quot;== 11. Build and Compilation ==  === 11.1 Recommended cobc Flags ===  {| class=&quot;wikitable&quot; style=&quot;width:100%&quot; ! Flag !! Purpose |- | &lt;code&gt;-Wall&lt;/code&gt; || Enable all warnings; treat unexplained warnings as defects. |- | &lt;code&gt;-Wtruncate&lt;/code&gt; || Warn on MOVE where source is wider than destination. |- | &lt;code&gt;-debug&lt;/code&gt; || Enable PERFORM stack checking in test builds. |- | &lt;code&gt;-O2&lt;/code&gt; || Enable optimisation in production builds. |- | &lt;code&gt;-free&lt;/code&gt; || Only if...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.webhuis.nl:443/index.php?title=COBOL_Std_11_Build_and_Compilation&amp;diff=4728&amp;oldid=prev"/>
		<updated>2026-03-25T11:20:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== 11. Build and Compilation ==  === 11.1 Recommended cobc Flags ===  {| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:100%&amp;quot; ! Flag !! Purpose |- | &amp;lt;code&amp;gt;-Wall&amp;lt;/code&amp;gt; || Enable all warnings; treat unexplained warnings as defects. |- | &amp;lt;code&amp;gt;-Wtruncate&amp;lt;/code&amp;gt; || Warn on MOVE where source is wider than destination. |- | &amp;lt;code&amp;gt;-debug&amp;lt;/code&amp;gt; || Enable PERFORM stack checking in test builds. |- | &amp;lt;code&amp;gt;-O2&amp;lt;/code&amp;gt; || Enable optimisation in production builds. |- | &amp;lt;code&amp;gt;-free&amp;lt;/code&amp;gt; || Only if...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== 11. Build and Compilation ==&lt;br /&gt;
&lt;br /&gt;
=== 11.1 Recommended cobc Flags ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
! Flag !! Purpose&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;-Wall&amp;lt;/code&amp;gt; || Enable all warnings; treat unexplained warnings as defects.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;-Wtruncate&amp;lt;/code&amp;gt; || Warn on MOVE where source is wider than destination.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;-debug&amp;lt;/code&amp;gt; || Enable PERFORM stack checking in test builds.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;-O2&amp;lt;/code&amp;gt; || Enable optimisation in production builds.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;-free&amp;lt;/code&amp;gt; || Only if the project adopts free-format source throughout.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== 11.2 GixSQL Pre-Processor ===&lt;br /&gt;
&lt;br /&gt;
* Run &amp;lt;code&amp;gt;gixpp&amp;lt;/code&amp;gt; before &amp;lt;code&amp;gt;cobc&amp;lt;/code&amp;gt; for any program containing EXEC SQL statements.&lt;br /&gt;
* Verify the pre-compiler listing (&amp;lt;code&amp;gt;*_cbsql.out&amp;lt;/code&amp;gt;) for connection alias names before integrating with other programs.&lt;br /&gt;
* Keep the pre-compiler output under source control for auditability.&lt;br /&gt;
* Do not hand-edit pre-compiler output — always regenerate from the &amp;lt;code&amp;gt;.cbl&amp;lt;/code&amp;gt; source.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;#039;&amp;#039;[[Cobol programming standards|← Back to index]]&amp;#039;&amp;#039;&lt;/div&gt;</summary>
		<author><name>Martin</name></author>
	</entry>
</feed>