VC의 cl로는 빌드가 되는데, g++로 컴파일하면 에러가 발생합니다.ㅜㅜ
에러 메세지는 다음과 같습니다.
g++ -c -g -I./include -I. -D__CODESCROLL_FUNC_DECL__ -D__VSPA__ -D_PROC_CONSTRUCTOR_CALL_ -DPLAG_HTML_OUT -D_FUNC_CALL_T
RACE_ Parser.cpp
Parser.cpp: In copy constructor `std::basic_ios >::basic_ios(const std::basic_ios
::char_traits >&)':
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ios_base.h:781: error: `std::ios_base::ios_base(const std::ios_base&)
' is private
Parser.cpp:770: error: within this context
Parser.cpp: In copy constructor `std::basic_filebuf >::basic_filebuf(const std::basic_fileb
uf >&)':
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/streambuf:769: error: `std::basic_streambuf<_CharT, _Traits>::basic_stream
buf(const std::basic_streambuf<_CharT, _Traits>&) [with _CharT = char, _Traits = std::char_traits]' is private
Parser.cpp:770: error: within this context
make: *** [Parser.o] 오류 1
혹시 위와 비슷한 에러 메세지를 경험해 보신 분 계신가요?
혹시, gcc 버전에 따라 문제가 될 수 있을까요?
댓글 달기