1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
"/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-MacOSX/d_compsc
mkdir -p build/Debug/GNU-MacOSX
rm -f build/Debug/GNU-MacOSX/chpt8.o.d
g++ -c -g -MMD -MP -MF build/Debug/GNU-MacOSX/chpt8.o.d -o build/Debug/GNU-MacOSX/chpt8.o chpt8.cpp
/usr/include/c++/4.2.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/include/c++/4.2.1/bits/ios_base.h:779: error: 'std::ios_base::ios_base(const std::ios_base&)' is private
/usr/include/c++/4.2.1/iosfwd:55: error: within this context
/usr/include/c++/4.2.1/iosfwd: In copy constructor 'std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream(const std::basic_ifstream<char, std::char_traits<char> >&)':
/usr/include/c++/4.2.1/iosfwd:89: 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
/usr/include/c++/4.2.1/streambuf: In copy constructor 'std::basic_filebuf<char, std::char_traits<char> >::basic_filebuf(const std::basic_filebuf<char, std::char_traits<char> >&)':
/usr/include/c++/4.2.1/streambuf:794: error: 'std::basic_streambuf<_CharT, _Traits>::basic_streambuf(const std::basic_streambuf<_CharT, _Traits>&) [with _CharT = char, _Traits = std::char_traits<char>]' is private
/usr/include/c++/4.2.1/iosfwd:86: error: within this context
/usr/include/c++/4.2.1/iosfwd: In copy constructor 'std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream(const std::basic_ifstream<char, std::char_traits<char> >&)':
/usr/include/c++/4.2.1/iosfwd:89: note: synthesized method 'std::basic_filebuf<char, std::char_traits<char> >::basic_filebuf(const std::basic_filebuf<char, std::char_traits<char> >&)' first required here
chpt8.cpp: In function 'int main()':
chpt8.cpp:48: note: synthesized method 'std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream(const std::basic_ifstream<char, std::char_traits<char> >&)' first required here
chpt8.cpp:48: error: initializing argument 1 of 'void process_ifiles(std::ifstream, std::ifstream, std::ofstream)'
chpt8.cpp: In function 'void process_ifiles(std::ifstream, std::ifstream, std::ofstream)':
chpt8.cpp:92: error: return-statement with a value, in function returning 'void'
make[2]: *** [build/Debug/GNU-MacOSX/chpt8.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 868ms)
|