Advertisement
Guest User

DDD make error

a guest
Feb 2nd, 2021
141
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [user@System ddd-3.3.12]$ make
  2. Making all in themes
  3. make[1]: Entering directory '/home/kudah/Downloads/ddd/ddd-3.3.12/themes'
  4. make[1]: Nothing to be done for 'all'.
  5. make[1]: Leaving directory '/home/kudah/Downloads/ddd/ddd-3.3.12/themes'
  6. Making all in vsllib
  7. make[1]: Entering directory '/home/kudah/Downloads/ddd/ddd-3.3.12/vsllib'
  8. make[1]: Nothing to be done for 'all'.
  9. make[1]: Leaving directory '/home/kudah/Downloads/ddd/ddd-3.3.12/vsllib'
  10. Making all in ddd
  11. make[1]: Entering directory '/home/kudah/Downloads/ddd/ddd-3.3.12/ddd'
  12. make all-am
  13. make[2]: Entering directory '/home/kudah/Downloads/ddd/ddd-3.3.12/ddd'
  14. g++ -DHAVE_CONFIG_H -I. -I./.. -O2 -g -Wall -W -Wwrite-strings -trigraphs -MT ddd.o -MD -MP -MF .deps/ddd.Tpo -c -o ddd.o ddd.C
  15. In file included from ddd.h:31,
  16. from ddd.C:134:
  17. strclass.h:813:19: error: friend declaration of ‘string common_prefix(const string&, const string&, int)’ specifies default arguments and isn’t a definition [-fpermissive]
  18. 813 | friend string common_prefix(const string& x, const string& y,
  19. | ^~~~~~~~~~~~~
  20. strclass.h:815:19: error: friend declaration of ‘string common_suffix(const string&, const string&, int)’ specifies default arguments and isn’t a definition [-fpermissive]
  21. 815 | friend string common_suffix(const string& x, const string& y,
  22. | ^~~~~~~~~~~~~
  23. strclass.h:866:16: error: friend declaration of ‘int readline(std::istream&, string&, char, int)’ specifies default arguments and isn’t a definition [-fpermissive]
  24. 866 | friend int readline(std::istream& s, string& x,
  25. | ^~~~~~~~
  26. In file included from DataDisp.h:53,
  27. from ddd.C:186:
  28. Command.h: In member function ‘bool Command::operator==(const Command&) const’:
  29. Command.h:172:6: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
  30. 162 | command == c.command
  31. | ~~~~~~~~~~~~~~~~~~~~
  32. 163 | && origin == c.origin
  33. | ~~~~~~~~~~~~~~~~~~~~~
  34. 164 | && callback == c.callback
  35. | ~~~~~~~~~~~~~~~~~~~~~~~~~
  36. 165 | && extra_callback == c.extra_callback
  37. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  38. 166 | && data == c.data
  39. | ~~~~~~~~~~~~~~~~~
  40. 167 | && echo == c.echo
  41. | ~~~~~~~~~~~~~~~~~
  42. 168 | && verbose == c.verbose
  43. | ~~~~~~~~~~~~~~~~~~~~~~~
  44. 169 | && prompt == c.prompt
  45. | ~~~~~~~~~~~~~~~~~~~~~
  46. 170 | && check == c.check
  47. | ~~~~~~~~~~~~~~~~~~~
  48. 171 | && start_undo == c.start_undo
  49. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  50. 172 | && priority == c.priority;
  51. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  52. In file included from DataDisp.h:57,
  53. from ddd.C:186:
  54. GraphEdit.h: In member function ‘GraphEditPositionChangedInfo& GraphEditPositionChangedInfo::operator=(const GraphEditPositionChangedInfo&)’:
  55. GraphEdit.h:181:24: warning: implicitly-declared ‘constexpr BoxPoint& BoxPoint::operator=(const BoxPoint&)’ is deprecated [-Wdeprecated-copy]
  56. 181 | old_position = info.old_position;
  57. | ^~~~~~~~~~~~
  58. In file included from BoxSize.h:34,
  59. from DataDisp.h:52,
  60. from ddd.C:186:
  61. BoxPoint.h:62:5: note: because ‘BoxPoint’ has user-provided ‘BoxPoint::BoxPoint(const BoxPoint&)’
  62. 62 | BoxPoint(const BoxPoint& p)
  63. | ^~~~~~~~
  64. In file included from DataDisp.h:57,
  65. from ddd.C:186:
  66. GraphEdit.h:182:24: warning: implicitly-declared ‘constexpr BoxPoint& BoxPoint::operator=(const BoxPoint&)’ is deprecated [-Wdeprecated-copy]
  67. 182 | new_position = info.new_position;
  68. | ^~~~~~~~~~~~
  69. In file included from BoxSize.h:34,
  70. from DataDisp.h:52,
  71. from ddd.C:186:
  72. BoxPoint.h:62:5: note: because ‘BoxPoint’ has user-provided ‘BoxPoint::BoxPoint(const BoxPoint&)’
  73. 62 | BoxPoint(const BoxPoint& p)
  74. | ^~~~~~~~
  75. In file included from Graph.h:32,
  76. from DispGraph.h:38,
  77. from ddd.C:189:
  78. GraphGC.h: In member function ‘GraphGC& GraphGC::operator=(const GraphGC&)’:
  79. GraphGC.h:163:33: warning: implicitly-declared ‘constexpr BoxPoint& BoxPoint::operator=(const BoxPoint&)’ is deprecated [-Wdeprecated-copy]
  80. 163 | offsetIfSelected = g.offsetIfSelected;
  81. | ^~~~~~~~~~~~~~~~
  82. In file included from BoxSize.h:34,
  83. from DataDisp.h:52,
  84. from ddd.C:186:
  85. BoxPoint.h:62:5: note: because ‘BoxPoint’ has user-provided ‘BoxPoint::BoxPoint(const BoxPoint&)’
  86. 62 | BoxPoint(const BoxPoint& p)
  87. | ^~~~~~~~
  88. In file included from DispGraph.h:41,
  89. from ddd.C:189:
  90. PosGraphN.h: In member function ‘virtual void PosGraphNode::moveTo(const BoxPoint&)’:
  91. PosGraphN.h:64:13: warning: implicitly-declared ‘constexpr BoxPoint& BoxPoint::operator=(const BoxPoint&)’ is deprecated [-Wdeprecated-copy]
  92. 64 | _pos = newPos;
  93. | ^~~~~~
  94. In file included from BoxSize.h:34,
  95. from DataDisp.h:52,
  96. from ddd.C:186:
  97. BoxPoint.h:62:5: note: because ‘BoxPoint’ has user-provided ‘BoxPoint::BoxPoint(const BoxPoint&)’
  98. 62 | BoxPoint(const BoxPoint& p)
  99. | ^~~~~~~~
  100. ddd.C: In function ‘ddd_exit_t pre_main_loop(int, char**)’:
  101. ddd.C:2986:43: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
  102. 2986 | if ((!app_data.separate_source_window && have_source_window() ||
  103. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
  104. ddd.C: In function ‘Boolean ddd_setup_done(XtPointer)’:
  105. ddd.C:3961:24: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
  106. 3961 | app_data.annotate && running_shells() == 1)
  107. | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  108. ddd.C: In function ‘void update_options()’:
  109. ddd.C:4248:29: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
  110. 4248 | !app_data.button_images && !app_data.button_captions);
  111. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112. ddd.C:4290:6: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
  113. 4289 | source_view->set_disassemble(gdb->type() == GDB || gdb->type() == PYDB
  114. | ~~~~~~~~~~~~~~~~~~~
  115. 4290 | && app_data.disassemble);
  116. | ^~~~~~~~~~~~~~~~~~~~~~~
  117. In file included from ddd.C:203:
  118. ddd.C: In function ‘void BlinkCB(XtPointer, XtIntervalId*)’:
  119. ddd.C:5469:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  120. 5469 | XtPointer(int(!set)));
  121. | ^~~~~~~~~~~~~~~~~~~~
  122. TimeOut.h:55:37: note: in definition of macro ‘XtAppAddTimeOut’
  123. 55 | MyAppAddTimeOut((a), (i), (p), (c), (const char *)__FILE__, __LINE__)
  124. | ^
  125. ddd.C: In constructor ‘WhenReadyInfo::WhenReadyInfo(const MString&, XtCallbackProc, XtPointer, const XmPushButtonCallbackStruct&)’:
  126. ddd.C:5825:33: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
  127. 5825 | memcpy(cbs.event, c.event, sizeof(cbs.event));
  128. | ^~~~~~~~~~~~~~~~~
  129. make[2]: *** [Makefile:2048: ddd.o] Error 1
  130. make[2]: Leaving directory '/home/user/Downloads/ddd/ddd-3.3.12/ddd'
  131. make[1]: *** [Makefile:1708: all] Error 2
  132. make[1]: Leaving directory '/home/user/Downloads/ddd/ddd-3.3.12/ddd'
  133. make: *** [Makefile:420: all-recursive] Error 1
Advertisement
RAW Paste Data Copied
Advertisement