This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/44630] profiler_trace.h defines functions __max and __min which causes portability problems
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jun 2010 15:28:52 -0000
- Subject: [Bug libstdc++/44630] profiler_trace.h defines functions __max and __min which causes portability problems
- References: <bug-44630-11764@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from paolo at gcc dot gnu dot org 2010-06-22 15:28 -------
Subject: Bug 44630
Author: paolo
Date: Tue Jun 22 15:28:27 2010
New Revision: 161193
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161193
Log:
2010-06-22 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/44630
* include/profile/impl/profiler_trace.h (__min, __max): Remove,
use std::min, std::max everywhere.
* include/profile/impl/profiler_container_size.h: Use std::min and
std::max.
* include/profile/impl/profiler_hash_func.h: Likewise.
* include/profile/impl/profiler_list_to_vector.h: Likewise.
Modified:
branches/gcc-4_5-branch/libstdc++-v3/ChangeLog
branches/gcc-4_5-branch/libstdc++-v3/include/profile/impl/profiler_container_size.h
branches/gcc-4_5-branch/libstdc++-v3/include/profile/impl/profiler_hash_func.h
branches/gcc-4_5-branch/libstdc++-v3/include/profile/impl/profiler_list_to_vector.h
branches/gcc-4_5-branch/libstdc++-v3/include/profile/impl/profiler_trace.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44630