|
dateutil.hpp 에있는 내용을 주석 처리 하고 컴파일 하니 제가 원하는 값을 얻을 수 있었습니다...
후에 이로 인해서 잘못돼지는 않는지 ㅡㅡ;;
왜 양 쪽 사이에 모호하다고 에러가 떳는지 궁금합니다..
김진수 님이 쓰신 글 :
: 안녕하세요 김진수입니다.
:
: TDateTime CurDay,TempDay;
:
: CurDay = Date(); //Now() 로도 마찬가지네요
: TempDay = IncMonth(CurDay,-2);
:
: [C++ Error] main.cpp(259): E2015 Ambiguity between '_fastcall Sysutils::IncMonth(const System::TDateTime,int)' and '_fastcall Dateutil::IncMonth(System::TDateTime,int)'.
:
: Dateutil.hpp
: extern PACKAGE System::TDateTime __fastcall IncMonth(System::TDateTime ADate, int Delta);
:
: sysutil.hpp
: extern PACKAGE System::TDateTime __fastcall IncMonth(const System::TDateTime Date, int
: umberOfMonths);
:
:
: 왜 두개가 다 잡으려하는지 ??? 이해가 안되네여 도와 주세요
:
: 그럼 좋은 하루 되세요
:
|