Menu

#304 "ISO C++17 does not allow `register` storage class specifier" warning

v1.0_(example)
closed
nobody
None
1
2020-05-01
2020-02-03
No

Hello,

while compiling quex sources generated from version 0.70.0-0 (deb package) using g++ 9.2.0 with -std=c++17 I get the following warning:

/./lib/quex/MemoryManager.i:199:20: warning: ISO C++17 does not allow register storage class specifier [-Wregister]
  199 |     register char *d = dst;

I think that it is self-explanatory. Note that this prevents compilation with -Werror, which does not have great reputation, but our build server uses it to weed out all warnings.

Discussion

  • Frank-Rene Schäfer

    Solved.
    UT: TEST/bug-304.sh
    Revision: e297cb81e419f6b705e2f0cc5f4edc531bfda571

     
  • Frank-Rene Schäfer

    • status: open --> closed
     

Log in to post a comment.