This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
V3 PATCH: #undef _DEFINED_LOGICAL_OPERATOR
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: V3 PATCH: #undef _DEFINED_LOGICAL_OPERATOR
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 12 Feb 2001 01:29:45 +0100
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
This fixes prs libstdc++/1930.
-- Gaby
2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
not _DEFINE_VALARRAY_OPERATOR which is not existent.
Index: include/bits/std_valarray.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/include/bits/std_valarray.h,v
retrieving revision 1.3
diff -p -r1.3 std_valarray.h
*** std_valarray.h 2001/02/11 22:16:48 1.3
--- std_valarray.h 2001/02/11 22:41:54
*************** _DEFINE_LOGICAL_OPERATOR(>, greater)
*** 722,728 ****
_DEFINE_LOGICAL_OPERATOR(<=, less_equal)
_DEFINE_LOGICAL_OPERATOR(>=, greater_equal)
! #undef _DEFINE_VALARRAY_OPERATOR
} // namespace std
--- 722,728 ----
_DEFINE_LOGICAL_OPERATOR(<=, less_equal)
_DEFINE_LOGICAL_OPERATOR(>=, greater_equal)
! #undef _DEFINE_LOGICAL_OPERATOR
} // namespace std