forked from YosysHQ/yosys
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
When trying to rebase onto upstream/master
and create the attributes-on-parameters
branch I seem to have broken things;
backends/json/json.cc:119:21: error: use of undeclared identifier 'attributes'
for (auto &attr : attributes) {
^
backends/json/json.cc:121:70: error: use of undeclared identifier 'param'
f << stringf(" %s%s: ", for_module ? "" : " ", get_name(param.first).c_str());
^
backends/json/json.cc:122:26: error: use of undeclared identifier 'param'
write_parameter_value(param.second);
^
backends/json/json.cc:116:53: warning: unused parameter 'parameters' [-Wunused-parameter]
void write_parameters(const dict<IdString, Const> ¶meters, bool for_module=false)
^
backends/json/json.cc:140:3: error: use of undeclared identifier 'write_attributes'
write_attributes(module->attributes, /*for_module=*/true);
^
backends/json/json.cc:144:3: error: use of undeclared identifier 'write_module_parameters'; did you mean 'write_parameters'?
write_module_parameters(module);
^~~~~~~~~~~~~~~~~~~~~~~
write_parameters
backends/json/json.cc:116:7: note: 'write_parameters' declared here
void write_parameters(const dict<IdString, Const> ¶meters, bool for_module=false)
^
backends/json/json.cc:144:27: error: reference to type 'const dict<Yosys::RTLIL::IdString, Yosys::RTLIL::Const>' could not bind to an lvalue of type 'Yosys::RTLIL::Module *'
write_module_parameters(module);
^~~~~~
backends/json/json.cc:116:53: note: passing argument to parameter 'parameters' here
void write_parameters(const dict<IdString, Const> ¶meters, bool for_module=false)
^
backends/json/json.cc:183:4: error: use of undeclared identifier 'write_attributes'
write_attributes(c->parameters);
^
backends/json/json.cc:186:4: error: use of undeclared identifier 'write_attributes'
write_attributes(c->attributes);
^
backends/json/json.cc:228:4: error: use of undeclared identifier 'write_attributes'
write_attributes(w->attributes);
^
1 warning and 9 errors generated.
make: *** [Makefile:613: backends/json/json.o] Error 1
make: *** Waiting for unfinished jobs....
Don't have time to look at things now, but probably an easy fix
Metadata
Metadata
Assignees
Labels
No labels