A clear explanation of your question.:
Im following the instruction at docs but facing issue during cmake
/home/XXX/simplessd-standalone/simplessd/lib/mcpat/cacti/nuca.cc:46:45: error: addition of default argument on redeclaration makes this constructor a default constructor
Nuca::Nuca(TechnologyParameter::DeviceType dt = &(g_tp.peri_global))
^ ~~~~~~~
/home/XXX/simplessd-standalone/simplessd/lib/mcpat/cacti/nuca.h:74:3: note: previous declaration is here
Nuca(TechnologyParameter::DeviceType dt);
^
1 error generated.
make[2]: [simplessd/lib/mcpat/CMakeFiles/mcpat.dir/build.make:375: simplessd/lib/mcpat/CMakeFiles/mcpat.dir/cacti/nuca.cc.o] Error 1
make[2]: Waiting for unfinished jobs....
make[1]: [CMakeFiles/Makefile2:171: simplessd/lib/mcpat/CMakeFiles/mcpat.dir/all] Error 2
make: [Makefile:84: all] Error 2
Running Environment (please complete the following information):
Execution information
Explain what you want to ask here:
A clear explanation of your question.: Im following the instruction at docs but facing issue during cmake /home/XXX/simplessd-standalone/simplessd/lib/mcpat/cacti/nuca.cc:46:45: error: addition of default argument on redeclaration makes this constructor a default constructor Nuca::Nuca(TechnologyParameter::DeviceType dt = &(g_tp.peri_global)) ^
~~~~~~~ /home/XXX/simplessd-standalone/simplessd/lib/mcpat/cacti/nuca.h:74:3: note: previous declaration is here Nuca(TechnologyParameter::DeviceType dt); ^ 1 error generated. make[2]: [simplessd/lib/mcpat/CMakeFiles/mcpat.dir/build.make:375: simplessd/lib/mcpat/CMakeFiles/mcpat.dir/cacti/nuca.cc.o] Error 1 make[2]: Waiting for unfinished jobs.... make[1]: [CMakeFiles/Makefile2:171: simplessd/lib/mcpat/CMakeFiles/mcpat.dir/all] Error 2 make: [Makefile:84: all] Error 2Thanks!