mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-17 03:16:18 +00:00
Merge pull request #5172 from YosysHQ/nak/reduce_warning_spam
This commit is contained in:
commit
0b19f628e9
3 changed files with 19 additions and 1 deletions
|
@ -2409,7 +2409,14 @@ void RTLIL::Module::check()
|
|||
// assertion check below to make sure that there are no
|
||||
// cases where a cell has a blackbox attribute since
|
||||
// that is deprecated
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
log_assert(!it.second->get_blackbox_attribute());
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue