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++/34105] [4.3 Regression] Confusing error message with missing #include <algorithm>



------- Comment #7 from paolo at gcc dot gnu dot org  2007-11-15 19:05 -------
Subject: Bug 34105

Author: paolo
Date: Thu Nov 15 19:05:17 2007
New Revision: 130207

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130207
Log:
2007-11-15  Paolo Carlini  <pcarlini@suse.de>

        PR libstdc++/34105
        * include/bits/stl_algobase.h: Do not include <bits/algorithmfwd.h>.
        (lexicographical_compare(const unsigned char*, const unsigned char*,
        const unsigned char*, const unsigned char*),
        lexicographical_compare(const char*, const char*, const char*,
        const char*)): Move to namespace (std, _GLIBCXX_STD_P).
        * include/parallel/algobase.h: Do not include <bits/algorithmfwd.h>.
        (equal): Move after mismatch.
        * include/bits/stl_heap.h (is_heap, is_heap_until): Reorder.
        * include/bits/char_traits.h: Include <bits/stl_algobase.h> instead
        of <bits/algorithmfwd.h>.
        * include/bits/stl_algo.h: Include first <bits/algorithmfwd.h>.
        * include/bits/algorithmfwd.h (lexicographical_compare): Do not
        declare overloads.
        * include/parallel/partition.h: Include <parallel/random_number.h>.
        * testsuite/util/testsuite_abi.cc: Include <algorithm>.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/algorithmfwd.h
    trunk/libstdc++-v3/include/bits/char_traits.h
    trunk/libstdc++-v3/include/bits/stl_algo.h
    trunk/libstdc++-v3/include/bits/stl_algobase.h
    trunk/libstdc++-v3/include/bits/stl_heap.h
    trunk/libstdc++-v3/include/parallel/algobase.h
    trunk/libstdc++-v3/include/parallel/partition.h
    trunk/libstdc++-v3/testsuite/util/testsuite_abi.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34105


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