This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [DOCS] Re: i686 bootstrap problem


On Fri, 4 May 2001, Gerald Pfeifer wrote:

> On Mon, 30 Apr 2001, Richard Henderson wrote:
> >> In caveats.html (which we don't yet have for 3.0), along with all the
> >> deprecations of various features, lack of Chill, etc..
> > Ignoring the other bits, how's this?
> 
> Thanks, this is fine!
> 
> I went ahead and comitted this as htdocs/gcc-3.0/caveats.html.
> 
> As with features.html, all maintainers are more than welcome to enhance
> and update this w/o explicit approval!

I've installed the following patch to add more to this file.  
Preprocessor maintainers might want to look at this bit on multiline
string constants, check its accuracy and add any other preprocessor
deprecations.

I'd also like to document here that the old GNU designated initializer
syntax is deprecated.  The warnings only appear with -pedantic, and the
old syntax is widely used (e.g. in the Linux kernel), and it doesn't
particularly complicate the grammar, but users were clearly told in the
2.5 (!) release notes that the syntax had changed to what's now in C99.

Index: caveats.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-3.0/caveats.html,v
retrieving revision 1.1
diff -u -r1.1 caveats.html
--- caveats.html	2001/05/04 11:30:34	1.1
+++ caveats.html	2001/05/04 11:59:53
@@ -12,6 +12,24 @@
   function parameters and function returns.  Normally this change is
   not visible, but when using <code>-fshort-enums</code> this is an
   ABI change.</li>
+
+  <li>The undocumented extension that allowed C programs to have a
+  label at the end of a compound statement has been deprecated and may
+  be removed in a future version.  Programs that now generate a
+  warning about this may be fixed by adding a null statement (a single
+  semicolon) after the label.</li>
+
+  <li>The poorly documented extension that allowed string constants in
+  C, C++ and Objective C to contain unescaped newlines has been
+  deprecated and may be removed in a future version.  Programs using
+  this extension may be fixed in several ways: the bare newline may be
+  replaced by <code>\n</code>, or preceded by <code>\n\</code>, or
+  string concatenation may be used with the bare newline preceded by
+  <code>\n"</code> and <code>"</code> placed at the start of the next
+  line.</li>
+
+  <li>The Chill compiler is not included in GCC 3.0, because of the
+  lack of a volunteer to convert it to use garbage collection.</li>
 </ul>
 
 </body>

-- 
Joseph S. Myers
jsm28@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]