>> Edit article
이름
제목
패스워드
말그대롭니다. 구식 c++ 문법을 쓰셔서 그런 워닝이 뜹니다. 실행화일 만드는덴 별 상관없는 얘기고 새로운 c++의 표준을 쓰시던지 아니면 컴파일할때 -Wno-deprecated 옵션을 붙여서 메세지를 안나오게 하던가요 : gcc-3.2를 깔고 g++로 컴파일하는데 deprecated warning이 fstream.h, iostream.h strstream.h등에서 나오네요. : 아래에 문구처럼 옵션을 줘도 좋겠지만, 어떻게하면 이 워닝이 근본적으로 안나오나요? : : /usr/local/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved