Gerald Pfeifer | 1 Jul 2002 11:50
Picon
Favicon

Re: Patch to include traditional C support removal in beginner project docs

On Sun, 30 Jun 2002, Kaveh R. Ghazi wrote:
> 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
>  <at>  <at>  -147,6 +147,22  <at>  <at>  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>

Would you mind making this <a href="...">cleanups 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>
(Continue reading)


Gmane