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

make / gcc compilation errors on zobject.cpp #76

Open
andy289 opened this issue Nov 22, 2023 · 1 comment
Open

make / gcc compilation errors on zobject.cpp #76

andy289 opened this issue Nov 22, 2023 · 1 comment

Comments

@andy289
Copy link

andy289 commented Nov 22, 2023

Running Fedora 38; recently patched and gcc 13.2.1 20231011. Found 2 issues:

  1. Compilations wants to include relic_ec/relic.h which does not exist (got round this) see other posts;
  2. 'make' gives following stream of errors building zobject.cpp:

g++ -I/home/andrew/Downloads/openabe/deps/root/include -I/home/andrew/Downloads/openabe/src -I/home/andrew/Downloads/openabe/root/include -I/usr/local/include -std=c++11 -fPIC -DGTEST_USE_OWN_TR1_TUPLE=0 -I/usr/include -DOS_FEDORA_LINUX -pthread -Wall -fstrict-overflow -Wsign-compare -g -O2 -DSSL_LIB_INIT -c zobject.cpp
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:108,
from zobject.cpp:39:
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:110:
/home/andrew/Downloads/openabe/root/include/openabe/utils/zbytestring.h:65:7: note: by ‘oabe::OpenABEByteString::operator=’
65 | class OpenABEByteString : public ZObject, public std::vector<uint8_t> {
| ^~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:111:
/home/andrew/Downloads/openabe/root/include/openabe/utils/zfunctioninput.h:63:7: note: by ‘oabe::OpenABEFunctionInput& oabe::OpenABEFunctionInput::operator=(const oabe::OpenABEFunctionInput&)’
63 | class OpenABEFunctionInput : public ZObject {
| ^~~~~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:112:
/home/andrew/Downloads/openabe/root/include/openabe/utils/zpolicy.h:71:7: note: by ‘oabe::OpenABETreeNode& oabe::OpenABETreeNode::operator=(const oabe::OpenABETreeNode&)’
71 | class OpenABETreeNode : public ZObject {
| ^~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/utils/zpolicy.h:149:21: note: by ‘oabe::OpenABEPolicy& oabe::OpenABEPolicy::operator=(const oabe::OpenABEPolicy&)’
149 | OpenABEPolicy& operator=(const OpenABEPolicy &rhs);
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:122:
/home/andrew/Downloads/openabe/root/include/openabe/zml/zgroup.h:46:7: note: by ‘oabe::ZGroup& oabe::ZGroup::operator=(const oabe::ZGroup&)’
46 | class ZGroup : public ZObject {
| ^~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:123:
/home/andrew/Downloads/openabe/root/include/openabe/zml/zelement_bp.h:97:7: note: by ‘oabe::BPGroup& oabe::BPGroup::operator=(const oabe::BPGroup&)’
97 | class BPGroup : public ZGroup {
| ^~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zml/zelement_bp.h:126:7: note: by ‘oabe::ZP& oabe::ZP::operator=(const oabe::ZP&)’
126 | ZP& operator=(const ZP& w);
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zml/zelement_bp.h:174:7: note: by ‘oabe::G1& oabe::G1::operator=(const oabe::G1&)’
174 | G1& operator=(const G1& w);
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zml/zelement_bp.h:205:7: note: by ‘oabe::G2& oabe::G2::operator=(const oabe::G2&)’
205 | G2& operator=(const G2& w);
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zml/zelement_bp.h:236:7: note: by ‘oabe::GT& oabe::GT::operator=(const oabe::GT&)’
236 | GT& operator=(const GT& x);
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:124:
/home/andrew/Downloads/openabe/root/include/openabe/zml/zelement_ec.h:78:9: note: by ‘oabe::ZP_t& oabe::ZP_t::operator=(const oabe::ZP_t&)’
78 | ZP_t& operator=(const ZP_t& w)
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zml/zelement_ec.h:121:7: note: by ‘oabe::ECGroup& oabe::ECGroup::operator=(const oabe::ECGroup&)’
121 | class ECGroup : public ZGroup {
| ^~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zml/zelement_ec.h:146:8: note: by ‘oabe::G_t& oabe::G_t::operator=(const oabe::G_t&)’
146 | G_t& operator=(const G_t& w);
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:120:
/home/andrew/Downloads/openabe/root/include/openabe/zml/zelement_ec.h: In function ‘bool oabe::operator==(const G_t&, const G_t&)’:
/home/andrew/Downloads/openabe/root/include/openabe/zml/zelement.h:111:39: error: ‘CMP_EQ’ was not declared in this scope; did you mean ‘G_CMP_EQ’?
111 | #define G_CMP_EQ CMP_EQ
| ^~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zml/zelement_ec.h:153:60: note: in expansion of macro ‘G_CMP_EQ’
153 | if(ec_point_cmp(GET_GROUP(x.ecgroup), x.m_G, y.m_G) == G_CMP_EQ)
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zml/zelement_ec.h: In function ‘bool oabe::operator!=(const G_t&, const G_t&)’:
/home/andrew/Downloads/openabe/root/include/openabe/zml/zelement.h:111:39: error: ‘CMP_EQ’ was not declared in this scope; did you mean ‘G_CMP_EQ’?
111 | #define G_CMP_EQ CMP_EQ
| ^~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zml/zelement_ec.h:159:61: note: in expansion of macro ‘G_CMP_EQ’
159 | if (ec_point_cmp(GET_GROUP(y.ecgroup), x.m_G, y.m_G) != G_CMP_EQ)
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h: At global scope:
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:125:
/home/andrew/Downloads/openabe/root/include/openabe/zml/zelliptic.h:41:7: note: by ‘oabe::OpenABEEllipticCurve& oabe::OpenABEEllipticCurve::operator=(const oabe::OpenABEEllipticCurve&)’
41 | class OpenABEEllipticCurve : public ZObject {
| ^~~~~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:126:
/home/andrew/Downloads/openabe/root/include/openabe/zml/zpairing.h:41:7: note: by ‘oabe::OpenABEPairing& oabe::OpenABEPairing::operator=(const oabe::OpenABEPairing&)’
41 | class OpenABEPairing : public ZObject {
| ^~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:127:
/home/andrew/Downloads/openabe/root/include/openabe/tools/zprng.h:63:7: note: by ‘oabe::OpenABERNG& oabe::OpenABERNG::operator=(const oabe::OpenABERNG&)’
63 | class OpenABERNG : public ZObject {
| ^~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/tools/zprng.h:188:7: note: by ‘oabe::OpenABECTR_DRBG& oabe::OpenABECTR_DRBG::operator=(const oabe::OpenABECTR_DRBG&)’
188 | class OpenABECTR_DRBG : public OpenABERNG {
| ^~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:130:
/home/andrew/Downloads/openabe/root/include/openabe/utils/zinteger.h:53:7: note: by ‘oabe::OpenABEUInteger& oabe::OpenABEUInteger::operator=(const oabe::OpenABEUInteger&)’
53 | class OpenABEUInteger : public ZObject {
| ^~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:131:
/home/andrew/Downloads/openabe/root/include/openabe/utils/zcontainer.h:50:7: note: by ‘oabe::OpenABEContainer& oabe::OpenABEContainer::operator=(const oabe::OpenABEContainer&)’
50 | class OpenABEContainer : protected ZObject {
| ^~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:132:
/home/andrew/Downloads/openabe/root/include/openabe/utils/zciphertext.h:45:7: note: by ‘oabe::OpenABECiphertext& oabe::OpenABECiphertext::operator=(const oabe::OpenABECiphertext&)’
45 | class OpenABECiphertext : public OpenABEContainer {
| ^~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:133:
/home/andrew/Downloads/openabe/root/include/openabe/utils/zattributelist.h:48:7: note: by ‘oabe::OpenABEAttributeList& oabe::OpenABEAttributeList::operator=(const oabe::OpenABEAttributeList&)’
48 | class OpenABEAttributeList : public OpenABEFunctionInput {
| ^~~~~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:134:
/home/andrew/Downloads/openabe/root/include/openabe/keys/zkey.h:53:7: note: by ‘oabe::OpenABEKey& oabe::OpenABEKey::operator=(const oabe::OpenABEKey&)’
53 | class OpenABEKey : public OpenABEContainer {
| ^~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:135:
/home/andrew/Downloads/openabe/root/include/openabe/keys/zpkey.h:43:7: note: by ‘oabe::OpenABEPKey& oabe::OpenABEPKey::operator=(const oabe::OpenABEPKey&)’
43 | class OpenABEPKey: public OpenABEKey {
| ^~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:136:
/home/andrew/Downloads/openabe/root/include/openabe/keys/zsymkey.h:58:7: note: by ‘oabe::OpenABESymKey& oabe::OpenABESymKey::operator=(const oabe::OpenABESymKey&)’
58 | class OpenABESymKey : public OpenABEKey {
| ^~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/keys/zsymkey.h:90:7: note: by ‘oabe::OpenABESymKeyEnc& oabe::OpenABESymKeyEnc::operator=(const oabe::OpenABESymKeyEnc&)’
90 | class OpenABESymKeyEnc : ZObject {
| ^~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/keys/zsymkey.h:116:7: note: by ‘oabe::OpenABESymKeyAuthEncStream& oabe::OpenABESymKeyAuthEncStream::operator=(const oabe::OpenABESymKeyAuthEncStream&)’
116 | class OpenABESymKeyAuthEncStream : ZObject {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:137:
/home/andrew/Downloads/openabe/root/include/openabe/keys/zkeystore.h:53:7: note: by ‘oabe::OpenABEKeystore& oabe::OpenABEKeystore::operator=(const oabe::OpenABEKeystore&)’
53 | class OpenABEKeystore : public ZObject {
| ^~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:138:
/home/andrew/Downloads/openabe/root/include/openabe/tools/zlsss.h:45:7: note: by ‘oabe::OpenABELSSSElement& oabe::OpenABELSSSElement::operator=(const oabe::OpenABELSSSElement&)’
45 | class OpenABELSSSElement : public ZObject {
| ^~~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/tools/zlsss.h:84:7: note: by ‘oabe::OpenABELSSS& oabe::OpenABELSSS::operator=(const oabe::OpenABELSSS&)’
84 | class OpenABELSSS : public ZObject {
| ^~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:139:
/home/andrew/Downloads/openabe/root/include/openabe/keys/zkdf.h:50:7: note: by ‘oabe::OpenABEKDF& oabe::OpenABEKDF::operator=(const oabe::OpenABEKDF&)’
50 | class OpenABEKDF : public ZObject {
| ^~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:140:
/home/andrew/Downloads/openabe/root/include/openabe/zcontext.h:50:7: note: by ‘oabe::OpenABEContext& oabe::OpenABEContext::operator=(const oabe::OpenABEContext&)’
50 | class OpenABEContext : public ZObject {
| ^~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:141:
/home/andrew/Downloads/openabe/root/include/openabe/low/ske/zcontextske.h:44:7: note: by ‘oabe::OpenABEContextSchemeStreamSKE& oabe::OpenABEContextSchemeStreamSKE::operator=(const oabe::OpenABEContextSchemeStreamSKE&)’
44 | class OpenABEContextSchemeStreamSKE : public ZObject {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:142:
/home/andrew/Downloads/openabe/root/include/openabe/low/pke/zcontextpke.h:46:7: note: by ‘oabe::OpenABEContextPKE& oabe::OpenABEContextPKE::operator=(const oabe::OpenABEContextPKE&)’
46 | class OpenABEContextPKE : public OpenABEContext {
| ^~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/low/pke/zcontextpke.h:81:7: note: by ‘oabe::OpenABEContextOPDH& oabe::OpenABEContextOPDH::operator=(const oabe::OpenABEContextOPDH&)’
81 | class OpenABEContextOPDH : public OpenABEContextPKE {
| ^~~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/low/pke/zcontextpke.h:111:7: note: by ‘oabe::OpenABEContextSchemePKE& oabe::OpenABEContextSchemePKE::operator=(const oabe::OpenABEContextSchemePKE&)’
111 | class OpenABEContextSchemePKE : public ZObject {
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:143:
/home/andrew/Downloads/openabe/root/include/openabe/low/pksig/zcontextpksig.h:41:7: note: by ‘oabe::OpenABEContextPKSIG& oabe::OpenABEContextPKSIG::operator=(const oabe::OpenABEContextPKSIG&)’
41 | class OpenABEContextPKSIG : public OpenABEContext {
| ^~~~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/low/pksig/zcontextpksig.h:69:7: note: by ‘oabe::OpenABEContextSchemePKSIG& oabe::OpenABEContextSchemePKSIG::operator=(const oabe::OpenABEContextSchemePKSIG&)’
69 | class OpenABEContextSchemePKSIG : ZObject {
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:144:
/home/andrew/Downloads/openabe/root/include/openabe/zcontextabe.h:44:7: note: by ‘oabe::OpenABEContextABE& oabe::OpenABEContextABE::operator=(const oabe::OpenABEContextABE&)’
44 | class OpenABEContextABE : public OpenABEContext {
| ^~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zcontextabe.h:75:7: note: by ‘oabe::OpenABEContextSchemeCPA& oabe::OpenABEContextSchemeCPA::operator=(const oabe::OpenABEContextSchemeCPA&)’
75 | class OpenABEContextSchemeCPA : public ZObject {
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:145:
/home/andrew/Downloads/openabe/root/include/openabe/zsymcrypto.h:61:7: note: by ‘oabe::crypto::OpenABESymKeyAuthEnc& oabe::crypto::OpenABESymKeyAuthEnc::operator=(const oabe::crypto::OpenABESymKeyAuthEnc&)’
61 | class OpenABESymKeyAuthEnc : ZObject {
| ^~~~~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:146:
/home/andrew/Downloads/openabe/root/include/openabe/zcontextcca.h:44:7: note: by ‘oabe::OpenABEContextCCA& oabe::OpenABEContextCCA::operator=(const oabe::OpenABEContextCCA&)’
44 | class OpenABEContextCCA : public OpenABEContextABE {
| ^~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zcontextcca.h:81:7: note: by ‘oabe::OpenABEContextGenericCCA& oabe::OpenABEContextGenericCCA::operator=(const oabe::OpenABEContextGenericCCA&)’
81 | class OpenABEContextGenericCCA : public OpenABEContextCCA {
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zcontextcca.h:107:7: note: by ‘oabe::OpenABEContextSchemeCCA& oabe::OpenABEContextSchemeCCA::operator=(const oabe::OpenABEContextSchemeCCA&)’
107 | class OpenABEContextSchemeCCA : public ZObject {
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zcontextcca.h:149:7: note: by ‘oabe::OpenABEContextSchemeCCAWithATZN& oabe::OpenABEContextSchemeCCAWithATZN::operator=(const oabe::OpenABEContextSchemeCCAWithATZN&)’
149 | class OpenABEContextSchemeCCAWithATZN : public ZObject {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:147:
/home/andrew/Downloads/openabe/root/include/openabe/low/abe/zcontextcpwaters.h:44:7: note: by ‘oabe::OpenABEContextCPWaters& oabe::OpenABEContextCPWaters::operator=(const oabe::OpenABEContextCPWaters&)’
44 | class OpenABEContextCPWaters : public OpenABEContextABE {
| ^~~~~~~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:148:
/home/andrew/Downloads/openabe/root/include/openabe/low/abe/zcontextkpgpsw.h:46:7: note: by ‘oabe::OpenABEContextKPGPSW& oabe::OpenABEContextKPGPSW::operator=(const oabe::OpenABEContextKPGPSW&)’
46 | class OpenABEContextKPGPSW : public OpenABEContextABE {
| ^~~~~~~~~~~~~~~~~~~~
/home/andrew/Downloads/openabe/root/include/openabe/zobject.h:61:20: warning: ‘virtual oabe::ZObject& oabe::ZObject::operator=(const oabe::ZObject&)’ was hidden [-Woverloaded-virtual=]
61 | virtual ZObject& operator=(const ZObject &rhs) { return *this; }
| ^~~~~~~~
In file included from /home/andrew/Downloads/openabe/root/include/openabe/openabe.h:150:
/home/andrew/Downloads/openabe/root/include/openabe/utils/zkeymgr.h:72:7: note: by ‘oabe::OpenABEKeystoreManager& oabe::OpenABEKeystoreManager::operator=(const oabe::OpenABEKeystoreManager&)’
72 | class OpenABEKeystoreManager : OpenABEKeystore {
| ^~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:138: zobject.o] Error 1
make[1]: Leaving directory '/home/andrew/Downloads/openabe/src'
make: *** [Makefile:19: src] Error 2
[andrew@fedora openabe]$ gcc --version
gcc (GCC) 13.2.1 20231011 (Red Hat 13.2.1-4)
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[andrew@fedora openabe]$

@martinapalmucci
Copy link

I have the same issue

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