This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.22-467-gcaf2d83


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  caf2d83659ce326c23bca0393a2a88749c4a9def (commit)
      from  b08b42183537d91556ad8649717aa8e61e564207 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=caf2d83659ce326c23bca0393a2a88749c4a9def

commit caf2d83659ce326c23bca0393a2a88749c4a9def
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Oct 27 17:11:31 2015 +0000

    Use -std=c11 for C11 conform/ tests.
    
    Now that GCC 4.7 or later is required to build glibc, this patch makes
    the conformance tests use -std=c11 for C11 tests instead of -std=c1x
    -D_ISOC11_SOURCE.
    
    Tested for x86_64 and x86 (conform/ tests).
    
    	* conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
    	of -std=c1x -D_ISOC11_SOURCE.

diff --git a/ChangeLog b/ChangeLog
index d4af4ec..832eed1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
 
+	* conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
+	of -std=c1x -D_ISOC11_SOURCE.
+
 	* configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
 	* configure: Regenerated.
 	* manual/install.texi (Tools for Compilation): Document
diff --git a/conform/GlibcConform.pm b/conform/GlibcConform.pm
index 8aeada4..218b6ec 100644
--- a/conform/GlibcConform.pm
+++ b/conform/GlibcConform.pm
@@ -27,7 +27,7 @@ require Exporter;
 # Compiler options for each standard.
 $CFLAGS{"ISO"} = "-ansi";
 $CFLAGS{"ISO99"} = "-std=c99";
-$CFLAGS{"ISO11"} = "-std=c1x -D_ISOC11_SOURCE";
+$CFLAGS{"ISO11"} = "-std=c11";
 $CFLAGS{"POSIX"} = "-D_POSIX_C_SOURCE=199506L -ansi";
 $CFLAGS{"XPG3"} = "-ansi -D_XOPEN_SOURCE";
 $CFLAGS{"XPG4"} = "-ansi -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED";

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog               |    3 +++
 conform/GlibcConform.pm |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]