which C standard

G

Graham Agnew

Hi,

Which C standard does MRI use? When I run configure on HP-UX, it seems
to use C89.

I recently ran into an issue compiling the gherkin gem. Seems that the
C code in that gem makes use of C99 features like variable declarations
in the middle of a block, and variable length arrays.

Is it a bug in the gem to be using these features, or a bug in the MRI
configure script to set the CFLAGS such that C89 is selected at compile
time?

Cheers,
Gra.
 

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

No members online now.

Forum statistics

Threads
474,146
Messages
2,570,832
Members
47,374
Latest member
anuragag27

Latest Threads

Top