This is the mail archive of the gcc@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: Projects for beginners


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


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