C99 to C89 translator

K

Keith Thompson

CBFalconer said:
WARNING - our resident Trollsdale is now trying to give the
impression he has something to do with Comeau. AFAIK he does not,
and will not. Comeau is respectable.

I didn't get that impression when I read ERT's article, so I suspect
it wasn't deliberate. But yes, he should have indicated more clearly
that he was quoting from the web page, not speaking on behalf of
Comeau.
 
C

CBFalconer

Randy said:
(e-mail address removed) says...

I see nothing above to indicate ERT is trying to claim he has
anything to do with it. On what do you base this claim?

I said "give the impression". See underlining above. Also the
overall tone.
 
B

Ben Pfaff

CBFalconer said:
Ben said:
[As a suggestion for translating VLAs into C89]
As long as you can customize to the non-standard aspects of a
particular compiler, you probably have many possibilities. One
is alloca.

The GCC manual notes that VLAs and alloca have different
semantics:

You snipped too much, in particular the following sentence:

"The point is that it doesn't matter, except to the implementor.
The user has a standard approved means of expressing himself."

My point is that alloca() is not always a good way to implement a
VLA.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top