Re: So what Standard are we working off?
- From: Ian Collins <ian-news@xxxxxxxxxxx>
- Date: Sat, 01 Jul 2006 09:04:37 +1200
Richard Heathfield wrote:
Harald van D?k said:If you use restrict as an identifier, you might run into trouble on a
Richard Heathfield wrote:
Mark F. Haigh said:
Richard Heathfield wrote:
<snip>
I think the part of the C community that cares about portability wants
a widely-implemented standard, which it already has. Until C99 becomes
as widespread as C90, why would anyone use it if they need
portability?
Come on, quit being so negative. Having everybody agree on "restrict"
now, for example, is better than a bunch of subtly incompatible type
aliasing optimization extensions later.
Not if it stops my program from compiling.
It shouldn't if you define restrict as an empty macro in C90 mode, or
otherwise hide it.
I have found that the best way to hide restrict is not to define it at all,
not to use it, not to even think about using it, except of course as a
perfectly normal identifier. As far as I'm concerned, it's in user
namespace, and the C standardeers have no business polluting that space.
POSIX system.
--
Ian Collins.
.
- References:
- So what Standard are we working off?
- From: Frederick Gotham
- Re: So what Standard are we working off?
- From: Keith Thompson
- Re: So what Standard are we working off?
- From: Frederick Gotham
- Re: So what Standard are we working off?
- From: Richard Heathfield
- Re: So what Standard are we working off?
- From: Mark F. Haigh
- Re: So what Standard are we working off?
- From: Richard Heathfield
- Re: So what Standard are we working off?
- From: Harald van Dijk
- Re: So what Standard are we working off?
- From: Richard Heathfield
- So what Standard are we working off?
- Prev by Date: Re: BOMDAS Vs BODMAS
- Next by Date: Re: So what Standard are we working off?
- Previous by thread: Re: So what Standard are we working off?
- Next by thread: Re: So what Standard are we working off?
- Index(es):
Relevant Pages
|