[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#470952: libstdc++6-4.3-dev: error: 'max' is not a member of '__gnu_cxx::__numeric_traits<int>'



Package: libstdc++6-4.3-dev
Severity: important
Version: 4.3.0-1

g++  -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align
-Wwrite-strings -Wcast-qual -Woverloaded-virtual -pedantic -ffor-scope
-c tcp.cpp
In file included from /usr/include/c++/4.3/vector:71,
                 from userlist.h:9,
                 from tcp.cpp:12:
/usr/include/c++/4.3/bits/stl_bvector.h: In member function 'size_t
std::vector<bool, _Alloc>::max_size() const':
/usr/include/c++/4.3/bits/stl_bvector.h:645: error: 'max' is not a
member of '__gnu_cxx::__numeric_traits<int>'

So, #include <vector> fails...

Cheers

Luk



Reply to: