This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/44630] profiler_trace.h defines functions __max and __min which causes portability problems



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]