빌더 2007로 작성되어 있는것을, XE10으로 변환하고 있습니다.
Target Platforms를 32bit로 컴파일시 정상 구동 됐습니다.
하지만, Target Platforms를 64bit로 컴파일시 다음과 같은 에러가 발생합니다.
Error 메세지 ===> ISO C++17 does not allow 'register' storage class specifier
혹시, 이같은 에러를 어떻게 해결해야 하는지 도움 부탁드리겠습니다.
감사합니다.
//---------------------- 소스 부분 --------------------------------
uInt a; // counter for codes of length k
uInt c[BMAX+1]; // bit length count table
uInt f; // i repeats in table every f entries
int g; // maximum code length
int h; // table level
register uInt i; // counter, current code
register uInt j; // counter
register int k; // number of bits in current code
int l; // bits per table (returned in m)
uInt mask; // (1 << w) - 1, to avoid cc -O bug on HP
register uInt *p; // pointer into c[], b[], or v[]
inflate_huft *q; // points to current table
struct inflate_huft_s r; // table entry for structure assignment
inflate_huft *u[BMAX]; // table stack
register int w; // bits before this table == (l * h)
uInt x[BMAX+1]; // bit offsets, then code stack
uInt *xp; // pointer into x
int y; // number of dummy codes added
uInt z; // number of
//---------------------- 소스 부분 --------------------------------
|