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]
Other format: [Raw text]

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.
 


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