[wwwdocs] C++ preprocessor changes in 4.3

Manuel López-Ibáñez lopezibanez@gmail.com
Sun Apr 1 22:09:00 GMT 2007


Hi,

The following documents the changes to the C++ preprocessor.

OK to commit?

Manuel.
-------------- next part --------------
Index: htdocs/gcc-4.3/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.3/changes.html,v
retrieving revision 1.42
diff -p -r1.42 changes.html
*** htdocs/gcc-4.3/changes.html	28 Mar 2007 14:44:53 -0000	1.42
--- htdocs/gcc-4.3/changes.html	1 Apr 2007 22:06:16 -0000
***************
*** 34,39 ****
--- 34,47 ----
  
      <li>The <code>-fforce-mem</code> option has been removed
      because it had no effect in the last few GCC releases.</li>
+ 
+     <li>C++ preprocessor emits errors by default for certain
+     nonconformant code and for <code>-pedantic</code>, following the
+     default behaviour of the C++ front-end. As a result, some
+     warnings, such as "no newline at end of file", are now hard
+     errors.  The <code>-fpermissive</code> option can be used to
+     downgrade these diagnostics from errors to warnings.</li>
+ 
    </ul>
  
  <h2>General Optimizer Improvements</h2>


More information about the Gcc-patches mailing list