[Bug libstdc++/44630] profiler_trace.h defines functions __max and __min which causes portability problems
paolo at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jun 22 15:29:00 GMT 2010
------- 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
More information about the Gcc-bugs
mailing list