This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Projects for beginners
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: Projects for beginners
- From: "Zack Weinberg" <zackw at Stanford dot EDU>
- Date: Sun, 11 Mar 2001 01:04:08 -0800
- Cc: gcc at gcc dot gnu dot org, jsm28 at cam dot ac dot uk, neil at daikokuya dot demon dot co dot uk
- References: <200103110205.VAA20545@caip.rutgers.edu>
On Sat, Mar 10, 2001 at 09:05:15PM -0500, Kaveh R. Ghazi wrote:
> +will not produce an error. This is useful because you may wish to
> +enforce using the ISO C functions in your source code but the platform's
> +system headers define them in terms of the BSD variants. The above
> +exception allows these factors to coexist.
The sentence beginning "this is useful..." is really awkward. Something
like
This means that if you poison an identifier, you need not worry
about system headers defining macros that use it. For instance,
if your system headers define @code{memcpy} in terms of the BSD
@code{bcopy} function, it is still safe to poison @code{bcopy}.
would be clearer, IMO - it needs a bit of work to tie it into the
surrounding text.
zw