Re: CERT C Secure Coding Standard - last call for reviewers



jacob navia wrote, On 21/03/08 21:47:
santosh wrote:
jacob navia wrote:

Keith Thompson wrote:
*You* complain about this?


Yes me. You could see the size and budget difference between gcc's
team (several dozen people working full time) and my effort (two
people working part time).

When is your own lcc-win going to be fully C99 compliant?
The only feature really missing is the designator initializers
feature.

So far, you
seem to be spending most of your time inventing and implementing
extensions rather than finishing work on the implementation of the
core language.
No. I have implemented with my extensions the complex numbers
part of C99, and using the generic functions feature I implemented
all the tgmath.h in a general way.

So from a C99 P.O.V. your compiler still lacks complex support and
tgmath.h?

Of course you are free to implement them with your extensions, but to
claim conformance to C99 you'll also have to provide a mode where the
standard specified syntax and semantics are also accepted.

<snip>


Well, they are accepted

double _Complex a,b;
// ...
a = a+b;

If my compiler uses operator overloading to implement that,
it complies with the AS IF rule, as far as I see.

Ah, but does it still work and produce all required diagnostics if you put it in standard compliant mode? I seem to recall that for operator overloading you use a syntax that in standard compliant mode requires a diagnostic (not that there is anything wrong with extensions that require a diagnostic in standard compliant mode).
--
Flash Gordon
.



Relevant Pages

  • Re: CERT C Secure Coding Standard - last call for reviewers
    ... I have implemented with my extensions the complex numbers ... but does it still work and produce all required diagnostics if you ... overloading you use a syntax that in standard compliant mode requires ...
    (comp.lang.c)
  • Re: CERT C Secure Coding Standard - last call for reviewers
    ... The only feature really missing is the designator initializers ... I have implemented with my extensions the complex numbers ... part of C99, and using the generic functions feature I implemented ... So from a C99 P.O.V. your compiler still lacks complex support and ...
    (comp.lang.c)
  • Re: how do i get rid of subsites
    ... If your host does nothave the extensions the publish feature ... > I imported a site as a subsite. ...
    (microsoft.public.frontpage.client)
  • Re: Help a beginner - function with pointer ...
    ... C90-only feature) in the same program *if* you want the program to ... extensions and some arbitrary set of C99 features, ... a subtly different set of extensions and features, ... implicit conversion when it's available. ...
    (comp.lang.c)
  • Re: arrange by type in windows xp
    ... I had always thought that this feature simply arranged ... > files by alphabetizing them by their extensions, ... > isn't found by scanning extensions for P, it is found by scanning the ...
    (microsoft.public.windowsxp.customize)