qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject qpid-proton git commit: PROTON-1609: Use a gcc flag for C90 that works on gcc 4.4.7
Date Wed, 04 Oct 2017 20:57:52 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/master 2e09b3658 -> 338cb30eb


PROTON-1609: Use a gcc flag for C90 that works on gcc 4.4.7


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/338cb30e
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/338cb30e
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/338cb30e

Branch: refs/heads/master
Commit: 338cb30eb09bb0344b03240524fa5ed4edc57553
Parents: 2e09b36
Author: Andrew Stitcher <astitcher@apache.org>
Authored: Wed Oct 4 16:55:11 2017 -0400
Committer: Andrew Stitcher <astitcher@apache.org>
Committed: Wed Oct 4 16:55:11 2017 -0400

----------------------------------------------------------------------
 proton-c/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/338cb30e/proton-c/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/proton-c/CMakeLists.txt b/proton-c/CMakeLists.txt
index 1a50139..40d1d2e 100644
--- a/proton-c/CMakeLists.txt
+++ b/proton-c/CMakeLists.txt
@@ -298,7 +298,7 @@ endif()
 # The examples must be self-contained and build even if these are not set.
 if (CMAKE_C_COMPILER_ID MATCHES "Clang" OR CMAKE_COMPILER_IS_GNUCC)
   # Ensure that examples build with c90, to deal with older c++03-as-c compilers.
-  set(C_EXAMPLE_FLAGS "-std=c90 -pedantic")
+  set(C_EXAMPLE_FLAGS "-std=iso9899:1990 -pedantic")
 endif()
 
 # Set example flags in parent scope so example/CMakefile can read them.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message