Describe the bug
When running cmake/make with
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev
it seems to generate a bunch of code with the register keyword that seems to be deprecated.
Which errors out when building:
/build/bstoffel/rpmbuild/BUILD/doxygen-1.10.0/generated_src/mscgen_lexer.cpp:899:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
register yy_state_type yy_current_state;
^~~~~~~~~
/build/bstoffel/rpmbuild/BUILD/doxygen-1.10.0/generated_src/mscgen_lexer.cpp:900:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
register char *yy_cp, *yy_bp;
...
Expected behavior
I expect the code to compile appropriately
Version
Building version 1.10.0
Additional context
Running on centos 7 machine with clang 10.0.0 installed.
I have tried adjusting the C++ version to 14/11 and still has the same errors.
I'm sure there is an option I'm missing or can alter some environmental variable in order for it to generate valid C++17 code.
Describe the bug
When running
cmake/makewithit seems to generate a bunch of code with the register keyword that seems to be deprecated.
Which errors out when building:
Expected behavior
I expect the code to compile appropriately
Version
Building version 1.10.0
Additional context
Running on centos 7 machine with clang 10.0.0 installed.
I have tried adjusting the C++ version to 14/11 and still has the same errors.
I'm sure there is an option I'm missing or can alter some environmental variable in order for it to generate valid C++17 code.