Advertisement
jiapei100

lib_opencad-clang.txt

May 5th, 2022
1,148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 35.39 KB | None | 0 0
  1. In file included from ....../lib_opencad/lib/cadfileio.cpp:31:
  2. ....../lib_opencad/lib/cadfileio.h:43:1: error: declaration of anonymous class must be a definition
  3. class OCAD_EXTERN CADFileIO
  4. ^
  5. ....../lib_opencad/lib/cadfileio.h:43:1: warning: declaration does not declare anything [-Wmissing-declarations]
  6. ....../lib_opencad/lib/cadfileio.cpp:33:1: error: use of undeclared identifier 'CADFileIO'
  7. CADFileIO::CADFileIO( const char * pszFileName ) :
  8. ^
  9. ....../lib_opencad/lib/cadfileio.cpp:39:1: error: use of undeclared identifier 'CADFileIO'
  10. CADFileIO::~CADFileIO()
  11. ^
  12. In file included from ....../lib_opencad/lib/cadfilestreamio.cpp:31:
  13. In file included from ....../lib_opencad/lib/cadfilestreamio.h:34:
  14. ....../lib_opencad/lib/cadfileio.h:43:1: error: declaration of anonymous class must be a definition
  15. class OCAD_EXTERN CADFileIO
  16. ^
  17. ....../lib_opencad/lib/cadfileio.cpp:43:6: error: use of undeclared identifier 'CADFileIO'
  18. bool CADFileIO::IsOpened() const
  19.      ^
  20. ....../lib_opencad/lib/cadfileio.cpp:48:6: error: use of undeclared identifier 'CADFileIO'
  21. bool CADFileIO::Close()
  22.      ^
  23. ....../lib_opencad/lib/cadfileio.h:43:1: warning: declaration does not declare anything [-Wmissing-declarations]
  24. ....../lib_opencad/lib/cadfileio.cpp:54:14: error: use of undeclared identifier 'CADFileIO'
  25. const char * CADFileIO::GetFilePath() const
  26.              ^
  27. 1 warning and 6 errors generated.
  28. make[2]: *** [lib/CMakeFiles/opencad.dir/build.make:121: lib/CMakeFiles/opencad.dir/cadfileio.cpp.o] Error 1
  29. make[2]: *** Waiting for unfinished jobs....
  30. In file included from ....../lib_opencad/lib/cadclasses.cpp:31:
  31. ....../lib_opencad/lib/cadclasses.h:40:1: error: declaration of anonymous class must be a definition
  32. class OCAD_EXTERN  CADClass
  33. ^
  34. ....../lib_opencad/lib/cadclasses.h:40:1: warning: declaration does not declare anything [-Wmissing-declarations]
  35. ....../lib_opencad/lib/cadclasses.h:57:1: error: declaration of anonymous class must be a definition
  36. class OCAD_EXTERN CADClasses
  37. ^
  38. ....../lib_opencad/lib/cadclasses.h:57:1: warning: declaration does not declare anything [-Wmissing-declarations]
  39. In file included from ....../lib_opencad/lib/cadtables.cpp:31:
  40. In file included from ....../lib_opencad/lib/cadtables.h:34:
  41. ....../lib_opencad/lib/cadheader.h:40:1: error: declaration of anonymous class must be a definition
  42. class OCAD_EXTERN CADHandle final
  43. ^
  44. ....../lib_opencad/lib/cadheader.h:40:1: warning: declaration does not declare anything [-Wmissing-declarations]
  45. ....../lib_opencad/lib/cadheader.h:60:1: error: declaration of anonymous class must be a definition
  46. class OCAD_EXTERN CADVariant final
  47. ^
  48. ....../lib_opencad/lib/cadheader.h:60:1: warning: declaration does not declare anything [-Wmissing-declarations]
  49. ....../lib_opencad/lib/cadheader.h:109:1: error: declaration of anonymous class must be a definition
  50. class OCAD_EXTERN CADHeader
  51. ^
  52. ....../lib_opencad/lib/cadheader.h:109:1: warning: declaration does not declare anything [-Wmissing-declarations]
  53. In file included from ....../lib_opencad/lib/cadtables.cpp:31:
  54. In file included from ....../lib_opencad/lib/cadtables.h:35:
  55. In file included from ....../lib_opencad/lib/cadlayer.h:34:
  56. In file included from ....../lib_opencad/lib/cadgeometry.h:34:
  57. ....../lib_opencad/lib/cadobjects.h:40:1:In file included from  ....../lib_opencad/lib/cadgeometry.cpp:31error: :
  58. In file included from ....../lib_opencad/lib/cadgeometry.hdeclaration of anonymous class must be a definition:34
  59. :
  60. In file included from ....../lib_opencad/lib/cadobjects.h:class OCAD_EXTERN CADVector35
  61. :
  62. ^....../lib_opencad/lib/cadheader.h
  63. :40:1: error: ....../lib_opencad/lib/cadobjects.hdeclaration of anonymous class must be a definition:40
  64. :1: warning: declaration does not declare anything [-Wmissing-declarations]
  65. class OCAD_EXTERN CADHandle final
  66. ^
  67. ....../lib_opencad/lib/cadheader.h:40:1: warning: declaration does not declare anything [-Wmissing-declarations]
  68. ....../lib_opencad/lib/cadheader.h:60:1: error: declaration of anonymous class must be a definition
  69. class OCAD_EXTERN CADVariant final
  70. ^
  71. ....../lib_opencad/lib/cadheader.h:60:1: warning: In file included from ....../lib_opencad/lib/cadfile.cpp:declaration does not declare anything [-Wmissing-declarations]31:
  72.  
  73. In file included from ....../lib_opencad/lib/cadfile.h:....../lib_opencad/lib/cadheader.h34::
  74. 109In file included from :....../lib_opencad/lib/caddictionary.h1::34 :
  75. In file included from ....../lib_opencad/lib/cadobjects.herror: :35:
  76. declaration of anonymous class must be a definition....../lib_opencad/lib/cadheader.h
  77. :40:1: class OCAD_EXTERN CADHeader
  78. error: ^
  79. declaration of anonymous class must be a definition
  80. class OCAD_EXTERN CADHandle final
  81. ^
  82. ....../lib_opencad/lib/cadheader.h:40:1: warning: declaration does not declare anything [-Wmissing-declarations]
  83. ....../lib_opencad/lib/cadheader.h:60:1: error: declaration of anonymous class must be a definition
  84. class OCAD_EXTERN CADVariant final
  85. ^
  86. ....../lib_opencad/lib/cadheader.h:60:1: warning: declaration does not declare anything [-Wmissing-declarations]
  87. ....../lib_opencad/lib/cadheader.h:....../lib_opencad/lib/cadheader.h109::1091::1 : error: warning: declaration of anonymous class must be a definitiondeclaration does not declare anything [-Wmissing-declarations]
  88.  
  89. In file included from class OCAD_EXTERN CADHeader....../lib_opencad/lib/cadgeometry.cpp
  90. :31^:
  91.  
  92. In file included from ....../lib_opencad/lib/cadgeometry.h:34:
  93. ....../lib_opencad/lib/cadobjects.h:40:1: error: declaration of anonymous class must be a definition
  94. class OCAD_EXTERN CADVector
  95. ^
  96. In file included from ....../lib_opencad/lib/cadheader.cpp:31:
  97. ....../lib_opencad/lib/cadheader.h:....../lib_opencad/lib/cadobjects.h40::401::1 : error: warning: declaration of anonymous class must be a definitiondeclaration does not declare anything [-Wmissing-declarations]
  98.  
  99. ....../lib_opencad/lib/cadheader.h:109:1: warning: declaration does not declare anything [-Wmissing-declarations]class OCAD_EXTERN CADHandle final
  100.  
  101. In file included from ^....../lib_opencad/lib/cadfile.cpp
  102. :31:
  103. In file included from ....../lib_opencad/lib/cadfile.h:34:
  104. In file included from ....../lib_opencad/lib/caddictionary.h:....../lib_opencad/lib/cadheader.h34::
  105. 40:....../lib_opencad/lib/cadobjects.h1::40 :1:warning:  declaration does not declare anything [-Wmissing-declarations]error:
  106. declaration of anonymous class must be a definition....../lib_opencad/lib/cadheader.h:
  107. 60:1: class OCAD_EXTERN CADVector
  108. error: ^
  109. declaration of anonymous class must be a definition
  110. class OCAD_EXTERN CADVariant final
  111. ....../lib_opencad/lib/cadobjects.h:^40
  112. :1: warning: declaration does not declare anything [-Wmissing-declarations]
  113. ....../lib_opencad/lib/cadheader.h:60:1: warning: declaration does not declare anything [-Wmissing-declarations]
  114. ....../lib_opencad/lib/cadheader.h:109:1: error: declaration of anonymous class must be a definition
  115. class OCAD_EXTERN CADHeader
  116. ^
  117. ....../lib_opencad/lib/cadobjects.h:73:5: error: unknown type name 'CADHandle'In file included from ....../lib_opencad/lib/caddictionary.cpp
  118. :32:
  119. In file included from ....../lib_opencad/lib/caddictionary.h:    CADHandle             hApplication;34
  120. :
  121. In file included from     ^....../lib_opencad/lib/cadobjects.h
  122. :35:
  123. ....../lib_opencad/lib/cadheader.h:40:1: error: declaration of anonymous class must be a definition
  124. class OCAD_EXTERN CADHandle final
  125. ^
  126. ....../lib_opencad/lib/cadheader.h:40:1: warning: declaration does not declare anything [-Wmissing-declarations]
  127. ....../lib_opencad/lib/cadheader.h:60:1: error: declaration of anonymous class must be a definition
  128. class OCAD_EXTERN CADVariant final
  129. ^
  130. ....../lib_opencad/lib/cadheader.h:60:1: warning: declaration does not declare anything [-Wmissing-declarations]
  131. ....../lib_opencad/lib/cadheader.h:109:1: error: declaration of anonymous class must be a definition
  132. class OCAD_EXTERN CADHeader
  133. ^
  134. ....../lib_opencad/lib/cadheader.h:109:1: warning: declaration does not declare anything [-Wmissing-declarations]
  135. In file included from ....../lib_opencad/lib/cadheader.cpp:32:
  136. In file included from ....../lib_opencad/lib/opencad_api.h:34:
  137. In file included from ....../lib_opencad/lib/cadfile.h:34:
  138. In file included from ....../lib_opencad/lib/caddictionary.h:34:
  139. ....../lib_opencad/lib/cadobjects.h:40:1: error: declaration of anonymous class must be a definition....../lib_opencad/lib/cadheader.h
  140. :109:1: class OCAD_EXTERN CADVector
  141. warning: ^
  142. declaration does not declare anything [-Wmissing-declarations]
  143. In file included from ....../lib_opencad/lib/caddictionary.cpp:32:
  144. In file included from ....../lib_opencad/lib/caddictionary.h....../lib_opencad/lib/cadobjects.h::3440:
  145. :1....../lib_opencad/lib/cadobjects.h:: 40:1warning: : declaration does not declare anything [-Wmissing-declarations]error:
  146. declaration of anonymous class must be a definition
  147. class OCAD_EXTERN CADVector
  148. ^
  149. ....../lib_opencad/lib/cadobjects.h:40:1: warning: declaration does not declare anything [-Wmissing-declarations]
  150. ....../lib_opencad/lib/cadobjects.h:73:5: error: unknown type name 'CADHandle'
  151.     CADHandle             hApplication;
  152.     ^
  153. In file included from ....../lib_opencad/lib/cadobjects.cpp:32:
  154. In file included from ....../lib_opencad/lib/cadobjects.h:35:
  155. ....../lib_opencad/lib/cadheader.h:40:1: error: declaration of anonymous class must be a definition
  156. class OCAD_EXTERN CADHandle final
  157. ^
  158. ....../lib_opencad/lib/cadheader.h:40:1: warning: declaration does not declare anything [-Wmissing-declarations]
  159. ....../lib_opencad/lib/cadheader.h:60:1: error: declaration of anonymous class must be a definition
  160. class OCAD_EXTERN CADVariant final
  161. ^
  162. ....../lib_opencad/lib/cadheader.h:60:1: warning: declaration does not declare anything [-Wmissing-declarations]
  163. ....../lib_opencad/lib/cadheader.h:109:1: error: declaration of anonymous class must be a definition
  164. class OCAD_EXTERN CADHeader
  165. ^
  166. ....../lib_opencad/lib/cadobjects.h:73:5: error: unknown type name 'CADHandle'
  167.     CADHandle             hApplication;
  168.     ^
  169. ....../lib_opencad/lib/cadheader.h:109:1: warning: declaration does not declare anything [-Wmissing-declarations]
  170. In file included from ....../lib_opencad/lib/cadobjects.cpp:32:
  171. ....../lib_opencad/lib/cadobjects.h:40:1: error: declaration of anonymous class must be a definition
  172. class OCAD_EXTERN CADVector
  173. ^
  174. ....../lib_opencad/lib/cadobjects.h:40:1: warning: declaration does not declare anything [-Wmissing-declarations]
  175. ....../lib_opencad/lib/cadobjects.h:73:5: error: unknown type name 'CADHandle'
  176.     CADHandle             hApplication;
  177.     ^
  178. ....../lib_opencad/lib/cadobjects.h:77:21: error: use of undeclared identifier 'CADHandle'
  179. typedef std::vector<CADHandle> CADHandleArray;
  180.                     ^
  181. ....../lib_opencad/lib/cadobjects.h:83:1: error: declaration of anonymous class must be a definition
  182. class OCAD_EXTERN CADObject
  183. ^
  184. ....../lib_opencad/lib/cadobjects.h:73:5: error: unknown type name 'CADHandle'
  185.     CADHandle             hApplication;
  186.     ^
  187. ....../lib_opencad/lib/cadobjects.h:83:1: warning: declaration does not declare anything [-Wmissing-declarations]
  188. In file included from ....../lib_opencad/lib/opencad.cpp:31:
  189. In file included from ....../lib_opencad/lib/opencad_api.h:34:
  190. In file included from ....../lib_opencad/lib/cadfile.h:34:
  191. In file included from ....../lib_opencad/lib/caddictionary.h:34:
  192. In file included from ....../lib_opencad/lib/cadobjects.h:35:
  193. ....../lib_opencad/lib/cadheader.h:40:1: error: declaration of anonymous class must be a definition
  194. class OCAD_EXTERN CADHandle final
  195. ^
  196. ....../lib_opencad/lib/cadheader.h:40:1: warning: declaration does not declare anything [-Wmissing-declarations]
  197. ....../lib_opencad/lib/cadheader.h:60:1: error: declaration of anonymous class must be a definition
  198. class OCAD_EXTERN CADVariant final
  199. ^
  200. ....../lib_opencad/lib/cadheader.h:60:1: warning: declaration does not declare anything [-Wmissing-declarations]
  201. ....../lib_opencad/lib/cadheader.h:109:1: error: declaration of anonymous class must be a definition
  202. class OCAD_EXTERN CADHeader
  203. ^
  204. ....../lib_opencad/lib/cadobjects.h:224:28: error: ....../lib_opencad/lib/cadheader.huse of undeclared identifier 'CADObject':109
  205. :1: std::string getNameByType( CADObject::ObjectType eType );
  206. warning:                            ^
  207. declaration does not declare anything [-Wmissing-declarations]
  208. In file included from ....../lib_opencad/lib/opencad.cpp....../lib_opencad/lib/cadobjects.h::3173:
  209. :In file included from 5....../lib_opencad/lib/opencad_api.h:: 34:
  210. In file included from error: ....../lib_opencad/lib/cadfile.h:34unknown type name 'CADHandle':
  211. In file included from
  212. ....../lib_opencad/lib/caddictionary.h:34:
  213.     CADHandle             hApplication;
  214. ....../lib_opencad/lib/cadobjects.h:    ^40
  215. :1: error: declaration of anonymous class must be a definition
  216. class OCAD_EXTERN CADVector
  217. ^
  218. ....../lib_opencad/lib/cadobjects.h:40:1: warning: declaration does not declare anything [-Wmissing-declarations]
  219. ....../lib_opencad/lib/cadobjects.h:77:21: error: use of undeclared identifier 'CADHandle'
  220. typedef std::vector<CADHandle> CADHandleArray;
  221.                     ^
  222. ....../lib_opencad/lib/cadobjects.h:83:1: error: declaration of anonymous class must be a definition
  223. class OCAD_EXTERN CADObject
  224. ^
  225. ....../lib_opencad/lib/cadobjects.h:83:1: warning: declaration does not declare anything [-Wmissing-declarations]
  226. ....../lib_opencad/lib/cadobjects.h:77:21: error: use of undeclared identifier 'CADHandle'
  227. typedef std::vector<CADHandle> CADHandleArray;
  228.                     ^
  229. ....../lib_opencad/lib/cadobjects.h:83:1: error: declaration of anonymous class must be a definition
  230. class OCAD_EXTERN CADObject
  231. ^
  232. ....../lib_opencad/lib/cadobjects.h:83:1: warning: declaration does not declare anything [-Wmissing-declarations]
  233. ....../lib_opencad/lib/cadobjects.h:77:21: error: use of undeclared identifier 'CADHandle'
  234. typedef std::vector<CADHandle> CADHandleArray;
  235.                     ^
  236. ....../lib_opencad/lib/cadobjects.h:83:1: error: declaration of anonymous class must be a definition
  237. class OCAD_EXTERN CADObject
  238. ^
  239. ....../lib_opencad/lib/cadobjects.h:83:1: warning: declaration does not declare anything [-Wmissing-declarations]
  240. ....../lib_opencad/lib/cadobjects.h:234:5: error: unknown type name 'CADHandle'
  241.     CADHandle   hObjectHandle;
  242.     ^
  243. ....../lib_opencad/lib/cadobjects.h:224:28: error: use of undeclared identifier 'CADObject'
  244. std::string getNameByType( CADObject::ObjectType eType );
  245.                            ^
  246. ....../lib_opencad/lib/cadobjects.h:73:5: error: ....../lib_opencad/lib/cadobjects.hunknown type name 'CADHandle':224
  247. :28: error:     CADHandle             hApplication;
  248. use of undeclared identifier 'CADObject'    ^
  249.  
  250. std::string getNameByType( CADObject::ObjectType eType );
  251.                            ^
  252. ....../lib_opencad/lib/cadobjects.h:224:28: error: use of undeclared identifier 'CADObject'
  253. std::string getNameByType( CADObject::ObjectType eType );
  254.                            ^
  255. ....../lib_opencad/lib/cadobjects.h:77:21: error: use of undeclared identifier 'CADHandle'
  256. typedef std::vector<CADHandle> CADHandleArray;
  257.                     ^
  258. ....../lib_opencad/lib/cadobjects.h:83:1: error: declaration of anonymous class must be a definition
  259. class OCAD_EXTERN CADObject
  260. ^
  261. ....../lib_opencad/lib/cadobjects.h:83:1: warning: declaration does not declare anything [-Wmissing-declarations]
  262. ....../lib_opencad/lib/cadobjects.h:77:21: error: use of undeclared identifier 'CADHandle'
  263. typedef std::vector<CADHandle> CADHandleArray;
  264.                     ^
  265. ....../lib_opencad/lib/cadobjects.h:83:1: error: declaration of anonymous class must be a definition
  266. class OCAD_EXTERN CADObject
  267. ^
  268. ....../lib_opencad/lib/cadobjects.h....../lib_opencad/lib/cadobjects.h::83234::15::  warning: error: declaration does not declare anything [-Wmissing-declarations]unknown type name 'CADHandle'
  269.  
  270.     CADHandle   hObjectHandle;
  271.     ^
  272. ....../lib_opencad/lib/cadobjects.h:234:5: error: unknown type name 'CADHandle'
  273.     CADHandle   hObjectHandle;
  274.     ^
  275. ....../lib_opencad/lib/cadobjects.h:234:....../lib_opencad/lib/cadobjects.h5::224 :28:error:  unknown type name 'CADHandle'error:
  276. use of undeclared identifier 'CADObject'
  277.     CADHandle   hObjectHandle;
  278.     ^
  279. std::string getNameByType( CADObject::ObjectType eType );
  280.                            ^
  281. ....../lib_opencad/lib/cadobjects.h:77:21: error: use of undeclared identifier 'CADHandle'
  282. typedef std::vector<CADHandle> CADHandleArray;
  283.                     ^
  284. ....../lib_opencad/lib/cadobjects.h:83:1: error: declaration of anonymous class must be a definition
  285. class OCAD_EXTERN CADObject
  286. ^
  287. ....../lib_opencad/lib/cadobjects.h:83:1: warning: declaration does not declare anything [-Wmissing-declarations]
  288. ....../lib_opencad/lib/cadobjects.h:224:28: error: use of undeclared identifier 'CADObject'
  289. std::string getNameByType( CADObject::ObjectType eType );
  290.                            ^
  291. ....../lib_opencad/lib/cadobjects.h:224:28: error: use of undeclared identifier 'CADObject'
  292. std::string getNameByType( CADObject::ObjectType eType );
  293.                            ^
  294. ....../lib_opencad/lib/cadobjects.h:234:5: error: unknown type name 'CADHandle'
  295.     CADHandle   hObjectHandle;
  296.     ^
  297. ....../lib_opencad/lib/cadobjects.h:286:5: error: unknown type name 'CADHandle'
  298.     CADHandle      hOwner; // depends on entmode.
  299.     ^
  300. ....../lib_opencad/lib/cadobjects.h:234:5: error: unknown type name 'CADHandle'
  301.     CADHandle   hObjectHandle;
  302.     ^
  303. ....../lib_opencad/lib/cadobjects.h:234:5: error: unknown type name 'CADHandle'
  304.     CADHandle   hObjectHandle;
  305.     ^
  306. ....../lib_opencad/lib/cadobjects.h:288:5: error: unknown type name 'CADHandle'
  307.     CADHandle      hXDictionary;
  308.     ^
  309. ....../lib_opencad/lib/cadobjects.h:289:5: error: unknown type name 'CADHandle'
  310.     CADHandle      hLayer;
  311.     ^
  312. ....../lib_opencad/lib/cadobjects.h:286:5: error: unknown type name 'CADHandle'
  313.     CADHandle      hOwner; // depends on entmode.
  314.     ^
  315. ....../lib_opencad/lib/cadobjects.h:....../lib_opencad/lib/cadobjects.h286::2865....../lib_opencad/lib/cadobjects.h::5 :: error: 290error: :unknown type name 'CADHandle'5:unknown type name 'CADHandle'
  316.  
  317. error: unknown type name 'CADHandle'
  318.     CADHandle      hOwner; // depends on entmode.
  319.     ^
  320.     CADHandle      hLType;    CADHandle      hOwner; // depends on entmode.
  321.  
  322.     ^    ^
  323.  
  324. ....../lib_opencad/lib/cadobjects.h:288:5: error: unknown type name 'CADHandle'
  325.     CADHandle      hXDictionary;
  326.     ^
  327. ....../lib_opencad/lib/cadobjects.h:292:5: error: unknown type name 'CADHandle'
  328.     CADHandle hPrevEntity;
  329.     ^
  330. ....../lib_opencad/lib/cadobjects.h:288:5: error: unknown type name 'CADHandle'
  331.     CADHandle      hXDictionary;
  332.     ^
  333. ....../lib_opencad/lib/cadobjects.h:288:5: error: unknown type name 'CADHandle'
  334.     CADHandle      hXDictionary;
  335.     ^
  336. ....../lib_opencad/lib/cadobjects.h:289:5: error: unknown type name 'CADHandle'
  337.     CADHandle      hLayer;
  338.     ^
  339. ....../lib_opencad/lib/cadobjects.h:293:5: error: unknown type name 'CADHandle'
  340.     CADHandle hNextEntity;
  341.     ^
  342. ....../lib_opencad/lib/cadobjects.h:290:5: error: unknown type name 'CADHandle'
  343.     CADHandle      hLType;
  344.     ^
  345. ....../lib_opencad/lib/cadobjects.h:289:5: error: unknown type name 'CADHandle'
  346.     CADHandle      hLayer;
  347.     ^
  348. ....../lib_opencad/lib/cadobjects.h:289:5: error: unknown type name 'CADHandle'
  349.     CADHandle      hLayer;
  350.     ^
  351. ....../lib_opencad/lib/cadobjects.h:286:5: error: unknown type name 'CADHandle'
  352.     CADHandle      hOwner; // depends on entmode.
  353.     ^
  354. ....../lib_opencad/lib/cadobjects.h:286:5: error: unknown type name 'CADHandle'
  355.     CADHandle      hOwner; // depends on entmode.
  356. ....../lib_opencad/lib/cadobjects.h:    ^295
  357. :5: error: unknown type name 'CADHandle'
  358.     CADHandle hColorBookHandle;
  359.     ^
  360. ....../lib_opencad/lib/cadobjects.h:286:5: error: unknown type name 'CADHandle'
  361.     CADHandle      hOwner; // depends on entmode.
  362.     ^
  363. ....../lib_opencad/lib/cadobjects.h:292:5: error: unknown type name 'CADHandle'
  364.     CADHandle hPrevEntity;
  365.     ^
  366. ....../lib_opencad/lib/cadobjects.h:290:5: error: unknown type name 'CADHandle'
  367.     CADHandle      hLType;
  368.     ^
  369. ....../lib_opencad/lib/cadobjects.h:290:5: error: unknown type name 'CADHandle'
  370.     CADHandle      hLType;
  371.     ^
  372. ....../lib_opencad/lib/cadobjects.h:288:5:....../lib_opencad/lib/cadobjects.h :288....../lib_opencad/lib/cadobjects.herror: ::5297::unknown type name 'CADHandle' 5:
  373.  error:     CADHandle      hXDictionary;error:
  374. unknown type name 'CADHandle'    ^
  375. unknown type name 'CADHandle'
  376.  
  377.     CADHandle      hXDictionary;
  378.     ^
  379.     CADHandle hMaterial;
  380.     ^
  381. ....../lib_opencad/lib/cadobjects.h:293:5: error: unknown type name 'CADHandle'
  382.     CADHandle hNextEntity;
  383.     ^
  384. ....../lib_opencad/lib/cadobjects.h....../lib_opencad/lib/cadobjects.h::292288::55::  ....../lib_opencad/lib/cadobjects.h:error: 292error: :5unknown type name 'CADHandle':unknown type name 'CADHandle'
  385.  
  386. error:     CADHandle hPrevEntity;
  387. unknown type name 'CADHandle'    ^
  388.     CADHandle      hXDictionary;
  389.  
  390.     ^
  391.     CADHandle hPrevEntity;
  392.     ^
  393. ....../lib_opencad/lib/cadobjects.h:289:5: ....../lib_opencad/lib/cadobjects.h:error: 298:5unknown type name 'CADHandle':
  394. error: unknown type name 'CADHandle'    CADHandle      hLayer;
  395.  
  396.     ^
  397.     CADHandle hPlotStyle;
  398.     ^
  399. ....../lib_opencad/lib/cadobjects.h:295:5: error: unknown type name 'CADHandle'
  400.     CADHandle hColorBookHandle;
  401.     ^
  402. ....../lib_opencad/lib/cadobjects.h:289:5: error: unknown type name 'CADHandle'
  403.     CADHandle      hLayer;
  404.     ^
  405. ....../lib_opencad/lib/cadobjects.h:293:5: error: unknown type name 'CADHandle'
  406.     CADHandle hNextEntity;
  407.     ^
  408. ....../lib_opencad/lib/cadobjects.h:293:5: error: unknown type name 'CADHandle'
  409.     CADHandle hNextEntity;
  410.     ^
  411. ....../lib_opencad/lib/cadobjects.h:289:5: error: unknown type name 'CADHandle'
  412.     CADHandle      hLayer;
  413.     ^
  414. ....../lib_opencad/lib/cadobjects.h:290:5: error: ....../lib_opencad/lib/cadobjects.h:300unknown type name 'CADHandle':5
  415. : error:     CADHandle      hLType;
  416. unknown type name 'CADHandle'    ^....../lib_opencad/lib/cadobjects.h
  417.  
  418. :297    CADHandle hFullVisualStyle;:
  419. 5:    ^
  420. error: unknown type name 'CADHandle'
  421.     CADHandle hMaterial;
  422.     ^
  423. ....../lib_opencad/lib/cadobjects.h:290:5: error: unknown type name 'CADHandle'
  424.     CADHandle      hLType;
  425.     ^
  426. ....../lib_opencad/lib/cadobjects.h:295:5: error: unknown type name 'CADHandle'
  427.     CADHandle hColorBookHandle;
  428.     ^
  429. ....../lib_opencad/lib/cadobjects.h:295:5: error: unknown type name 'CADHandle'
  430.     CADHandle hColorBookHandle;
  431.     ^
  432. ....../lib_opencad/lib/cadobjects.h:290:5: error: unknown type name 'CADHandle'
  433.     CADHandle      hLType;
  434.     ^
  435. ....../lib_opencad/lib/cadobjects.h:292:5: error: unknown type name 'CADHandle'
  436.     CADHandle hPrevEntity;
  437.     ^
  438. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  439. ....../lib_opencad/lib/cadobjects.h:298:5: error: unknown type name 'CADHandle'
  440.     CADHandle hPlotStyle;
  441.     ^
  442. ....../lib_opencad/lib/cadobjects.h:292:5: error: unknown type name 'CADHandle'
  443.     CADHandle hPrevEntity;
  444.     ^
  445. ....../lib_opencad/lib/cadobjects.h:297:5: error: unknown type name 'CADHandle'
  446.     CADHandle hMaterial;
  447.     ^
  448. ....../lib_opencad/lib/cadobjects.h:297:5: error: unknown type name 'CADHandle'
  449.     CADHandle hMaterial;
  450.     ^
  451. ....../lib_opencad/lib/cadobjects.h:293:5: error: unknown type name 'CADHandle'
  452.     CADHandle hNextEntity;....../lib_opencad/lib/cadobjects.h
  453. :292    ^:
  454. ....../lib_opencad/lib/cadobjects.h5::300 :5:error:  unknown type name 'CADHandle'error:
  455. unknown type name 'CADHandle'
  456.     CADHandle hPrevEntity;
  457.     CADHandle hFullVisualStyle;    ^
  458.  
  459.     ^
  460. ....../lib_opencad/lib/cadobjects.h:293:5: error: unknown type name 'CADHandle'
  461.     CADHandle hNextEntity;
  462.     ^
  463. ....../lib_opencad/lib/cadobjects.h:298:5: error: unknown type name 'CADHandle'
  464.     CADHandle hPlotStyle;
  465.     ^
  466. ....../lib_opencad/lib/cadobjects.h:298:5: error: ....../lib_opencad/lib/cadobjects.h:unknown type name 'CADHandle'295:
  467. 5:     CADHandle hPlotStyle;
  468. error:     ^
  469. unknown type name 'CADHandle'
  470.     CADHandle hColorBookHandle;
  471.     ^
  472. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  473. ....../lib_opencad/lib/cadobjects.h:293:5: error: unknown type name 'CADHandle'
  474.     CADHandle hNextEntity;
  475.     ^
  476. ....../lib_opencad/lib/cadobjects.h:295:5: error: unknown type name 'CADHandle'
  477.     CADHandle hColorBookHandle;
  478.     ^
  479. ....../lib_opencad/lib/cadobjects.h:300:5: error: unknown type name 'CADHandle'
  480.     CADHandle hFullVisualStyle;
  481.     ^
  482. ....../lib_opencad/lib/cadobjects.h:297:5: error: unknown type name 'CADHandle'
  483.     CADHandle hMaterial;
  484.     ^
  485. ....../lib_opencad/lib/cadobjects.h:300:5: error: unknown type name 'CADHandle'
  486.     CADHandle hFullVisualStyle;
  487.     ^
  488. ....../lib_opencad/lib/cadobjects.h:295:5: error: unknown type name 'CADHandle'
  489.     CADHandle hColorBookHandle;
  490.     ^
  491. ....../lib_opencad/lib/cadobjects.h:297:5: error: unknown type name 'CADHandle'
  492.     CADHandle hMaterial;
  493.     ^
  494. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  495. ....../lib_opencad/lib/cadobjects.h:298:5: error: unknown type name 'CADHandle'
  496.     CADHandle hPlotStyle;
  497.     ^
  498. In file included from ....../lib_opencad/lib/cadlayer.cpp:31:
  499. In file included from ....../lib_opencad/lib/cadlayer.h:34:
  500. In file included from ....../lib_opencad/lib/cadgeometry.h:34:
  501. In file included from ....../lib_opencad/lib/cadobjects.h:35:
  502. ....../lib_opencad/lib/cadheader.h:40:1: error: fatal error: declaration of anonymous class must be a definitiontoo many errors emitted, stopping now [-ferror-limit=]
  503.  
  504. class OCAD_EXTERN CADHandle final
  505. ^
  506. ....../lib_opencad/lib/cadheader.h:40:1: warning: declaration does not declare anything [-Wmissing-declarations]
  507. ....../lib_opencad/lib/cadheader.h:60:1: error: declaration of anonymous class must be a definition
  508. class OCAD_EXTERN CADVariant final
  509. ....../lib_opencad/lib/cadobjects.h:^297
  510. :5: error: unknown type name 'CADHandle'
  511.     CADHandle hMaterial;
  512.     ^....../lib_opencad/lib/cadheader.h
  513. :60:1: warning: declaration does not declare anything [-Wmissing-declarations]
  514. ....../lib_opencad/lib/cadheader.h:109:1: error: declaration of anonymous class must be a definition
  515. class OCAD_EXTERN CADHeader
  516. ^
  517. ....../lib_opencad/lib/cadheader.h:109:1: warning: declaration does not declare anything [-Wmissing-declarations]
  518. In file included from ....../lib_opencad/lib/cadlayer.cpp:31:
  519. In file included from ....../lib_opencad/lib/cadlayer.h:34:
  520. In file included from ....../lib_opencad/lib/cadgeometry.h:34:
  521. ....../lib_opencad/lib/cadobjects.h:40:1: error: declaration of anonymous class must be a definition
  522. class OCAD_EXTERN CADVector
  523. ^
  524. ....../lib_opencad/lib/cadobjects.h:40:1: warning: declaration does not declare anything [-Wmissing-declarations]
  525. ....../lib_opencad/lib/cadobjects.h:300:5: error: unknown type name 'CADHandle'
  526.     CADHandle hFullVisualStyle;
  527.     ^
  528. ....../lib_opencad/lib/cadobjects.h:298:5: error: unknown type name 'CADHandle'
  529.     CADHandle hPlotStyle;
  530.     ^
  531. ....../lib_opencad/lib/cadobjects.h:298:5: error: unknown type name 'CADHandle'
  532.     CADHandle hPlotStyle;
  533.     ^
  534. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  535. ....../lib_opencad/lib/cadobjects.h:300:5: error: unknown type name 'CADHandle'
  536.     CADHandle hFullVisualStyle;
  537.     ^
  538. ....../lib_opencad/lib/cadobjects.h:300:5: error: unknown type name 'CADHandle'
  539.     CADHandle hFullVisualStyle;
  540.     ^
  541. ....../lib_opencad/lib/cadobjects.h:73:5: error: unknown type name 'CADHandle'
  542.     CADHandle             hApplication;
  543.     ^
  544. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  545. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  546. ....../lib_opencad/lib/cadobjects.h:77:21: error: use of undeclared identifier 'CADHandle'
  547. typedef std::vector<CADHandle> CADHandleArray;
  548.                     ^
  549. ....../lib_opencad/lib/cadobjects.h:83:1: error: declaration of anonymous class must be a definition
  550. class OCAD_EXTERN CADObject
  551. ^
  552. ....../lib_opencad/lib/cadobjects.h:83:1: warning: declaration does not declare anything [-Wmissing-declarations]
  553. ....../lib_opencad/lib/cadobjects.h:224:28: error: use of undeclared identifier 'CADObject'
  554. std::string getNameByType( CADObject::ObjectType eType );
  555.                            ^
  556. ....../lib_opencad/lib/cadobjects.h:234:5: error: unknown type name 'CADHandle'
  557.     CADHandle   hObjectHandle;
  558.     ^
  559. ....../lib_opencad/lib/cadobjects.h:286:5: error: unknown type name 'CADHandle'
  560.     CADHandle      hOwner; // depends on entmode.
  561.     ^
  562. ....../lib_opencad/lib/cadobjects.h:288:5: error: unknown type name 'CADHandle'
  563.     CADHandle      hXDictionary;
  564.     ^
  565. In file included from ....../lib_opencad/lib/cadfilestreamio.cpp:31:
  566. ....../lib_opencad/lib/cadfilestreamio.h:38:32: error: expected class name
  567. class CADFileStreamIO : public CADFileIO
  568.                                ^
  569. ....../lib_opencad/lib/cadfilestreamio.h:44:25: error: 'ReadLine' marked 'override' but does not override any member functions
  570.     virtual const char* ReadLine() override;
  571.                         ^
  572. ....../lib_opencad/lib/cadfilestreamio.h:45:25: error: 'Eof' marked 'override' but does not override any member functions
  573.     virtual bool        Eof() const override;
  574.                         ^
  575. ....../lib_opencad/lib/cadfilestreamio.h:46:25: error: 'Open' marked 'override' but does not override any member functions
  576.     virtual bool        Open(int mode) override;
  577.                         ^
  578. ....../lib_opencad/lib/cadfilestreamio.h:47:25: error: 'Close' marked 'override' but does not override any member functions
  579.     virtual bool        Close() override;
  580.                         ^
  581. ....../lib_opencad/lib/cadobjects.h:289:5: error: unknown type name 'CADHandle'
  582.     CADHandle      hLayer;
  583.     ^
  584. ....../lib_opencad/lib/cadobjects.h:290:5: error: unknown type name 'CADHandle'
  585.     CADHandle      hLType;
  586.     ^
  587. ....../lib_opencad/lib/cadfilestreamio.h:48:47: error: unknown type name 'SeekOrigin'
  588.     virtual int         Seek(long int offset, SeekOrigin origin) override;
  589.                                               ^
  590. ....../lib_opencad/lib/cadfilestreamio.h:49:25: error: 'Tell' marked 'override' but does not override any member functions
  591.     virtual long int    Tell() override;
  592.                         ^
  593. ....../lib_opencad/lib/cadfilestreamio.h:50:25: error: 'Read' marked 'override' but does not override any member functions
  594.     virtual size_t      Read(void* ptr, size_t size) override;
  595.                         ^
  596. ....../lib_opencad/lib/cadfilestreamio.h:51:25: error: 'Write' marked 'override' but does not override any member functions
  597.     virtual size_t      Write(void* ptr, size_t size) override;
  598.                         ^
  599. ....../lib_opencad/lib/cadfilestreamio.h:52:25: error: 'Rewind' marked 'override' but does not override any member functions
  600.     virtual void        Rewind() override;
  601.                         ^
  602. ....../lib_opencad/lib/cadfilestreamio.cpp:33:64: error: member initializer 'CADFileIO' does not name a non-static data member or base class
  603. CADFileStreamIO::CADFileStreamIO( const char * pszFilePath ) : CADFileIO( pszFilePath )
  604.                                                                ^~~~~~~~~~~~~~~~~~~~~~~~
  605. ....../lib_opencad/lib/cadobjects.h:292:5: error: unknown type name 'CADHandle'
  606.     CADHandle hPrevEntity;
  607.     ^
  608. ....../lib_opencad/lib/cadobjects.h:293:5: error: unknown type name 'CADHandle'
  609.     CADHandle hNextEntity;
  610.     ^
  611. ....../lib_opencad/lib/cadfilestreamio.cpp:39:26: error: no member named 'IsOpened' in 'CADFileStreamIO'
  612.     if( CADFileStreamIO::IsOpened() )
  613.         ~~~~~~~~~~~~~~~~~^
  614. ....../lib_opencad/lib/cadobjects.h:295:5: error: unknown type name 'CADHandle'
  615.     CADHandle hColorBookHandle;
  616.     ^
  617. ....../lib_opencad/lib/cadobjects.h:297:5: error: unknown type name 'CADHandle'
  618.     CADHandle hMaterial;
  619.     ^
  620. ....../lib_opencad/lib/cadfilestreamio.cpp:57:16: error: use of undeclared identifier 'OpenMode'
  621.     if( mode & OpenMode::binary )
  622.                ^
  623. ....../lib_opencad/lib/cadobjects.h:298:5: error: unknown type name 'CADHandle'
  624.     CADHandle hPlotStyle;
  625.     ^
  626. ....../lib_opencad/lib/cadobjects.h:300:5: error: unknown type name 'CADHandle'
  627.     CADHandle hFullVisualStyle;
  628.     ^
  629. ....../lib_opencad/lib/cadfilestreamio.cpp:60:16: error: use of undeclared identifier 'OpenMode'
  630.     if( mode & OpenMode::out )
  631.                ^
  632. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  633. ....../lib_opencad/lib/cadfilestreamio.cpp:64:25: error: use of undeclared identifier 'm_soFilePath'
  634.     m_oFileStream.open( m_soFilePath, io_mode );
  635.                         ^
  636. ....../lib_opencad/lib/cadfilestreamio.cpp:67:9: error: use of undeclared identifier 'm_bIsOpened'
  637.         m_bIsOpened = true;
  638.         ^
  639. ....../lib_opencad/lib/cadfilestreamio.cpp:69:12: error: use of undeclared identifier 'm_bIsOpened'
  640.     return m_bIsOpened;
  641.            ^
  642. ....../lib_opencad/lib/cadclasses.cpp:42:1: error: use of undeclared identifier 'CADClass'
  643. CADClass::CADClass() : sCppClassName(""),
  644. ^
  645. ....../lib_opencad/lib/cadfilestreamio.cpp:75:12: error: use of undeclared identifier 'CADFileIO'
  646.     return CADFileIO::Close();
  647.            ^
  648. ....../lib_opencad/lib/cadclasses.cpp:58:1: error: use of undeclared identifier 'CADClasses'
  649. CADClasses::CADClasses()
  650. ^
  651. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  652. ....../lib_opencad/lib/cadclasses.cpp:62:6: error: use of undeclared identifier 'CADClasses'
  653. void CADClasses::addClass( CADClass stClass )
  654.      ^
  655. ....../lib_opencad/lib/cadclasses.cpp:62:28: error: unknown type name 'CADClass'
  656. void CADClasses::addClass( CADClass stClass )
  657.                            ^
  658. ....../lib_opencad/lib/cadclasses.cpp:78:1: error: unknown type name 'CADClass'
  659. CADClass CADClasses::getClassByNum( short num ) const
  660. ^
  661. 1 warning and 20 errors generated.
  662. ....../lib_opencad/lib/cadclasses.cpp:78:10: error: use of undeclared identifier 'CADClasses'
  663. CADClass CADClasses::getClassByNum( short num ) const
  664.          ^
  665. ....../lib_opencad/lib/cadclasses.cpp:88:6: error: use of undeclared identifier 'CADClasses'
  666. void CADClasses::print() const
  667.      ^
  668. make[2]: *** [lib/CMakeFiles/opencad.dir/build.make:135: lib/CMakeFiles/opencad.dir/cadfilestreamio.cpp.o] Error 1
  669. 2 warnings and 9 errors generated.
  670. 5 warnings and 20 errors generated.
  671. make[2]: *** [lib/CMakeFiles/opencad.dir/build.make:163: lib/CMakeFiles/opencad.dir/cadclasses.cpp.o] Error 1
  672. make[2]: *** [lib/CMakeFiles/opencad.dir/build.make:233: lib/CMakeFiles/opencad.dir/caddictionary.cpp.o] Error 1
  673. 5 warnings and 20 errors generated.
  674. make[2]: *** [lib/CMakeFiles/opencad.dir/build.make:205: lib/CMakeFiles/opencad.dir/cadobjects.cpp.o] Error 1
  675. 5 warnings and 20 errors generated.
  676. make[2]: *** [lib/CMakeFiles/opencad.dir/build.make:191: lib/CMakeFiles/opencad.dir/cadgeometry.cpp.o] Error 1
  677. 5 warnings and 20 errors generated.
  678. 5 warnings and 20 errors generated.
  679. make[2]: *** [lib/CMakeFiles/opencad.dir/build.make:177: lib/CMakeFiles/opencad.dir/cadtables.cpp.o] Error 1
  680. make[2]: *** [lib/CMakeFiles/opencad.dir/build.make:107: lib/CMakeFiles/opencad.dir/cadfile.cpp.o] Error 1
  681. 5 warnings and 20 errors generated.
  682. make[2]: *** [lib/CMakeFiles/opencad.dir/build.make:149: lib/CMakeFiles/opencad.dir/cadheader.cpp.o] Error 1
  683. 5 warnings and 20 errors generated.
  684. 5 warnings and 20 errors generated.
  685. make[2]: *** [lib/CMakeFiles/opencad.dir/build.make:79: lib/CMakeFiles/opencad.dir/opencad.cpp.o] Error 1
  686. make[2]: *** [lib/CMakeFiles/opencad.dir/build.make:219: lib/CMakeFiles/opencad.dir/cadlayer.cpp.o] Error 1
  687. make[2]: Leaving directory '....../lib_opencad/build'
  688. make[1]: *** [CMakeFiles/Makefile2:181: lib/CMakeFiles/opencad.dir/all] Error 2
  689. make[1]: Leaving directory '....../lib_opencad/build'
  690. make: *** [Makefile:169: all] Error 2
  691.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement