Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error p4c with p4fpga back-end #214

Closed
SStriver opened this issue Dec 28, 2016 · 2 comments
Closed

Compilation error p4c with p4fpga back-end #214

SStriver opened this issue Dec 28, 2016 · 2 comments

Comments

@SStriver
Copy link

../extensions/c++/src/midend.cpp:62:13: error: no matching constructor for
initialization of 'P4::UniqueParameters'
new P4::UniqueParameters(&refMap),
^ ~~~~~~~
../frontends/p4/uniqueNames.h:131:7: note: candidate constructor (the implicit copy
constructor) not viable: no known conversion from 'P4::ReferenceMap ' to
'const P4::UniqueParameters' for 1st argument
class UniqueParameters : public PassManager {
^
../frontends/p4/uniqueNames.h:131:7: note: candidate constructor (the implicit move
constructor) not viable: no known conversion from 'P4::ReferenceMap ' to
'P4::UniqueParameters' for 1st argument
class UniqueParameters : public PassManager {
^
../frontends/p4/uniqueNames.h:135:5: note: candidate constructor not viable:
requires 2 arguments, but 1 was provided
UniqueParameters(ReferenceMap
refMap, TypeMap
typeMap);
^
1 error generated.
../extensions/c++/src/profile.cpp:17:19: error: no member named 'TableProperty' in
namespace 'IR'
if (p->isIR::TableProperty()) {
~~~~^
../extensions/c++/src/profile.cpp:17:33: error: expected unqualified-id
if (p->isIR::TableProperty()) {
^
../extensions/c++/src/profile.cpp:18:27: error: no member named 'TableProperty' in
namespace 'IR'
auto pp = p->toIR::TableProperty();
~~~~^
../extensions/c++/src/profile.cpp:18:41: error: expected unqualified-id
auto pp = p->toIR::TableProperty();
^
../extensions/c++/src/profile.cpp:20:54: error: expected '(' for function-style cast
or type construction
auto expr = pp->value->toIR::ExpressionValue();
~~~~~~~~~~~~~~~~~~~^
../extensions/c++/src/profile.cpp:20:56: error: expected expression
auto expr = pp->value->toIR::ExpressionValue();
^
../extensions/c++/src/profile.cpp:21:46: error: expected '(' for function-style cast
or type construction
if (expr->expression->isIR::Constant()) {
~~~~~~~~~~~~^
../extensions/c++/src/profile.cpp:21:48: error: expected expression
if (expr->expression->isIR::Constant()) {
^
../extensions/c++/src/profile.cpp:22:55: error: expected '(' for function-style cast
or type construction
auto cst = expr->expression->toIR::Constant();
~~~~~~~~~~~~^
../extensions/c++/src/profile.cpp:22:57: error: expected expression
auto cst = expr->expression->toIR::Constant();
^
10 errors generated.

@mihaibudiu
Copy link
Contributor

This issue should be filed with the p4fpga back-end, which is not part of this repository.

@SStriver
Copy link
Author

SStriver commented Jan 5, 2017

@mbudiu-vmw thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants