mirror of
https://github.com/verilator/verilator.git
synced 2026-09-04 16:40:12 +02:00
Deprecate --structs-packed (#7222).
This commit is contained in:
+4
-1
@@ -1742,7 +1742,10 @@ void V3Options::parseOptsList(FileLine* fl, const string& optdir, int argc,
|
||||
DECL_OPTION("-std-package", OnOff, &m_stdPackage);
|
||||
DECL_OPTION("-std-waiver", OnOff, &m_stdWaiver);
|
||||
DECL_OPTION("-stop-fail", OnOff, &m_stopFail);
|
||||
DECL_OPTION("-structs-packed", OnOff, &m_structsPacked);
|
||||
DECL_OPTION("-structs-packed", CbOnOff, [this, fl](bool flag) {
|
||||
m_structsPacked = flag;
|
||||
fl->v3warn(DEPRECATED, "Option --structs-packed is deprecated, avoid use");
|
||||
}).undocumented();
|
||||
DECL_OPTION("-sv", CbCall, [this]() { m_defaultLanguage = V3LangCode::L1800_2023; });
|
||||
|
||||
DECL_OPTION("-no-threads", CbCall, [this, fl]() {
|
||||
|
||||
Reference in New Issue
Block a user