C++Builder Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
C++빌더 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
메신저 프로젝트
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

C++빌더 Q&A
C++Builder Programming Q&A
[16693] 자답입니다.
민인학 [h2h1995] 1839 읽음    2002-03-23 11:57
저의실수군요...

제가쓰던 util.h 파일에 fail이라는 이름으로 macro가 선언이 되어있었습니다...
또 fail이라는 macro가 ios.h에 정의 되어있었구요..

그래서 충돌이 났던거였습니다...
죄송합니다.....




민인학 님이 쓰신 글 :
: vector를 쓸려고...
:
: #include <vector.h> 나 #include <vector>
:
: 만 선언하면...
:
: ios.h의
:
: '' inline bool fail() const; ''를 커서로 가르키면서
: 에러를 냅니다....
:
: [C++ Error] ios.h(93): E2219 Wrong number of arguments in call of macro 'fail'
: [C++ Error] ios.h(93): E2092 Storage class 'inline' is not allowed here
: [C++ Error] ios.h(251): E2219 Wrong number of arguments in call of macro 'fail'
: [C++ Error] ios.h(262): E2219 Wrong number of arguments in call of macro 'fail'
: [C++ Error] ios.h(293): E2219 Wrong number of arguments in call of macro 'fail'
: [C++ Error] ios.h(293): E2272 Identifier expected
: [C++ Error] ios.h(293): E2040 Declaration terminated incorrectly
: [C++ Error] ostream.h(326): E2219 Wrong number of arguments in call of macro 'fail'
: [C++ Error] istream.h(267): E2219 Wrong number of arguments in call of macro 'fail'
: [C++ Error] istream.h(305): E2219 Wrong number of arguments in call of macro 'fail'
: [C++ Error] ImportFile.h(106): E2303 Type name expected
: [C++ Error] ImportFile.h(106): E2139 Declaration missing ;
:
: 위와 같이요...
: 흑흑~~~ 도와주세요... 왜그런거죠....?
:

+ -

관련 글 리스트
16674 [질문] vector를 쓸려고 하면 이상한 에러를 냅니다. 민인학 1325 2002/03/23
29942     Re:[질문] vector를 쓸려고 하면 이상한 에러를 냅니다. 유창환 1220 2002/03/23
16693     자답입니다. 민인학 1839 2002/03/23
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.