This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch to include traditional C support removal in beginner project docs
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: pfeifer at dbai dot tuwien dot ac dot at
- Date: Sun, 30 Jun 2002 12:29:03 -0400 (EDT)
- Subject: Patch to include traditional C support removal in beginner project docs
Ok to install?
Thanks,
--Kaveh
Index: beginner.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/projects/beginner.html,v
retrieving revision 1.20
diff -u -p -r1.20 beginner.html
--- beginner.html 24 Jan 2002 17:19:02 -0000 1.20
+++ beginner.html 30 Jun 2002 13:31:34 -0000
@@ -147,6 +147,22 @@ still does generate the warning where it
to take those patches too.</p>
</li>
+<li>Eliminate support for compiling with traditional C compilers in
+the language frontend subdirectories.
+
+<p>See: <a href="http://gcc.gnu.org/ml/gcc/2002-06/msg00871.html">this
+announcement</a> and the discussion following it which clarifies the
+guidelines. In addition to the cleanups <a
+href="http://gcc.gnu.org/ml/gcc/2002-06/msg00959.html">listed
+here</a>, one can also consider removing unnecessary casts, such as
+those on the return value of xmalloc, alloca and other memory
+allocation routines, casts on the arguments passed e.g. to the mem*
+functions, casts on 0 e.g. used in assignment, initialization or
+comparison, etc. Note casts on values passed to stdarg functions or
+used in ~ mask operations may still be necessary since they ensure
+type width.</p>
+</li>
+
<li>Find and expunge all the places where one <code>.c</code> file includes
another.