Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Worst: C++ STL errors or Haskell type errors?

Name: Anonymous 2010-04-08 15:55

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/ios_base.h: In copy constructor ‘std::basic_ios<char, std::char_traits<char> >::basic_ios(const std::basic_ios<char, std::char_traits<char> >&)’:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/ios_base.h:783: error: ‘std::ios_base::ios_base(const std::ios_base&)’ is private
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/iosfwd:52: error: within this context
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/iosfwd: In copy constructor ‘std::basic_ostream<char, std::char_traits<char> >::basic_ostream(const std::basic_ostream<char, std::char_traits<char> >&)’:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/iosfwd:61: note: synthesized method ‘std::basic_ios<char, std::char_traits<char> >::basic_ios(const std::basic_ios<char, std::char_traits<char> >&)’ first required here
test.cpp: In function ‘int main(int, char**)’:
test.cpp:7: note: synthesized method ‘std::basic_ostream<char, std::char_traits<char> >::basic_ostream(const std::basic_ostream<char, std::char_traits<char> >&)’ first required here
test.cpp:7: error:   initializing argument 3 of ‘_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Funct = std::basic_ostream<char, std::char_traits<char> >]’
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/stl_algo.h: In function ‘_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = __gnu_cxx::__normal_iterator<char*,GRUNNURstd::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Funct = std::basic_ostream<char, std::char_traits<char> >]’:
test.cpp:7:   instantiated from here
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/stl_algo.h:3791: error: no match for call to ‘(std::basic_ostream<char, std::char_traits<char> >) (char&)’

Name: Anonymous 2010-04-08 16:04

iostream
x86_64
gcc 4.3.x

0/10

Name: Anonymous 2010-04-08 18:29

You know that it's the last error line that you should be focusing on, right?

Name: Anonymous 2010-04-08 18:50

>>3
[b]DON'T HELP THEM[i]!!![/b]

Name: Anonymous 2010-04-08 18:50

>>4
Gee, this sucks.

Name: Anonymous 2010-04-08 18:53

[/b]

Name: Anonymous 2010-04-08 19:02

[/b/]

Name: Anonymous 2010-04-08 19:09

Malformed BB-Code should raise exceptions.

Name: Anonymous 2010-04-08 20:28

>>8
Your exception has been raisednoted.

Name: Anonymous 2010-04-09 0:19

We should add objections to languages. They are like exceptions, but are meant to be overruled willy-nilly. For buzz, we could call it Jumpstack Flow Control. Who's with me?

Name: Anonymous 2010-04-09 0:27

>>10
I have NO OBJECTIONS to that.

Name: Anonymous 2010-04-09 0:30

>>11
Oh. My.

Name: Anonymous 2010-04-09 1:17

>>10,11 This is why I love /prague/.

Name: Anonymous 2010-04-09 1:40

>>13
10-11

Name: Anonymous 2010-04-09 4:02

>>14
10,11 is faster.

Name: Anonymous 2010-04-09 5:21

>>10
cumditions.

Don't change these.
Name: Email:
Entire Thread Thread List