aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/doc/src
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compiler/doc/src')
-rw-r--r--lib/compiler/doc/src/compile.xml14
-rw-r--r--lib/compiler/doc/src/notes.xml69
2 files changed, 76 insertions, 7 deletions
diff --git a/lib/compiler/doc/src/compile.xml b/lib/compiler/doc/src/compile.xml
index c39c9b25eb..bbd3f1043d 100644
--- a/lib/compiler/doc/src/compile.xml
+++ b/lib/compiler/doc/src/compile.xml
@@ -4,7 +4,7 @@
<erlref>
<header>
<copyright>
- <year>1996</year><year>2009</year>
+ <year>1996</year><year>2010</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -13,12 +13,12 @@
compliance with the License. You should have received a copy of the
Erlang Public License along with this software. If not, it can be
retrieved online at http://www.erlang.org/.
-
+
Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
the License for the specific language governing rights and limitations
under the License.
-
+
</legalnotice>
<title>compile</title>
@@ -212,6 +212,12 @@
success.</p>
</item>
+ <tag><c>warnings_as_errors</c></tag>
+ <item>
+ <p>Causes warnings to be treated as errors. This option is supported
+ since R13B04.</p>
+ </item>
+
<tag><c>return</c></tag>
<item>
<p>This is a short form for both <c>return_errors</c> and
@@ -726,7 +732,7 @@ pi() -> 3.1416.
<p>A string describing the error is obtained with the following
call:</p>
<code>
-apply(Module, format_error, ErrorDescriptor)
+Module:format_error(ErrorDescriptor)
</code>
</section>
diff --git a/lib/compiler/doc/src/notes.xml b/lib/compiler/doc/src/notes.xml
index 7d1913d740..7ea000a895 100644
--- a/lib/compiler/doc/src/notes.xml
+++ b/lib/compiler/doc/src/notes.xml
@@ -4,7 +4,7 @@
<chapter>
<header>
<copyright>
- <year>2004</year><year>2009</year>
+ <year>2004</year><year>2010</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -13,12 +13,12 @@
compliance with the License. You should have received a copy of the
Erlang Public License along with this software. If not, it can be
retrieved online at http://www.erlang.org/.
-
+
Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
the License for the specific language governing rights and limitations
under the License.
-
+
</legalnotice>
<title>Compiler Release Notes</title>
@@ -31,6 +31,69 @@
<p>This document describes the changes made to the Compiler
application.</p>
+<section><title>Compiler 4.6.5</title>
+
+ <section><title>Fixed Bugs and Malfunctions</title>
+ <list>
+ <item>
+ <p>
+ Using complex boolean expressions in ifs could cause the
+ compiler to either crash or teminate with an internal
+ error. (Thanks to Simon Cornish.)</p>
+ <p>
+ Own Id: OTP-8338</p>
+ </item>
+ <item>
+ <p>Bit string comprehensions can now be used in
+ parameterized modules. (Thanks to Jebu Ittiachen.)</p>
+ <p>
+ Own Id: OTP-8447</p>
+ </item>
+ </list>
+ </section>
+
+
+ <section><title>Improvements and New Features</title>
+ <list>
+ <item>
+ <p>
+ The expected return value for an on_load function has
+ been changed. (See the section about code loading in the
+ Reference manual.)</p>
+ <p>
+ *** POTENTIAL INCOMPATIBILITY ***</p>
+ <p>
+ Own Id: OTP-8339</p>
+ </item>
+ <item>
+ <p>
+ In rare circumstances when using garbaging collecting
+ guard BIFs, the validation pass (beam_validator) would
+ signal that the code was unsafe, when it in fact was
+ correct. (Thanks to Kiran Khaladkar.)</p>
+ <p>
+ Own Id: OTP-8378</p>
+ </item>
+ <item>
+ <p>
+ The <c>-Werror</c> option for <c>erlc</c> and the
+ compiler option <c>warnings_as_errors</c> will cause
+ warnings to be treated as errors. (Thanks to Christopher
+ Faulet.)</p>
+ <p>
+ Own Id: OTP-8382</p>
+ </item>
+ <item>
+ <p>Macros overloading has been implemented. (Thanks to
+ Christopher Faulet.)</p>
+ <p>
+ Own Id: OTP-8388</p>
+ </item>
+ </list>
+ </section>
+
+</section>
+
<section><title>Compiler 4.6.4</title>
<section><title>Fixed Bugs and Malfunctions</title>