Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Re: Variably modified arrays

Reply
Thread Tools

Re: Variably modified arrays

 
 
Andrey Tarasevich
Guest
Posts: n/a
 
      01-24-2013
On 1/24/2013 8:16 AM, Russell Shaw wrote:
> In gcc-4.7 C99, this is accepted in a block scope:


If you want to use GCC to verify formal validity of C language
constructs, you have to run it in '-pedantic-errors' mode.

Without '-pedantic-errors', the language accepted by GCC (even in
explicitly specified C99 mode) is significantly extended on top of pure C99.

--
Best regards,
Andrey Tarasevich

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Variably modified arrays James Kuyper C Programming 1 01-24-2013 04:47 PM
Re: Variably modified arrays Shao Miller C Programming 0 01-24-2013 04:17 PM
Explanation needed for const int "error: variably modified ... atfile scope." Poster Matt C Programming 21 06-16-2010 05:35 PM
error: parameter may not have variably modified type Helmut Jarausch C++ 20 10-22-2009 11:09 AM
Variably modified struct/union and C99 Foo C Programming 2 10-08-2009 11:54 AM



Advertisments