Mailinglist Archive: opensuse-factory (1135 mails)

< Previous Next >
[opensuse-factory] ISO C11 support in 12.2?
  • From: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@xxxxxxx>
  • Date: Tue, 05 Jun 2012 19:49:53 +0200
  • Message-id: <>

is openSUSE 12.2 ready for ISO C11? AFAICS gcc 4.7 seems to be mostly
ready for C11, but apparently glibc trunk has quite a few changes for
C11 support which are missing in the latest glibc release.

A possible quick check is to run gcc -std=c11 (with appropriate warnings
switched on) for source code which contains a call to strdup(). That
function is part of C11, but not of C99. If your C library is not C11
capable and if your compiler is not using a builtin, that should trigger
a warning.



To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >