public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Remove redefinition of __cpp_lib_array_constexpr
@ 2016-09-26 10:35 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2016-09-26 10:35 UTC (permalink / raw)
  To: libstdc++, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 294 bytes --]

I mistakenly defined this macro before I committed the feature, and
then we ended up with two (slightly different) definitions.

	* include/bits/range_access.h (__cpp_lib_array_constexpr): Do not
	redefine macro defined in <bits/stl_iterator.h>.

Tested powerpc64le-linux, committed to trunk.


[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 938 bytes --]

commit 2ee4111bd25d1685a2e092256c85776c52b6f628
Author: redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Mon Sep 26 10:17:53 2016 +0000

    Remove redefinition of __cpp_lib_array_constexpr
    
    	* include/bits/range_access.h (__cpp_lib_array_constexpr): Do not
    	redefine macro defined in <bits/stl_iterator.h>.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240488 138bc75d-0d04-0410-961f-82ee72b054a4

diff --git a/libstdc++-v3/include/bits/range_access.h b/libstdc++-v3/include/bits/range_access.h
index 27cc8ed..95c3d52 100644
--- a/libstdc++-v3/include/bits/range_access.h
+++ b/libstdc++-v3/include/bits/range_access.h
@@ -38,10 +38,6 @@ namespace std _GLIBCXX_VISIBILITY(default)
 {
 _GLIBCXX_BEGIN_NAMESPACE_VERSION
 
-#if __cplusplus >= 201402L
-# define __cpp_lib_array_constexpr 201603L
-#endif
-
   /**
    *  @brief  Return an iterator pointing to the first element of
    *          the container.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-26 10:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-26 10:35 [PATCH] Remove redefinition of __cpp_lib_array_constexpr Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).