Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ../../../source/lobby/glooxwrapper/glooxwrapper.cpp:91:30: warning: C++98 requires an
- accessible copy constructor for class 'glooxwrapper::IQ' when binding a
- reference to a temporary; was private [-Wbind-to-temporary-copy]
- return m_Wrapped->handleIq(glooxwrapper::IQ(iq));
- ^
- ../../../source/lobby/glooxwrapper/glooxwrapper.h:421:15: note: declared private here
- NONCOPYABLE(IQ);
- ^
- /Users/Ben/0ad/build/workspaces/gcc/../../../source/lib/code_annotation.h:228:2: note:
- expanded from macro 'NONCOPYABLE'
- className(const className&);\
- ^
- ../../../source/lobby/glooxwrapper/glooxwrapper.cpp:96:25: warning: C++98 requires an
- accessible copy constructor for class 'glooxwrapper::IQ' when binding a
- reference to a temporary; was private [-Wbind-to-temporary-copy]
- m_Wrapped->handleIqID(glooxwrapper::IQ(iq), context);
- ^
- ../../../source/lobby/glooxwrapper/glooxwrapper.h:421:15: note: declared private here
- NONCOPYABLE(IQ);
- ^
- /Users/Ben/0ad/build/workspaces/gcc/../../../source/lib/code_annotation.h:228:2: note:
- expanded from macro 'NONCOPYABLE'
- className(const className&);\
- ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement