<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.visual-prolog.com/index.php?action=history&amp;feed=atom&amp;title=Ide%2FCommand_Line_Tools</id>
	<title>Ide/Command Line Tools - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.visual-prolog.com/index.php?action=history&amp;feed=atom&amp;title=Ide%2FCommand_Line_Tools"/>
	<link rel="alternate" type="text/html" href="https://wiki.visual-prolog.com/index.php?title=Ide/Command_Line_Tools&amp;action=history"/>
	<updated>2026-04-12T14:00:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.visual-prolog.com/index.php?title=Ide/Command_Line_Tools&amp;diff=3687&amp;oldid=prev</id>
		<title>Thomas Linder Puls: Ide/IDE Tools moved to Ide/Command Line Tools</title>
		<link rel="alternate" type="text/html" href="https://wiki.visual-prolog.com/index.php?title=Ide/Command_Line_Tools&amp;diff=3687&amp;oldid=prev"/>
		<updated>2013-06-13T14:37:16Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/index.php?title=Ide/IDE_Tools&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Ide/IDE Tools (page does not exist)&quot;&gt;Ide/IDE Tools&lt;/a&gt; moved to &lt;a href=&quot;/index.php?title=Ide/Command_Line_Tools&quot; title=&quot;Ide/Command Line Tools&quot;&gt;Ide/Command Line Tools&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:37, 13 June 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Thomas Linder Puls</name></author>
	</entry>
	<entry>
		<id>https://wiki.visual-prolog.com/index.php?title=Ide/Command_Line_Tools&amp;diff=3686&amp;oldid=prev</id>
		<title>Thomas Linder Puls: header level</title>
		<link rel="alternate" type="text/html" href="https://wiki.visual-prolog.com/index.php?title=Ide/Command_Line_Tools&amp;diff=3686&amp;oldid=prev"/>
		<updated>2013-06-13T14:36:48Z</updated>

		<summary type="html">&lt;p&gt;header level&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:36, 13 June 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{ideNavbar|IDE Tools}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{ideNavbar|IDE Tools}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Command Line Compiler ==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{:ide/IDE Tools/Command Line Compiler}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{:ide/IDE Tools/Command Line Compiler}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Command Line Linker ==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{:ide/IDE Tools/Command Line Linker}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{:ide/IDE Tools/Command Line Linker}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Thomas Linder Puls</name></author>
	</entry>
	<entry>
		<id>https://wiki.visual-prolog.com/index.php?title=Ide/Command_Line_Tools&amp;diff=3515&amp;oldid=prev</id>
		<title>GalinaTchekmareva: Replacing page with &#039;{{ideNavbar|IDE Tools}}
== Command Line Compiler ==
{{:ide/IDE Tools/Command Line Compiler}}
== Command Line Linker ==
{{:ide/IDE Tools/Command Line Linker}}&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.visual-prolog.com/index.php?title=Ide/Command_Line_Tools&amp;diff=3515&amp;oldid=prev"/>
		<updated>2013-04-02T10:47:09Z</updated>

		<summary type="html">&lt;p&gt;Replacing page with &amp;#039;{{ideNavbar|IDE Tools}} == Command Line Compiler == {{:ide/IDE Tools/Command Line Compiler}} == Command Line Linker == {{:ide/IDE Tools/Command Line Linker}}&amp;#039;&lt;/p&gt;
&lt;a href=&quot;https://wiki.visual-prolog.com/index.php?title=Ide/Command_Line_Tools&amp;amp;diff=3515&amp;amp;oldid=3514&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>GalinaTchekmareva</name></author>
	</entry>
	<entry>
		<id>https://wiki.visual-prolog.com/index.php?title=Ide/Command_Line_Tools&amp;diff=3514&amp;oldid=prev</id>
		<title>GalinaTchekmareva at 13:35, 1 April 2013</title>
		<link rel="alternate" type="text/html" href="https://wiki.visual-prolog.com/index.php?title=Ide/Command_Line_Tools&amp;diff=3514&amp;oldid=prev"/>
		<updated>2013-04-01T13:35:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://wiki.visual-prolog.com/index.php?title=Ide/Command_Line_Tools&amp;amp;diff=3514&amp;amp;oldid=3513&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>GalinaTchekmareva</name></author>
	</entry>
	<entry>
		<id>https://wiki.visual-prolog.com/index.php?title=Ide/Command_Line_Tools&amp;diff=3513&amp;oldid=prev</id>
		<title>GalinaTchekmareva at 12:44, 1 April 2013</title>
		<link rel="alternate" type="text/html" href="https://wiki.visual-prolog.com/index.php?title=Ide/Command_Line_Tools&amp;diff=3513&amp;oldid=prev"/>
		<updated>2013-04-01T12:44:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://wiki.visual-prolog.com/index.php?title=Ide/Command_Line_Tools&amp;amp;diff=3513&amp;amp;oldid=3512&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>GalinaTchekmareva</name></author>
	</entry>
	<entry>
		<id>https://wiki.visual-prolog.com/index.php?title=Ide/Command_Line_Tools&amp;diff=3512&amp;oldid=prev</id>
		<title>GalinaTchekmareva: New page: {{ideNavbar|IDE Tools}}  == Command Line Compiler ==  Visual Prolog compiler is used to compile Visual Prolog source files to produce intermediate Visual Prolog files. These are:  * COFF f...</title>
		<link rel="alternate" type="text/html" href="https://wiki.visual-prolog.com/index.php?title=Ide/Command_Line_Tools&amp;diff=3512&amp;oldid=prev"/>
		<updated>2013-04-01T09:32:46Z</updated>

		<summary type="html">&lt;p&gt;New page: {{ideNavbar|IDE Tools}}  == Command Line Compiler ==  Visual Prolog compiler is used to compile Visual Prolog source files to produce intermediate Visual Prolog files. These are:  * COFF f...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ideNavbar|IDE Tools}}&lt;br /&gt;
&lt;br /&gt;
== Command Line Compiler ==&lt;br /&gt;
&lt;br /&gt;
Visual Prolog compiler is used to compile Visual Prolog source files to produce intermediate Visual Prolog files. These are:&lt;br /&gt;
&lt;br /&gt;
* COFF format object files (&amp;#039;&amp;#039;&amp;#039;.OBJ&amp;#039;&amp;#039;&amp;#039;),&lt;br /&gt;
* debugger information files,&lt;br /&gt;
* browse information files&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
=== Using the Compiler ===&lt;br /&gt;
&lt;br /&gt;
The compiler can be used as a standalone executable that receives command line options and returns one of the following return codes on exit:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;vp&amp;gt;0&amp;lt;/vp&amp;gt; – if compilation was successfully accomplished;&lt;br /&gt;
*&amp;lt;vp&amp;gt;1&amp;lt;/vp&amp;gt; – if compilation was terminated with errors; &lt;br /&gt;
*&amp;lt;vp&amp;gt;2&amp;lt;/vp&amp;gt; – if compilation was terminated due to some internal fatal compiler errors or command line options;&lt;br /&gt;
&lt;br /&gt;
You can use the standard &amp;lt;vp&amp;gt;errorlevel&amp;lt;/vp&amp;gt; parameter on the &amp;lt;vp&amp;gt;if&amp;lt;/vp&amp;gt; command in batch files to process exit codes returned by the command line compiler.&lt;br /&gt;
&lt;br /&gt;
=== Command Line Syntax ===&lt;br /&gt;
&lt;br /&gt;
The command line syntax is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;vipbnf&amp;gt;VIP7Compiler [options] [files] [@responce_file]&amp;lt;/vipbnf&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A compiler command line can contain: compiler options, source file names (without wild chars) to be compiled (in any order), and response file names.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[options]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
:All defined options are applied to all source files.&lt;br /&gt;
:Each option should be preceded by &amp;#039;&amp;lt;vp&amp;gt;/&amp;lt;/vp&amp;gt;&amp;#039; or &amp;#039;&amp;lt;vp&amp;gt;-&amp;lt;/vp&amp;gt;&amp;#039; characters to distinguish them from filenames.&lt;br /&gt;
:&amp;lt;br/&amp;gt;If a value should follow an option, no spaces between the option letter and the value might be specified.&lt;br /&gt;
:Option names and value names can be truncated, but they must still be unambiguous.&lt;br /&gt;
:If an option (or option value) is followed with a &amp;#039;&amp;lt;vp&amp;gt;-&amp;#039;,&amp;lt;/vp&amp;gt; then the option is turned OFF. On the contrary, when an option (or option value) is followed with a &amp;#039;&amp;lt;vp&amp;gt;+&amp;#039;&amp;lt;/vp&amp;gt;, then the option is turned ON.&lt;br /&gt;
:When a number is specified, it is treated as an integer not negative number. Numbers cannot be prefixed with a sign. Numbers can be determined either as decimal (the sequence of decimal digits) or as hexadecimal (the sequence of hexadecimal digits that is prefixed with &amp;lt;vp&amp;gt;0x&amp;lt;/vp&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[files]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Anything you give on the command line not preceded by Â &amp;#039;&amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/&amp;lt;/span&amp;gt;&amp;#039; or &amp;#039;&amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;-&amp;lt;/span&amp;gt;&amp;#039; characters is taken as filenames.&lt;br /&gt;
&lt;br /&gt;
Any filenames can be surrounded by the double quotes.&lt;br /&gt;
&lt;br /&gt;
Filenames without extensions are assumed to name Prolog source files.&lt;br /&gt;
@responce_file&lt;br /&gt;
&lt;br /&gt;
This option causes the compiler to read the specified &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;responce_file&amp;lt;/span&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
The file strings that are starting with the &amp;#039;&amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;#039; symbol (exclusive of the leading spaces and tabulations) are ignored (they are considered as the comments). The compiler appends strings from the &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;responce_file&amp;lt;/span&amp;gt; file; all new line symbols are replaced with spaces. The result is substituted into the command line string instead of the option @ itself.&lt;br /&gt;
&lt;br /&gt;
After this substitution, the option parsing continues from the interrupted point. Any error during the processing the response file causes the terminal error of options parsing.&lt;br /&gt;
&lt;br /&gt;
Nested response files are not allowed.&lt;br /&gt;
&lt;br /&gt;
There is no restriction for the total number of the response files.&lt;br /&gt;
&lt;br /&gt;
== Command Line Options ==&lt;br /&gt;
&lt;br /&gt;
The compiler understands the following options:&lt;br /&gt;
&lt;br /&gt;
/Help&lt;br /&gt;
&lt;br /&gt;
This option causes the compiler to print to the screen a short help about compiler options. &amp;lt;br /&amp;gt; This help is printed also if no options or files are specified to the compiler.&lt;br /&gt;
&lt;br /&gt;
/VERsion&lt;br /&gt;
&lt;br /&gt;
When this option is switched ON, it causes output of extra information about the compiler version. &amp;lt;br /&amp;gt; It is ignored in the Personal Edition version, where it is always ON.&lt;br /&gt;
&lt;br /&gt;
/Goal:{PROC|DETerm}&lt;br /&gt;
&lt;br /&gt;
This option determines a determinism mode of the program Goal section. It can be one of the following:&lt;br /&gt;
&lt;br /&gt;
PROC&lt;br /&gt;
&lt;br /&gt;
The Goal is assumed to be a &amp;lt;span class=&amp;quot;vp-keyword&amp;quot;&amp;gt;procedure&amp;lt;/span&amp;gt; (this is the default).&lt;br /&gt;
&lt;br /&gt;
DETerm&lt;br /&gt;
&lt;br /&gt;
The Goal is assumed to be &amp;lt;span class=&amp;quot;vp-keyword&amp;quot;&amp;gt;determ&amp;lt;/span&amp;gt; (deterministic).&lt;br /&gt;
&lt;br /&gt;
/Check: {ALL|ON|RANge|NOne|OFF|INTegraloverflow|VARiable|STAck|FACts}&amp;lt;br /&amp;gt; /NOCheck&lt;br /&gt;
&lt;br /&gt;
This option determines, which types of checking will be generated by the compiler into object files; these checking will be executed during execution of a target program. It has the following keys that can be separated by commas:&lt;br /&gt;
&lt;br /&gt;
ALL | ON&lt;br /&gt;
&lt;br /&gt;
Generates the maximum level of checking. The default is &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/Check:all&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
RANge&lt;br /&gt;
&lt;br /&gt;
Generates checking that values of numeric domains are inside the boundaries (range) specified to domains.&lt;br /&gt;
&lt;br /&gt;
INTegraloverflow&lt;br /&gt;
&lt;br /&gt;
Generates checking for integral overflow during calculations. When this option is on, the compiler will generate code at each integral arithmetic operation to check if the operation results in integer overflow.&lt;br /&gt;
&lt;br /&gt;
NOne | OFF&lt;br /&gt;
&lt;br /&gt;
Generates the minimal level of checks during a program execution. The same as &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/NOCheck&amp;lt;/span&amp;gt; option.&lt;br /&gt;
&lt;br /&gt;
VARiable&lt;br /&gt;
&lt;br /&gt;
Assigns a special value to all predicate variables for additional checking of proper variable initialization.&lt;br /&gt;
&lt;br /&gt;
STAck&lt;br /&gt;
&lt;br /&gt;
Generates checks of the stack state after return from a predicate (determ or procedure).&amp;lt;span style=&amp;quot;margin-left: 120px&amp;quot;&amp;gt;&amp;lt;br /&amp;gt; Catches errors in the case of incorrect usage of a calling conversion or others situations when the stack might be destroyed. &amp;lt;br /&amp;gt; Such cases appear mostly when predicates implemented not in Visual Prolog are used.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
FACts&lt;br /&gt;
&lt;br /&gt;
Generates checks of non-initialized facts and duplicated assert for determ facts.&lt;br /&gt;
&lt;br /&gt;
Option Examples:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/check:none&amp;lt;/span&amp;gt; is the same as &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/NOCheck&amp;lt;/span&amp;gt; or &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/c:off&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/Check:all&amp;lt;/span&amp;gt; is the same as &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/Check&amp;lt;/span&amp;gt; or nothing (since it is the default).&lt;br /&gt;
&lt;br /&gt;
/MAXErrors:&amp;amp;lt;N&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
This option defines the maximum number of the compiler errors, which can be generated during the compilation of a separate compilation unit before the compiler will produce the error &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;&amp;quot;Too many errors&amp;quot;&amp;lt;/span&amp;gt;, which abnormally terminates the compilation with abnormal exit code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p class=definition&amp;gt;The value &amp;amp;quot;&amp;lt;span class=code-span&amp;gt;0&amp;amp;quot;&amp;lt;/span&amp;gt; &lt;br /&gt;
 – suppresses the check for the number of generated errors. &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p class=definition&amp;gt;The default value is -&amp;lt;span class=code-span&amp;gt;20&amp;lt;/span&amp;gt;. &lt;br /&gt;
 &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=defterm-bold&amp;gt;/MAXWarnings:&amp;amp;lt;N&amp;amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p class=definition&amp;gt;This option defines the maximum number of the compiler &lt;br /&gt;
 warnings, which can be generated during the compilation of a separate &lt;br /&gt;
 compilation unit before the compiler will produce the error &amp;lt;span class=code-span&amp;gt;&amp;amp;quot;Too &lt;br /&gt;
 many warnings&amp;amp;quot;&amp;lt;/span&amp;gt; , which abnormally terminates the compilation &lt;br /&gt;
 with abnormal exit code. The value &amp;lt;span class=code-span&amp;gt;0&amp;lt;/span&amp;gt; – suppresses &lt;br /&gt;
 the check for the number of generated warnings. &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The default value is &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;100&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If the option &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/Warning:AsError&amp;lt;/span&amp;gt; is defined, the compiler generates errors instead of warnings, and option &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/MAXWarnings&amp;lt;/span&amp;gt; is ignored.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;/Include:[[&amp;amp;lt;dir&amp;amp;gt;;]*&amp;amp;lt;dir&amp;amp;gt;] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Specifies the directories the compiler will concatenate to the existing list of &amp;lt;span&amp;gt;&amp;#039;&amp;#039;include directories&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The default include directory is the current directory.&lt;br /&gt;
This option determines additional directories in which the compiler will search include files, which are mentioned in the preprocessor &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;#include&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt; directives specified in the compiler source files.&lt;br /&gt;
&lt;br /&gt;
You can define more than one directory in one &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/Include&amp;lt;/span&amp;gt; option; such directories should be separated with the semicolon &amp;#039;&amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;;&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;#039;. If more than one &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/Include&amp;lt;/span&amp;gt; option are used then the specified directories are appended to the list of include directories. The directories can be repeated.&lt;br /&gt;
&lt;br /&gt;
The compiler tries to find a specified include source file in the following way:&lt;br /&gt;
* If the filename contains an absolute path, then this file should be included.&lt;br /&gt;
* Otherwise, the compiler searches for the specified include filename in the &amp;quot;&amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;.&amp;lt;/span&amp;gt;&amp;quot; (current) directory.&lt;br /&gt;
* Otherwise, the compiler searches for the specified include filename among the paths that had been defined by the &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/Include&amp;lt;/span&amp;gt; command line option. These paths are handled consequently as they are specified in the option. In the IDE, you can set these paths in the &amp;#039;&amp;#039;&amp;#039;Include Directories&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;&amp;#039;&amp;#039;Directories&amp;#039;&amp;#039;&amp;#039; tab of the &amp;#039;&amp;#039;&amp;#039;Project Settings&amp;#039;&amp;#039;&amp;#039; dialog.&lt;br /&gt;
&lt;br /&gt;
/Warnings: {ASError|ASWarning|NOthing|warning_name [ |-|*]}&lt;br /&gt;
&lt;br /&gt;
This option determines, which warnings the compiler should produce.&lt;br /&gt;
&lt;br /&gt;
Option &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/Warning&amp;lt;/span&amp;gt; can have the following values:&lt;br /&gt;
&lt;br /&gt;
ASWarning&lt;br /&gt;
&lt;br /&gt;
All warnings are treated as warnings (this is the default).&lt;br /&gt;
&lt;br /&gt;
ASError&lt;br /&gt;
&lt;br /&gt;
All warnings are treated warnings as errors.&lt;br /&gt;
&lt;br /&gt;
NOthing&lt;br /&gt;
&lt;br /&gt;
All warnings are suppressed.&lt;br /&gt;
&lt;br /&gt;
{ warning_name | warning_number } [ warning_state ]&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;warning_state&amp;lt;/span&amp;gt; can be one of the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt; &amp;lt;/span&amp;gt; Treated as a warning (this is the default).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;-&amp;lt;/span&amp;gt; Suppressed (this warning will not be checked).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt; This warning will be treated as an error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The first three values ASError, &lt;br /&gt;
 ASWarning, NOthing &lt;br /&gt;
 affect all warnings. The syntax &amp;lt;span class=code-span&amp;gt;{ warning_name | &lt;br /&gt;
 warning_number } [ warning_state ]&amp;lt;/span&amp;gt; can be used to set the compiler &lt;br /&gt;
 reaction for a separate warning. If &amp;lt;span class=code-span&amp;gt;warning_state&amp;lt;/span&amp;gt; &lt;br /&gt;
 is omitted, then it is treated by default as warning (i.e. ’&amp;lt;span class=code-span&amp;gt;+&amp;lt;/span&amp;gt;’ &lt;br /&gt;
 is assumed). Several option values separated with commas can be specified &lt;br /&gt;
 in one option. &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;warning_name&amp;lt;/span&amp;gt; and &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;warning_number &amp;lt;/span&amp;gt;can be the following:&lt;br /&gt;
&lt;br /&gt;
INVALDig | 212&lt;br /&gt;
&lt;br /&gt;
Value of &amp;lt;span class=&amp;quot;vp-minorkeyword&amp;quot;&amp;gt;digits&amp;lt;/span&amp;gt; (in the real domain declaration) is too large and is set to the maximal supported value. See also the error message &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;c212&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
SCOPERef | 213&lt;br /&gt;
&lt;br /&gt;
A name in SUPPORTS/PREDICATES FROM/OPENS/INHERITS equals to a scope name. See also the error message &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;c213 &amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
ALREADYSup | 260&lt;br /&gt;
&lt;br /&gt;
Interface is already supported in a class declaration. See also the error message &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;c260 &amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
SINGLEFact | 288&lt;br /&gt;
&lt;br /&gt;
Single fact does not have arguments. See also the error message &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;c288&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
PREDRES | 259&lt;br /&gt;
&lt;br /&gt;
Predicate resolution is overridden. See also the error message &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;c259&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
UNUSEDvar | 507&lt;br /&gt;
&lt;br /&gt;
Unused variable. See also the error message &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;c507&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
UNUSEDEnt | 654 | 661 | 662&lt;br /&gt;
&lt;br /&gt;
Unused entity. Â See also the error messages &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;c654&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;c661&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;c662&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
SCOPE | 214&lt;br /&gt;
&lt;br /&gt;
Duplicated name in &amp;lt;span class=&amp;quot;vp-keyword&amp;quot;&amp;gt;SUPPORTS&amp;lt;/span&amp;gt;/&amp;lt;span class=&amp;quot;vp-keyword&amp;quot;&amp;gt;PREDICATES&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;vp-keyword&amp;quot;&amp;gt;FROM&amp;lt;/span&amp;gt;/&amp;lt;span class=&amp;quot;vp-keyword&amp;quot;&amp;gt;OPENS&amp;lt;/span&amp;gt;/&amp;lt;span class=&amp;quot;vp-keyword&amp;quot;&amp;gt;INHERITS&amp;lt;/span&amp;gt;. See also the error message &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;c214&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
RESOLve | 228&lt;br /&gt;
&lt;br /&gt;
Duplicated resolution in &amp;lt;span class=&amp;quot;vp-keyword&amp;quot;&amp;gt;PREDICATES&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;vp-keyword&amp;quot;&amp;gt;FROM&amp;lt;/span&amp;gt;/&amp;lt;span class=&amp;quot;vp-keyword&amp;quot;&amp;gt;RESOLVE&amp;lt;/span&amp;gt;. See also the error message &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;c228&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
PROCedure | 631&lt;br /&gt;
&lt;br /&gt;
Declared predicate mode does not correspond to the evaluated one. See also the error message &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;c631&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
CONVersion |656&lt;br /&gt;
&lt;br /&gt;
Superfluous conversion. See also the error message &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;c656&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
MORETHANonce | 313&lt;br /&gt;
&lt;br /&gt;
Variable is used more than one time. See also the error message &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;c313&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
INITObject | 657&lt;br /&gt;
&lt;br /&gt;
Usage of not fully initialized object can lead to errors (it is turned off by the default). See also the error message &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;c657&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Option Examples:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/W:aserror&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/W:no,invaldig*, scope&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/W:-notgr&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/Warn:631-&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/Optimize:{ALL|None|FINal}&lt;br /&gt;
&lt;br /&gt;
This option handles optimizations. Possible option values are:&lt;br /&gt;
&lt;br /&gt;
ALL&lt;br /&gt;
&lt;br /&gt;
Full optimization.&lt;br /&gt;
&lt;br /&gt;
None&lt;br /&gt;
&lt;br /&gt;
No optimizations.&lt;br /&gt;
&lt;br /&gt;
FINal&lt;br /&gt;
&lt;br /&gt;
Optimization of the last calls.&lt;br /&gt;
&lt;br /&gt;
/Listing: ALL,NOne,MIN,Include,UNICode,STATistics,MEssage,Requires&amp;lt;br /&amp;gt; /NOListing&lt;br /&gt;
&lt;br /&gt;
This option determines, which information will be placed into a listing file. Errors are always printed into the listing file. &amp;lt;br /&amp;gt; Whether warnings will be placed into the listing file or not Â is controlled by the &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/WARning&amp;lt;/span&amp;gt; option.&lt;br /&gt;
More than one value separated with commas can be used in one option. Possible option values are:&lt;br /&gt;
&lt;br /&gt;
ALL&lt;br /&gt;
&lt;br /&gt;
Maximal possible output.&lt;br /&gt;
&lt;br /&gt;
NOne&lt;br /&gt;
&lt;br /&gt;
No output at all.&lt;br /&gt;
&lt;br /&gt;
MIN&lt;br /&gt;
&lt;br /&gt;
The minimal possible output (nothing will be placed except for the mandatory). This is the default.&lt;br /&gt;
&lt;br /&gt;
Include&lt;br /&gt;
&lt;br /&gt;
Indications of &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;#include&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt; directives.&lt;br /&gt;
&lt;br /&gt;
UNICode&lt;br /&gt;
&lt;br /&gt;
UNICODE output (ANSI by the default).&lt;br /&gt;
&lt;br /&gt;
STATistics&lt;br /&gt;
&lt;br /&gt;
Generates statistics information.&lt;br /&gt;
&lt;br /&gt;
MEssage&lt;br /&gt;
&lt;br /&gt;
Places indication of the &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;#message&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt; directives.&lt;br /&gt;
&lt;br /&gt;
Requires&lt;br /&gt;
&lt;br /&gt;
Places indication of the &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;#requires&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt; and &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;#orrequires&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt; directives.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/L:all&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/L:min&amp;lt;/span&amp;gt; or &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/L&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/L:all,message-&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/NOL&amp;lt;/span&amp;gt; or &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;/L:NO&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/DEBug&amp;lt;nowiki&amp;gt;: {NONE|LINENO|FULL}&amp;lt;/nowiki&amp;gt;&amp;lt;br /&amp;gt; /NODEBug&lt;br /&gt;
&lt;br /&gt;
The generate debug information option determines how detailed debugging information should be.&lt;br /&gt;
&lt;br /&gt;
Possible option values are:&lt;br /&gt;
&lt;br /&gt;
NONE&lt;br /&gt;
&lt;br /&gt;
The compiler should not put the line number and the debugging information into the target file.&lt;br /&gt;
&lt;br /&gt;
LINENO&lt;br /&gt;
&lt;br /&gt;
The compiler should generate and put the line number information into the target file. This can be used to follow the execution in traditional C debuggers like CodeView or TD. Notice that the line number information can be generated only for the main Prolog module (containing the GOAL section).&lt;br /&gt;
&lt;br /&gt;
FULL&lt;br /&gt;
&lt;br /&gt;
The compiler should generate and put the line number and the debugging information into the target file. This works like &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;LINENO&amp;lt;/span&amp;gt; and additionally generates information for the PDC Debugger. This is the default.&lt;br /&gt;
&lt;br /&gt;
/OBjectdir: &amp;amp;lt;dir&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this option, you can specify a target object directory name.&lt;br /&gt;
&lt;br /&gt;
/DEBUGDir: &amp;amp;lt;dir&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this option, you can specify a target directory for debugging information.&lt;br /&gt;
&lt;br /&gt;
/PRO2C&lt;br /&gt;
&lt;br /&gt;
When this option is specified, the compiler will generate C header file for each compiled compilation unit.&amp;lt;br /&amp;gt; For instance, if you compile a package &amp;lt;span class=&amp;quot;file&amp;quot;&amp;gt;Test.pack&amp;lt;/span&amp;gt;, then the generated header file will have the name &amp;lt;span class=&amp;quot;file&amp;quot;&amp;gt;Test.pack.hpp&amp;lt;/span&amp;gt;. &amp;lt;br /&amp;gt; Please notice, that this is an experimental feature. We very careful using generated &amp;lt;span class=&amp;quot;file&amp;quot;&amp;gt;.hpp&amp;lt;/span&amp;gt; files.&lt;br /&gt;
&lt;br /&gt;
/PROFILE: {OFF | MIN | ON}&lt;br /&gt;
&lt;br /&gt;
When this option is specified for a compiled module, Â you can use the &amp;lt;span class=&amp;quot;code-span&amp;quot;&amp;gt;profileCount&amp;lt;/span&amp;gt; class predicates from the &amp;lt;span&amp;gt;&amp;#039;&amp;#039;&amp;#039;profile&amp;#039;&amp;#039;&amp;#039;&amp;lt;/span&amp;gt; package for this module.&lt;br /&gt;
&lt;br /&gt;
/READOnlyterm&lt;br /&gt;
&lt;br /&gt;
This option is automatically handled by the IDE. It should be always specified for the compiler, when it compiles modules of DLL targets, and it always should &amp;lt;span&amp;gt;&amp;#039;&amp;#039;&amp;#039;NOT&amp;#039;&amp;#039;&amp;#039;&amp;lt;/span&amp;gt; be specified for the compiler, when it compiles modules of executable targets.&lt;br /&gt;
&lt;br /&gt;
When this option is specified for a compiled module, then, as soon as a constant from this module becomes visible from any other module, this constant is copied from the read-only memory of the module (where it is ordinary stored) onto the writable memory Â of the other module, which calls the first module.&lt;br /&gt;
&lt;br /&gt;
This copying of constants (defined in a DLL) from the DLL read-only memory into the memory of a module, which loads the DLL, should be done to avoid the following possible problem. An executable can load a DLL and an executable clause can receive a constant term from the DLL. Notice that without using of the &amp;lt;span&amp;gt;&amp;#039;&amp;#039;&amp;#039;/READOnlyterm&amp;#039;&amp;#039;&amp;#039;&amp;lt;/span&amp;gt; option for the DLL modules, the constant will not be copied from the DLL read-only memory (where it is normally stored) into memory of the executable module, which calls this DLL (for the reason of performance). The executable only creates a pointer to the DLL memory block, which stories the referenced constant term. Now the executable can unload the DLL and then try to use the referenced constant term. Really the executable will try to access the DLL memory block referenced with the created pointer to the constant term, but now the unloaded DLL memory is UNACCESSIBLE to the executable and such attempt will probably lead to exception.&lt;br /&gt;
&lt;br /&gt;
Therefore, when the compiler compiles modules, which will be used to build DLLs, the &amp;lt;span&amp;gt;&amp;#039;&amp;#039;&amp;#039;/ReadOnlyTerm&amp;#039;&amp;#039;&amp;#039;&amp;lt;/span&amp;gt; option should be used. But, when the compiler compiles modules, which will NOT be used to build DLLs, then the &amp;lt;span&amp;gt;&amp;#039;&amp;#039;&amp;#039;/ReadOnlyTerm&amp;#039;&amp;#039;&amp;#039;&amp;lt;/span&amp;gt; option should NOT be used (to increase the performance).&lt;br /&gt;
&lt;br /&gt;
/WEAKTypecheck&lt;br /&gt;
&lt;br /&gt;
When this option is specified, the compiler performs weaker type checks. It is turned off by the default. It can be used for the compatibility with the previous compiler versions. If new type errors appear for the project which was complied successfully before, then either these type errors should be corrected, or the option should be turned on.&lt;br /&gt;
&lt;br /&gt;
/MACHine: {x86 | x64}&lt;br /&gt;
&lt;br /&gt;
This option specifies the target platform (&amp;#039;&amp;#039;&amp;#039;x86&amp;#039;&amp;#039;&amp;#039; - 32bit Windows, &amp;#039;&amp;#039;&amp;#039;x64&amp;#039;&amp;#039;&amp;#039; - 64bit Windows).&lt;/div&gt;</summary>
		<author><name>GalinaTchekmareva</name></author>
	</entry>
</feed>