POV-Ray : Newsgroups : povray.pov4.discussion.general : Next Generation SDL Brainstorming : Re: Next Generation SDL Brainstorming Server Time
1 Jul 2024 04:32:07 EDT (-0400)
  Re: Next Generation SDL Brainstorming  
From: clipka
Date: 28 Mar 2009 10:30:00
Message: <web.49ce3420ad59404722390e420@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> clipka <nomail@nomail> wrote:
> > > for(int i=0;i++<10;)vec[i]=i*i;
>
> > Well, that's (1) not plain C but C++
>
>   That has been valid C for 10 years now.

There are still environments where the original C89 ANSI-C is *the* C standard.
Not only because of compiler availablility.

For instance, high-reliability systems written in C are often required to be
MISRA-C compliant - which as of today still demands use of plain vanilla C90
ANSI-C (if I'm not mistaken; it may be even C89).

The least common denominator today is still C89 ANSI-C (and actually only a
subset thereof, namely that which is not specified as leading to
compiler-specific or undefined behavior).


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.