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++/18808] iostream include makes algorithm/transform broken


------- Additional Comments From kgardas at objectsecurity dot com  2004-12-03 12:15 -------
GCC 4.0.0 20041126 also complains about this code:

$ /mnt/karel/gcc-main-20041126/bin/c++ str.cc 
str.cc: In function 'int main()':
str.cc:12: error: no matching function for call to
'transform(__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >, <unknown type>)'
$ 

Cheers,
Karel

-- 


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


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