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
[75706] [도움 부탁드립니다.] ISO C++17 does not allow 'register' storage class specifier
볼랜드 [] 2490 읽음    2019-11-28 20:24

빌더 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
//---------------------- 소스 부분 --------------------------------


+ -

관련 글 리스트
75706 [도움 부탁드립니다.] ISO C++17 does not allow 'register' storage class specifier 볼랜드 2490 2019/11/28
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.