Advertisement
historic_bruno

Untitled

Nov 13th, 2013
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. ../../../source/lobby/glooxwrapper/glooxwrapper.cpp:91:30: warning: C++98
  2. requires an accessible copy constructor for class 'glooxwrapper::IQ' when
  3. binding a reference to a temporary; was private [-Wbind-to-temporary-copy]
  4. return m_Wrapped->handleIq(glooxwrapper::IQ(iq));
  5. ^
  6. ../../../source/lobby/glooxwrapper/glooxwrapper.h:421:15: note: declared private
  7. here
  8. NONCOPYABLE(IQ);
  9. ^
  10. /Users/Ben/0ad/build/workspaces/gcc/../../../source/lib/code_annotation.h:228:2: note:
  11. expanded from macro 'NONCOPYABLE'
  12. className(const className&);\
  13. ^
  14. ../../../source/lobby/glooxwrapper/glooxwrapper.cpp:96:25: warning: C++98
  15. requires an accessible copy constructor for class 'glooxwrapper::IQ' when
  16. binding a reference to a temporary; was private [-Wbind-to-temporary-copy]
  17. m_Wrapped->handleIqID(glooxwrapper::IQ(iq), context);
  18. ^
  19. ../../../source/lobby/glooxwrapper/glooxwrapper.h:421:15: note: declared private
  20. here
  21. NONCOPYABLE(IQ);
  22. ^
  23. /Users/Ben/0ad/build/workspaces/gcc/../../../source/lib/code_annotation.h:228:2: note:
  24. expanded from macro 'NONCOPYABLE'
  25. className(const className&);\
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement