You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make
mkdir -p ./build
g++ -MMD -MP -fdata-sections -ffunction-sections -O2 -c rule.cpp -o build/rule.cpp.o
rule.cpp: In function 'ClientSpec {anonymous}::parseClientSpec(const std::string&)':
rule.cpp:168:56: error: cannot bind non-const lvalue reference of type 'std::ostream&' {aka 'std::basic_ostream<char>&'} to an rvalue of type 'std::basic_ostream<char>'
168 | throw Parse(Error() << "malformed client '" << s << "'");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
rule.cpp:159:27: note: initializing argument 1 of '{anonymous}::Parse::Parse(std::ostream&)'
159 | Parse(std::ostream& o) : std::string(errormsg(o)) { }
| ~~~~~~~~~~~~~~^
rule.cpp:174:72: error: cannot bind non-const lvalue reference of type 'std::ostream&' {aka 'std::basic_ostream<char>&'} to an rvalue of type 'std::basic_ostream<char>'
174 | w Parse(Error() << "parseClientSpec match failure with '" << s << "'");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
rule.cpp:159:27: note: initializing argument 1 of '{anonymous}::Parse::Parse(std::ostream&)'
159 | Parse(std::ostream& o) : std::string(errormsg(o)) { }
| ~~~~~~~~~~~~~~^
rule.cpp: In function 'PortSpec {anonymous}::parsePortSpec(const std::string&)':
rule.cpp:184:54: error: cannot bind non-const lvalue reference of type 'std::ostream&' {aka 'std::basic_ostream<char>&'} to an rvalue of type 'std::basic_ostream<char>'
184 | throw Parse(Error() << "malformed port '" << s << "'");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
rule.cpp:159:27: note: initializing argument 1 of '{anonymous}::Parse::Parse(std::ostream&)'
159 | Parse(std::ostream& o) : std::string(errormsg(o)) { }
| ~~~~~~~~~~~~~~^
rule.cpp:191:70: error: cannot bind non-const lvalue reference of type 'std::ostream&' {aka 'std::basic_ostream<char>&'} to an rvalue of type 'std::basic_ostream<char>'
191 | row Parse(Error() << "parsePortSpec match failure with '" << s << "'");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
rule.cpp:159:27: note: initializing argument 1 of '{anonymous}::Parse::Parse(std::ostream&)'
159 | Parse(std::ostream& o) : std::string(errormsg(o)) { }
| ~~~~~~~~~~~~~~^
rule.cpp: In function 'AddressSpec {anonymous}::parseAddressSpec(const std::string&)':
rule.cpp:204:59: error: cannot bind non-const lvalue reference of type 'std::ostream&' {aka 'std::basic_ostream<char>&'} to an rvalue of type 'std::basic_ostream<char>'
204 | throw Parse(Error() << "invalid port type '" << s << "'");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
rule.cpp:159:27: note: initializing argument 1 of '{anonymous}::Parse::Parse(std::ostream&)'
159 | Parse(std::ostream& o) : std::string(errormsg(o)) { }
| ~~~~~~~~~~~~~~^
rule.cpp:211:57: error: cannot bind non-const lvalue reference of type 'std::ostream&' {aka 'std::basic_ostream<char>&'} to an rvalue of type 'std::basic_ostream<char>'
211 | throw Parse(Error() << "malformed address '" << s << "'");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
rule.cpp:159:27: note: initializing argument 1 of '{anonymous}::Parse::Parse(std::ostream&)'
159 | Parse(std::ostream& o) : std::string(errormsg(o)) { }
| ~~~~~~~~~~~~~~^
rule.cpp: In function 'ConnectionRules {anonymous}::parseConnectionRule(const std::string&)':
rule.cpp:225:54: error: cannot bind non-const lvalue reference of type 'std::ostream&' {aka 'std::basic_ostream<char>&'} to an rvalue of type 'std::basic_ostream<char>'
225 | throw Parse(Error() << "malformed rule '" << s << "'");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
rule.cpp:159:27: note: initializing argument 1 of '{anonymous}::Parse::Parse(std::ostream&)'
159 | Parse(std::ostream& o) : std::string(errormsg(o)) { }
| ~~~~~~~~~~~~~~^
rule.cpp:233:78: error: cannot bind non-const lvalue reference of type 'std::ostream&' {aka 'std::basic_ostream<char>&'} to an rvalue of type 'std::basic_ostream<char>'
233 | rse(Error() << "parseConnectionRule match failure with '" << s << "'");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
rule.cpp:159:27: note: initializing argument 1 of '{anonymous}::Parse::Parse(std::ostream&)'
159 | Parse(std::ostream& o) : std::string(errormsg(o)) { }
| ~~~~~~~~~~~~~~^
rule.cpp: In function 'ConnectionRules {anonymous}::parseLine(const std::string&)':
rule.cpp:273:27: error: cannot bind non-const lvalue reference of type 'std::ostream&' {aka 'std::basic_ostream<char>&'} to an rvalue of type 'std::basic_ostream<char>'
273 | throw Parse(Error() << "was not expected to parse");
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rule.cpp:159:27: note: initializing argument 1 of '{anonymous}::Parse::Parse(std::ostream&)'
159 | Parse(std::ostream& o) : std::string(errormsg(o)) { }
| ~~~~~~~~~~~~~~^
rule.cpp: In function 'ClientSpec {anonymous}::parseClientSpec(const std::string&)':
rule.cpp:176:3: warning: control reaches end of non-void function [-Wreturn-type]
176 | }
| ^
rule.cpp: In function 'PortSpec {anonymous}::parsePortSpec(const std::string&)':
rule.cpp:193:3: warning: control reaches end of non-void function [-Wreturn-type]
193 | }
| ^
make: *** [Makefile:32: build/rule.cpp.o] Error 1
Additionally, the pre-built does not run:
wget https://github.com/mzero/amidiminder/releases/download/0.70/amidiminder_0.70_armhf.deb
sudo apt install ./amidiminder_0.70_armhf.deb
amidiminder -C
amidiminder: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered:
Additionally, the pre-built does not run:
The text was updated successfully, but these errors were encountered: