By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,852 Members | 2,240 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,852 IT Pros & Developers. It's quick & easy.

support of C99 VLA in compilers

P: n/a
I checked the FAQ but didn't see any mention of C99 support in today's
compilers. In particular I'm interested in VLA support. Any links or info
about the status? I read that GCC had experimental VLA support since before
C99 and that it still isn't exactly the same as the C99 VLA.

thanks,
-Ben
Dec 13 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
"Ben Hinkle" <bh*****@mathworks.com> wrote in message
news:dn**********@fred.mathworks.com...
I checked the FAQ but didn't see any mention of C99 support in today's
compilers. In particular I'm interested in VLA support. Any links or info
about the status? I read that GCC had experimental VLA support since before
C99 and that it still isn't exactly the same as the C99 VLA.


Comeau C/C++ has full C99 support, including VLAs. So does
the latest compiler from Sun, which is now free. Otherwise,
any compiler that uses the EDG front end (such as Comeau)
should support VLAs.

P.J. Plauger
Dinkumware, Ltd.
http://www.dinkumware.com
Dec 13 '05 #2

P: n/a
Ben Hinkle wrote:

I checked the FAQ but didn't see any mention of C99 support in
today's compilers. In particular I'm interested in VLA support.
Any links or info about the status? I read that GCC had
experimental VLA support since before C99 and that it still isn't
exactly the same as the C99 VLA.


Hunt down the gnu home page for gcc (unsure about URL). They
maintain a page specifying the degree of C99 compliance achieved,
with details.

--
Read about the Sony stealthware that is a security leak, phones
home, and is generally illegal in most parts of the world. Also
the apparent connivance of the various security software firms.
http://www.schneier.com/blog/archive...drm_rootk.html
Dec 13 '05 #3

P: n/a
"Chuck F. " <cb********@yahoo.com> writes:
Ben Hinkle wrote:
I checked the FAQ but didn't see any mention of C99 support in
today's compilers. In particular I'm interested in VLA support. Any
links or info about the status? I read that GCC had experimental VLA
support since before C99 and that it still isn't
exactly the same as the C99 VLA.


Hunt down the gnu home page for gcc (unsure about URL). They maintain
a page specifying the degree of C99 compliance achieved, with details.


Googling gcc c99 status yields <http://gcc.gnu.org/c99status.html>.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Dec 14 '05 #4

P: n/a
Keith Thompson wrote:

"Chuck F. " <cb********@yahoo.com> writes:
Ben Hinkle wrote:
I checked the FAQ but didn't see any mention of C99 support in
today's compilers. In particular I'm interested in VLA support. Any
links or info about the status? I read that GCC had experimental VLA
support since before C99 and that it still isn't
exactly the same as the C99 VLA.


Hunt down the gnu home page for gcc (unsure about URL). They maintain
a page specifying the degree of C99 compliance achieved, with details.


Googling gcc c99 status yields <http://gcc.gnu.org/c99status.html>.

In case its not on there I can confirm that GCC has supported
VLAS since before gcc-2.95.

Erik
--
+-----------------------------------------------------------+
Erik de Castro Lopo
+-----------------------------------------------------------+
"Allaah has forbidden the believers to take the kaafireen
(disbelievers) as friends, and He has issued a stern warning
against doing that." --
http://islamqa.com/index.php?ln=eng&...QR=59879&dgn=4
Dec 15 '05 #5

P: n/a
Erik de Castro Lopo wrote:
Keith Thompson wrote:
"Chuck F. " <cb********@yahoo.com> writes:
Ben Hinkle wrote:
I checked the FAQ but didn't see any mention of C99 support in
today's compilers. In particular I'm interested in VLA support. Any
links or info about the status? I read that GCC had experimental VLA
support since before C99 and that it still isn't
exactly the same as the C99 VLA.
Hunt down the gnu home page for gcc (unsure about URL). They maintain
a page specifying the degree of C99 compliance achieved, with details.

Googling gcc c99 status yields <http://gcc.gnu.org/c99status.html>.


In case its not on there I can confirm that GCC has supported
VLAS since before gcc-2.95.


However that support does not conform to the C99 standard and GNU have
never claimed that it conformed to the C99 standard.
--
Flash Gordon
Living in interesting times.
Although my email address says spam, it is real and I read it.
Dec 15 '05 #6

P: n/a
On 2005-12-15, Flash Gordon <sp**@flash-gordon.me.uk> wrote:
Erik de Castro Lopo wrote:
Keith Thompson wrote:
"Chuck F. " <cb********@yahoo.com> writes:
Ben Hinkle wrote:
> I checked the FAQ but didn't see any mention of C99 support in
> today's compilers. In particular I'm interested in VLA support. Any
> links or info about the status? I read that GCC had experimental VLA
> support since before C99 and that it still isn't
> exactly the same as the C99 VLA.
Hunt down the gnu home page for gcc (unsure about URL). They maintain
a page specifying the degree of C99 compliance achieved, with details.
Googling gcc c99 status yields <http://gcc.gnu.org/c99status.html>.


In case its not on there I can confirm that GCC has supported
VLAS since before gcc-2.95.


However that support does not conform to the C99 standard and GNU have
never claimed that it conformed to the C99 standard.


In the implementation table it's listed as "broken" - out of curiosity,
how does the gcc implementation differ from that in the c99 standard?
Dec 15 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.