C++Builder 6 では以下のコード スニペットを正常にコンパイルできますが、RAD Studio Seattle ではコンパイルできません。
unsigned long x = 50;
String s = IntToStr(x);
[bcc32 エラー] Unit1.cpp(55): E2015 c:\program files (x86)\embarcadero\studio\17.0\include\windows\rtl\System. SysUtils.hpp:3182' および '_fastcall System::Sysutils::IntToStr(__int64) at c:\program files (x86)\embarcadero\studio\17.0\include\windows\rtl\System.SysUtils.hpp:3183'
IntToStr
その定義を確認しました。
C++ビルダー 6:
extern PACKAGE AnsiString __fastcall IntToStr(int Value)/* overload */;
extern PACKAGE AnsiString __fastcall IntToStr(__int64 Value)/* overload */;
C++Builder シアトル:
extern DELPHI_PACKAGE System::UnicodeString __fastcall IntToStr(int Value)/* overload */;
extern DELPHI_PACKAGE System::UnicodeString __fastcall IntToStr(__int64 Value)/* overload */;
extern DELPHI_PACKAGE System::UnicodeString __fastcall UIntToStr(unsigned Value)/* overload */;
extern DELPHI_PACKAGE System::UnicodeString __fastcall UIntToStr(unsigned __int64 Value)/* overload */;
C++Builder 6 と C++ Builder Seattle の違いは何ですか?