Re: Inconsistent Program Results
- From: "D. Power" <powerd@xxxxxxxxxx>
- Date: Wed, 07 Mar 2007 11:28:24 -0700
In article <1173235295.638208.69780@xxxxxxxxxxxxxxxxxxxxxxxxxx>,
"Peter Nilsson" <airia@xxxxxxxxxxx> wrote:
"D. Power" <pow...@xxxxxxxxxx> wrote:
Francine.Ne...@xxxxxxxxxxxxxx wrote:
......
char *s, *restrict;
By the way, restrict is a type qualifier in C,
It's a qualifier in C99, but not in C90.
I see, thank you for that clarification.
so it's probably not a good name for a variable.
It's the fact that it's a keyword in C99 that makes it
unavailable for use as an ordinary identifier (in C99,)
rather than being a type qualifier per se.
free(s), s=restrict=0;
If you want to set these pointers to NULL, say so.
He did. ;-)
It's a style issue, as is using the comma operator rather
than separate statements.
Yes, I should have been clearer on that point.
[snip]
.
- References:
- Inconsistent Program Results
- From: Francine . Neary
- Re: Inconsistent Program Results
- From: D. Power
- Re: Inconsistent Program Results
- From: Peter Nilsson
- Inconsistent Program Results
- Prev by Date: Re: will this work??
- Next by Date: Re: comparing sizes of two structures
- Previous by thread: Re: Inconsistent Program Results
- Next by thread: Re: Inconsistent Program Results
- Index(es):
Relevant Pages
|