mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 02:45:52 +00:00
Fixed clang -Wdeprecated-register warnings
This commit is contained in:
parent
a1be4816d6
commit
7188542155
2 changed files with 12 additions and 0 deletions
|
@ -34,6 +34,11 @@
|
|||
|
||||
%{
|
||||
|
||||
#ifdef __clang__
|
||||
// bison generates code using the 'register' storage class specifier
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-register"
|
||||
#endif
|
||||
|
||||
#include "kernel/log.h"
|
||||
#include "verilog_frontend.h"
|
||||
#include "frontends/ast/ast.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue