Created
October 16, 2011 16:11
-
-
Save atg/1291086 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Alexs-MacBook-Pro:furrow alexgordon$ bash build.sh | |
| 28 parsing conflicts. | |
| In file included from source/main.cc:1: | |
| In file included from /usr/include/c++/4.2.1/iostream:44: | |
| In file included from /usr/include/c++/4.2.1/ostream:44: | |
| In file included from /usr/include/c++/4.2.1/ios:49: | |
| In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:464: | |
| /usr/include/c++/4.2.1/bits/basic_ios.tcc:192:25: error: base class 'std::ios_base' has private copy constructor | |
| extern template class basic_ios<char>; | |
| ^ | |
| /usr/include/c++/4.2.1/bits/ios_base.h:778:5: note: declared private here | |
| ios_base(const ios_base&); | |
| ^ | |
| /usr/include/c++/4.2.1/bits/fstream.tcc:893:25: note: implicit default copy constructor for 'std::basic_ios<char>' first required here | |
| extern template class basic_ifstream<char>; | |
| ^ | |
| In file included from source/main.cc:1: | |
| In file included from /usr/include/c++/4.2.1/iostream:45: | |
| In file included from /usr/include/c++/4.2.1/istream:844: | |
| /usr/include/c++/4.2.1/bits/istream.tcc:995:25: error: no matching constructor for initialization of 'basic_ios<char, std::char_traits<char> >' | |
| extern template class basic_istream<char>; | |
| ^~~~~~~~~~~~~ | |
| /usr/include/c++/4.2.1/bits/basic_ios.h:255:7: note: candidate constructor not viable: no known conversion from 'const basic_ios<char, std::char_traits<char> >' to | |
| 'basic_streambuf<char, std::char_traits<char> > *' for 1st argument | |
| basic_ios(basic_streambuf<_CharT, _Traits>* __sb) | |
| ^ | |
| /usr/include/c++/4.2.1/bits/basic_ios.h:443:7: note: candidate constructor not viable: requires 0 arguments, but 1 was provided | |
| basic_ios() | |
| ^ | |
| /usr/include/c++/4.2.1/bits/fstream.tcc:893:25: note: implicit default copy constructor for 'std::basic_istream<char>' first required here | |
| extern template class basic_ifstream<char>; | |
| ^ | |
| /usr/include/c++/4.2.1/bits/fstream.tcc:892:25: error: base class 'basic_streambuf<char, std::char_traits<char> >' has private copy constructor | |
| extern template class basic_filebuf<char>; | |
| ^ | |
| /usr/include/c++/4.2.1/streambuf:793:7: note: declared private here | |
| basic_streambuf(const __streambuf_type& __sb) | |
| ^ | |
| /usr/include/c++/4.2.1/bits/fstream.tcc:893:25: note: implicit default copy constructor for 'std::basic_filebuf<char>' first required here | |
| extern template class basic_ifstream<char>; | |
| ^ | |
| source/main.cc:13:26: note: implicit default copy constructor for 'std::basic_ifstream<char>' first required here | |
| std::ifstream in_f = std::ifstream(argv[1], std::ifstream::in); | |
| ^ | |
| source/main.cc:14:39: error: use of undeclared identifier 'istreambuf_iterator' | |
| std::string in_str = std::string( istreambuf_iterator(in_f), istreambuf_iterator() ); | |
| ^ | |
| 4 errors generated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment