flex 2.6.4 removes register declarations

This commit is contained in:
James Cherry 2020-11-10 09:50:06 -07:00
parent 93ca03c43e
commit 36c36d7b76
2 changed files with 6 additions and 3 deletions

View File

@ -451,9 +451,9 @@ target_include_directories(OpenSTA
target_compile_options(OpenSTA
PRIVATE
$<$<CXX_COMPILER_ID:GNU>:-Wall -Wextra -pedantic -Wcast-qual -Wredundant-decls -Wformat-security -Wno-deprecated-register>
$<$<CXX_COMPILER_ID:AppleClang>:-Wall -Wextra -pedantic -Wcast-qual -Wredundant-decls -Wformat-security -Wno-register>
$<$<CXX_COMPILER_ID:Clang>:-Wall -Wextra -pedantic -Wcast-qual -Wredundant-decls -Wformat-security -Wno-register>
$<$<CXX_COMPILER_ID:GNU>:-Wall -Wextra -pedantic -Wcast-qual -Wredundant-decls -Wformat-security>
$<$<CXX_COMPILER_ID:AppleClang>:-Wall -Wextra -pedantic -Wcast-qual -Wredundant-decls -Wformat-security>
$<$<CXX_COMPILER_ID:Clang>:-Wall -Wextra -pedantic -Wcast-qual -Wredundant-decls -Wformat-security>
)
# Disable compiler specific extensions like gnu++11.

View File

@ -73,6 +73,9 @@ bison 1.35 3.0.4 3.5
flex 2.5.4 2.6.4 2.5.35
```
Note that flex versions before 2.6.4 contain 'register' declarations that
are illegal in c++17.
These packages are **optional**:
```