mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-20 03:57:25 -04:00
Pass -fno-extended-identifiers to VCS
For some bizarre reason VCS includes DPI code that has smart quotes (yes, smart quotes) around some #error macros. Recent GCC versions (g++ >= 10.2) have got proper support for UTF-8, which is nice but makes them choke on these input files. Passing -fno-extended-identifiers tells GCC to go back to the days of yore and pretend that everything is ASCII, and all is well again! Obviously the right fix is not to embed smart quotes in C++ code, but that's not something in our control :-(
This commit is contained in:
parent
aceb7766f5
commit
a612650277
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
|||
-o <out>/vcs_simv
|
||||
-debug_access+pp
|
||||
-xlrm uniq_prior_final
|
||||
-CFLAGS '--std=c99 -fno-extended-identifiers'
|
||||
-lca -kdb <cmp_opts> <wave_opts> <cov_opts>"
|
||||
cov_opts: >
|
||||
-cm line+tgl+assert+fsm+branch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue