Advertisement
jiapei100

lib_opencad-gcc.txt

May 5th, 2022
1,117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 84.63 KB | None | 0 0
  1. ......
  2. In file included from ....../lib_opencad/lib/cadheader.h:34,
  3.                  from ....../lib_opencad/lib/cadobjects.h:35,
  4.                  from ....../lib_opencad/lib/caddictionary.h:34,
  5.                  from ....../lib_opencad/lib/cadfile.h:34,
  6.                  from ....../lib_opencad/lib/cadfile.cpp:31:
  7. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  8.    56 |   #define OCAD_EXTERN extern
  9.       |                       ^~~~~~
  10. ....../lib_opencad/lib/cadlayer.h:41:7: note: in expansion of macro ‘OCAD_EXTERN’
  11.    41 | class OCAD_EXTERN CADLayer
  12.       |       ^~~~~~~~~~~
  13. In file included from ....../lib_opencad/lib/cadtables.h:35,
  14.                  from ....../lib_opencad/lib/cadfile.h:37,
  15.                  from ....../lib_opencad/lib/cadfile.cpp:31:
  16. ....../lib_opencad/lib/cadlayer.h:41:19: warning: ‘CADLayer’ initialized and declared ‘extern’
  17.    41 | class OCAD_EXTERN CADLayer
  18.       |                   ^~~~~~~~
  19. ....../lib_opencad/lib/cadlayer.h:43:1: error: expected primary-expression before ‘public’
  20.    43 | public:
  21.       | ^~~~~~
  22. ....../lib_opencad/lib/cadlayer.h:43:1: error: expected ‘}’ before ‘public’
  23. ....../lib_opencad/lib/cadlayer.h:42:1: note: to match this ‘{
  24.    42 | {
  25.       | ^
  26. ....../lib_opencad/lib/cadlayer.h:45:27: error: non-member function ‘std::string getName()’ cannot have cv-qualifier
  27.    45 |     std::string getName() const;
  28.       |                           ^~~~~
  29. ....../lib_opencad/lib/cadlayer.h:48:22: error: non-member function ‘bool getFrozen()’ cannot have cv-qualifier
  30.    48 |     bool getFrozen() const;
  31.       |                      ^~~~~
  32. ....../lib_opencad/lib/cadlayer.h:51:18: error: non-member function ‘bool getOn()’ cannot have cv-qualifier
  33.    51 |     bool getOn() const;
  34.       |                  ^~~~~
  35. ....../lib_opencad/lib/cadlayer.h:54:31: error: non-member function ‘bool getFrozenByDefault()’ cannot have cv-qualifier
  36.    54 |     bool getFrozenByDefault() const;
  37.       |                               ^~~~~
  38. ....../lib_opencad/lib/cadlayer.h:57:22: error: non-member function ‘bool getLocked()’ cannot have cv-qualifier
  39.    57 |     bool getLocked() const;
  40.       |                      ^~~~~
  41. ....../lib_opencad/lib/cadlayer.h:60:24: error: non-member function ‘bool getPlotting()’ cannot have cv-qualifier
  42.    60 |     bool getPlotting() const;
  43.       |                        ^~~~~
  44. ....../lib_opencad/lib/cadlayer.h:63:27: error: non-member function ‘short int getLineWeight()’ cannot have cv-qualifier
  45.    63 |     short getLineWeight() const;
  46.       |                           ^~~~~
  47. ....../lib_opencad/lib/cadlayer.h:66:22: error: non-member function ‘short int getColor()’ cannot have cv-qualifier
  48.    66 |     short getColor() const;
  49.       |                      ^~~~~
  50. ....../lib_opencad/lib/cadlayer.h:66:11: error: ambiguating new declaration of ‘short int getColor()
  51.    66 |     short getColor() const;
  52.       |           ^~~~~~~~
  53. ....../lib_opencad/lib/cadfile.h:141:5: error: ‘CADTables’ does not name a type
  54.   141 |     CADTables  oTables;
  55.       |     ^~~~~~~~~
  56. In file included from ....../lib_opencad/lib/cadlayer.h:34,
  57.                  from ....../lib_opencad/lib/cadtables.h:35,
  58.                  from ....../lib_opencad/lib/cadfile.h:37,
  59.                  from ....../lib_opencad/lib/cadfile.cpp:31:
  60. ....../lib_opencad/lib/cadgeometry.h:96:23: note: old declaration ‘RGBColor getColor()
  61.    96 |     RGBColor          getColor() const;
  62.       |                       ^~~~~~~~
  63. ....../lib_opencad/lib/cadfile.h:143:1: error: expected unqualified-id before ‘protected’
  64.   143 | protected:
  65.       | ^~~~~~~~~
  66. ....../lib_opencad/lib/cadfile.h:146:1: error: expected declaration before ‘}’ token
  67.   146 | };
  68.       | ^
  69. In file included from ....../lib_opencad/lib/cadtables.h:35,
  70.                  from ....../lib_opencad/lib/cadfile.h:37,
  71.                  from ....../lib_opencad/lib/cadfile.cpp:31:
  72. ....../lib_opencad/lib/cadlayer.h:69:20: error: non-member function ‘size_t getId()’ cannot have cv-qualifier
  73.    69 |     size_t getId() const;
  74.       |                    ^~~~~
  75. ....../lib_opencad/lib/cadlayer.h:72:22: error: non-member function ‘long int getHandle()’ cannot have cv-qualifier
  76.    72 |     long getHandle() const;
  77.       |                      ^~~~~
  78. ....../lib_opencad/lib/cadlayer.h:78:39: error: ‘CADObject’ is not a class, namespace, or enumeration
  79.    78 |     void addHandle( long handle, enum CADObject::ObjectType type, long cadinserthandle = 0 );
  80.       |                                       ^~~~~~~~~
  81. ....../lib_opencad/lib/cadlayer.h:80:31: error: non-member function ‘size_t getGeometryCount()’ cannot have cv-qualifier
  82.    80 |     size_t getGeometryCount() const;
  83.       |                               ^~~~~
  84. ....../lib_opencad/lib/cadobjects.cpp: In function ‘double getX()’:
  85. ....../lib_opencad/lib/cadobjects.cpp:127:12: error: ‘X’ was not declared in this scope
  86.   127 |     return X;
  87.       |            ^
  88. ....../lib_opencad/lib/cadobjects.cpp: At global scope:
  89. ....../lib_opencad/lib/cadobjects.cpp:130:6: error: ‘CADVector’ is not a class, namespace, or enumeration
  90.   130 | void CADVector::setX( double value )
  91.       |      ^~~~~~~~~
  92. In file included from ....../lib_opencad/lib/cadheader.h:34,
  93.                  from ....../lib_opencad/lib/cadobjects.h:35,
  94.                  from ....../lib_opencad/lib/caddictionary.h:34,
  95.                  from ....../lib_opencad/lib/cadfile.h:34,
  96.                  from ....../lib_opencad/lib/opencad_api.h:34,
  97.                  from ....../lib_opencad/lib/opencad.cpp:31:
  98. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  99.    56 |   #define OCAD_EXTERN extern
  100.       |                       ^~~~~~
  101. ....../lib_opencad/lib/caddictionary.h:40:7: note: in expansion of macro ‘OCAD_EXTERN’
  102.    40 | class OCAD_EXTERN CADDictionaryRecord
  103.       |       ^~~~~~~~~~~
  104. In file included from ....../lib_opencad/lib/cadfile.h:34,
  105.                  from ....../lib_opencad/lib/opencad_api.h:34,
  106.                  from ....../lib_opencad/lib/opencad.cpp:31:
  107. ....../lib_opencad/lib/caddictionary.h:40:19: warning: ‘CADDictionaryRecord’ initialized and declared ‘extern’
  108.    40 | class OCAD_EXTERN CADDictionaryRecord
  109.       |                   ^~~~~~~~~~~~~~~~~~~
  110. ....../lib_opencad/lib/caddictionary.h:42:1: error: expected primary-expression before ‘public’
  111.    42 | public:
  112.       | ^~~~~~
  113. ....../lib_opencad/lib/caddictionary.h:42:1: error: expected ‘}’ before ‘public’
  114. ....../lib_opencad/lib/caddictionary.h:41:1: note: to match this ‘{
  115.    41 | {
  116.       | ^
  117. ....../lib_opencad/lib/caddictionary.h:44:33: error: expected class-name before ‘(’ token
  118.    44 |     virtual ~CADDictionaryRecord(){}
  119.       |                                 ^
  120. In file included from ....../lib_opencad/lib/cadtables.cpp:32:
  121. ....../lib_opencad/lib/opencad_api.h:75:13: error: ‘CADFile’ does not name a type
  122.    75 | OCAD_EXTERN CADFile    * OpenCADFile( CADFileIO * pCADFileIO, enum CADFile::OpenOptions eOptions,
  123.       |             ^~~~~~~
  124. ....../lib_opencad/lib/opencad_api.h:77:13: error: ‘CADFile’ does not name a type
  125.    77 | OCAD_EXTERN CADFile    * OpenCADFile( const char * pszFileName, enum CADFile::OpenOptions eOptions,
  126.       |             ^~~~~~~
  127. In file included from ....../lib_opencad/lib/cadlayer.cpp:31:
  128. ....../lib_opencad/lib/cadlayer.h:112:1: error: expected declaration before ‘}’ token
  129.   112 | };
  130.       | ^
  131. ....../lib_opencad/lib/cadlayer.h:81:5: error: ‘CADGeometry’ does not name a type
  132.    81 |     CADGeometry * getGeometry( size_t index );
  133.       |     ^~~~~~~~~~~
  134. ....../lib_opencad/lib/cadlayer.h:82:28: error: non-member function ‘size_t getImageCount()’ cannot have cv-qualifier
  135.    82 |     size_t getImageCount() const;
  136.       |                            ^~~~~
  137. ....../lib_opencad/lib/caddictionary.h:46:5: error: ‘CADObject’ does not name a type; did you mean ‘CADRayObject’?
  138.    46 |     CADObject::ObjectType getType() const;
  139.       |     ^~~~~~~~~
  140.       |     CADRayObject
  141. ....../lib_opencad/lib/caddictionary.h:48:1: error: expected unqualified-id before ‘protected’
  142.    48 | protected:
  143.       | ^~~~~~~~~
  144. ....../lib_opencad/lib/caddictionary.h:50:1: error: expected declaration before ‘}’ token
  145.    50 | };
  146.       | ^
  147. In file included from ....../lib_opencad/lib/cadheader.h:34,
  148.                  from ....../lib_opencad/lib/cadobjects.h:35,
  149.                  from ....../lib_opencad/lib/caddictionary.h:34,
  150.                  from ....../lib_opencad/lib/cadfile.h:34,
  151.                  from ....../lib_opencad/lib/opencad_api.h:34,
  152.                  from ....../lib_opencad/lib/opencad.cpp:31:
  153. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  154.    56 |   #define OCAD_EXTERN extern
  155.       |                       ^~~~~~
  156. ....../lib_opencad/lib/caddictionary.h:55:7: note: in expansion of macro ‘OCAD_EXTERN’
  157.    55 | class OCAD_EXTERN CADXRecord : public CADDictionaryRecord
  158.       |       ^~~~~~~~~~~
  159. In file included from ....../lib_opencad/lib/cadfile.h:34,
  160.                  from ....../lib_opencad/lib/opencad_api.h:34,
  161.                  from ....../lib_opencad/lib/opencad.cpp:31:
  162. ....../lib_opencad/lib/caddictionary.h:55:30: error: expected initializer before ‘:’ token
  163.    55 | class OCAD_EXTERN CADXRecord : public CADDictionaryRecord
  164.       |                              ^
  165. ....../lib_opencad/lib/caddictionary.h:71:49: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp> class std::shared_ptr’
  166.    71 | typedef std::pair< std::string, std::shared_ptr<CADDictionaryRecord>> CADDictionaryItem;
  167.       |                                                 ^~~~~~~~~~~~~~~~~~~
  168. ....../lib_opencad/lib/caddictionary.h:71:49: note:   expected a type, got ‘CADDictionaryRecord’
  169. ....../lib_opencad/lib/caddictionary.h:71:68: error: template argument 2 is invalid
  170.    71 | typedef std::pair< std::string, std::shared_ptr<CADDictionaryRecord>> CADDictionaryItem;
  171.       |                                                                    ^~
  172. In file included from ....../lib_opencad/lib/cadheader.h:34,
  173.                  from ....../lib_opencad/lib/cadobjects.h:35,
  174.                  from ....../lib_opencad/lib/caddictionary.h:34,
  175.                  from ....../lib_opencad/lib/cadfile.h:34,
  176.                  from ....../lib_opencad/lib/opencad_api.h:34,
  177.                  from ....../lib_opencad/lib/opencad.cpp:31:
  178. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  179.    56 |   #define OCAD_EXTERN extern
  180.       |                       ^~~~~~
  181. ....../lib_opencad/lib/caddictionary.h:72:7: note: in expansion of macro ‘OCAD_EXTERN’
  182.    72 | class OCAD_EXTERN CADDictionary : public CADDictionaryRecord
  183.       |       ^~~~~~~~~~~
  184. In file included from ....../lib_opencad/lib/cadheader.h:34,
  185.                  from ....../lib_opencad/lib/cadobjects.h:35,
  186.                  from ....../lib_opencad/lib/cadgeometry.h:34,
  187.                  from ....../lib_opencad/lib/cadlayer.h:34,
  188.                  from ....../lib_opencad/lib/cadlayer.cpp:31:
  189. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  190.    56 |   #define OCAD_EXTERN extern
  191.       |                       ^~~~~~
  192. ....../lib_opencad/lib/caddictionary.h:40:7: note: in expansion of macro ‘OCAD_EXTERN’
  193.    40 | class OCAD_EXTERN CADDictionaryRecord
  194.       |       ^~~~~~~~~~~
  195. In file included from ....../lib_opencad/lib/cadfile.h:34,
  196.                  from ....../lib_opencad/lib/opencad_api.h:34,
  197.                  from ....../lib_opencad/lib/opencad.cpp:31:
  198. ....../lib_opencad/lib/caddictionary.h:72:33: error: expected initializer before ‘:’ token
  199.    72 | class OCAD_EXTERN CADDictionary : public CADDictionaryRecord
  200.       |                                 ^
  201. In file included from ....../lib_opencad/lib/cadfile.h:34,
  202.                  from ....../lib_opencad/lib/cadlayer.cpp:32:
  203. ....../lib_opencad/lib/caddictionary.h:40:19: warning: ‘CADDictionaryRecord’ initialized and declared ‘extern’
  204.    40 | class OCAD_EXTERN CADDictionaryRecord
  205.       |                   ^~~~~~~~~~~~~~~~~~~
  206. ....../lib_opencad/lib/caddictionary.h:42:1: error: expected primary-expression before ‘public’
  207.    42 | public:
  208.       | ^~~~~~
  209. ....../lib_opencad/lib/caddictionary.h:42:1: error: expected ‘}’ before ‘public’
  210. ....../lib_opencad/lib/caddictionary.h:41:1: note: to match this ‘{
  211.    41 | {
  212.       | ^
  213. ....../lib_opencad/lib/caddictionary.h:44:33: error: expected class-name before ‘(’ token
  214.    44 |     virtual ~CADDictionaryRecord(){}
  215.       |                                 ^
  216. ....../lib_opencad/lib/cadobjects.cpp: In function ‘void setX(double)’:
  217. ....../lib_opencad/lib/cadobjects.cpp:132:5: error: ‘X’ was not declared in this scope
  218.   132 |     X = value;
  219.       |     ^
  220. ....../lib_opencad/lib/opencad_api.h:80:13: error: ‘CADFileIO’ does not name a type; did you mean ‘CADFile’?
  221.    80 | OCAD_EXTERN CADFileIO * GetDefaultFileIO( const char * pszFileName );
  222.       |             ^~~~~~~~~
  223.       |             CADFile
  224. ....../lib_opencad/lib/opencad_api.h:81:17: warning: ‘IdentifyCADFile’ initialized and declared ‘extern’
  225.    81 | OCAD_EXTERN int IdentifyCADFile( CADFileIO * pCADFileIO, bool bOwn = true );
  226.       |                 ^~~~~~~~~~~~~~~
  227. In file included from ....../lib_opencad/lib/cadheader.h:34,
  228.                  from ....../lib_opencad/lib/cadobjects.h:35,
  229.                  from ....../lib_opencad/lib/caddictionary.h:34,
  230.                  from ....../lib_opencad/lib/cadfile.h:34,
  231.                  from ....../lib_opencad/lib/opencad_api.h:34,
  232.                  from ....../lib_opencad/lib/opencad.cpp:31:
  233. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  234.    56 |   #define OCAD_EXTERN extern
  235.       |                       ^~~~~~
  236. ....../lib_opencad/lib/cadclasses.h:40:7: note: in expansion of macro ‘OCAD_EXTERN’
  237.    40 | class OCAD_EXTERN  CADClass
  238.       |       ^~~~~~~~~~~
  239. In file included from ....../lib_opencad/lib/cadfile.h:35,
  240.                  from ....../lib_opencad/lib/opencad_api.h:34,
  241.                  from ....../lib_opencad/lib/opencad.cpp:31:
  242. ....../lib_opencad/lib/cadclasses.h:40:20: warning: ‘CADClass’ initialized and declared ‘extern’
  243.    40 | class OCAD_EXTERN  CADClass
  244.       |                    ^~~~~~~~
  245. ....../lib_opencad/lib/cadlayer.h:83:5: error: ‘CADImage’ does not name a type
  246.    83 |     CADImage * getImage( size_t index );
  247.       |     ^~~~~~~~
  248. ....../lib_opencad/lib/cadclasses.h:42:1: error: expected primary-expression before ‘public’
  249.    42 | public:
  250.       | ^~~~~~
  251. ....../lib_opencad/lib/cadclasses.h:42:1: error: expected ‘}’ before ‘public’
  252. ....../lib_opencad/lib/cadlayer.h:88:17: error: the value of ‘CADObject’ is not usable in a constant expression
  253.    88 |     std::vector<CADObject::ObjectType> getGeometryTypes();
  254.       |                 ^~~~~~~~~
  255. ....../lib_opencad/lib/cadclasses.h:41:1: note: to match this ‘{
  256.    41 | {
  257.       | ^
  258. ....../lib_opencad/lib/cadlayer.h:88:38: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp, class _Alloc> class std::vector’
  259.    88 |     std::vector<CADObject::ObjectType> getGeometryTypes();
  260.       |                                      ^
  261. ....../lib_opencad/lib/cadclasses.h:45:1: error: expected unqualified-id before ‘public’
  262.    45 | public:
  263.       | ^~~~~~
  264. ....../lib_opencad/lib/cadlayer.h:88:38: note:   expected a type, got ‘CADObject’
  265. ....../lib_opencad/lib/cadlayer.h:88:38: error: template argument 2 is invalid
  266. ....../lib_opencad/lib/cadlayer.h:90:1: error: expected unqualified-id before ‘protected’
  267.    90 | protected:
  268.       | ^~~~~~~~~
  269. ....../lib_opencad/lib/cadlayer.h:92:1: error: expected unqualified-id before ‘protected’
  270.    92 | protected:
  271.       | ^~~~~~~~~
  272. ....../lib_opencad/lib/cadclasses.h:55:1: error: expected declaration before ‘}’ token
  273.    55 | };
  274.       | ^
  275. In file included from ....../lib_opencad/lib/cadheader.h:34,
  276.                  from ....../lib_opencad/lib/cadobjects.h:35,
  277.                  from ....../lib_opencad/lib/caddictionary.h:34,
  278.                  from ....../lib_opencad/lib/cadfile.h:34,
  279.                  from ....../lib_opencad/lib/opencad_api.h:34,
  280.                  from ....../lib_opencad/lib/opencad.cpp:31:
  281. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  282.    56 |   #define OCAD_EXTERN extern
  283.       |                       ^~~~~~
  284. ....../lib_opencad/lib/cadclasses.h:57:7: note: in expansion of macro ‘OCAD_EXTERN’
  285.    57 | class OCAD_EXTERN CADClasses
  286.       |       ^~~~~~~~~~~
  287. In file included from ....../lib_opencad/lib/cadfile.h:35,
  288.                  from ....../lib_opencad/lib/opencad_api.h:34,
  289.                  from ....../lib_opencad/lib/opencad.cpp:31:
  290. ....../lib_opencad/lib/cadclasses.h:57:19: warning: ‘CADClasses’ initialized and declared ‘extern’
  291.    57 | class OCAD_EXTERN CADClasses
  292.       |                   ^~~~~~~~~~
  293. ....../lib_opencad/lib/cadclasses.h:59:1: error: expected primary-expression before ‘public’
  294.    59 | public:
  295.       | ^~~~~~
  296. ....../lib_opencad/lib/cadclasses.h:59:1: error: expected ‘}’ before ‘public’
  297. ....../lib_opencad/lib/cadclasses.h:58:1: note: to match this ‘{
  298.    58 | {
  299.       | ^
  300. ....../lib_opencad/lib/cadclasses.h:62:1: error: expected unqualified-id before ‘public’
  301.    62 | public:
  302.       | ^~~~~~
  303. ....../lib_opencad/lib/cadlayer.h:104:17: error: the value of ‘CADObject’ is not usable in a constant expression
  304.   104 |     std::vector<CADObject::ObjectType>  geometryTypes; // FIXME: replace with hashset would be perfect
  305.       |                 ^~~~~~~~~
  306. ....../lib_opencad/lib/cadlayer.h:104:38: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp, class _Alloc> class std::vector’
  307.   104 |     std::vector<CADObject::ObjectType>  geometryTypes; // FIXME: replace with hashset would be perfect
  308.       |                                      ^
  309. ....../lib_opencad/lib/cadlayer.h:104:38: note:   expected a type, got ‘CADObject’
  310. ....../lib_opencad/lib/cadlayer.h:104:38: error: template argument 2 is invalid
  311. ....../lib_opencad/lib/cadobjects.cpp: At global scope:
  312. ....../lib_opencad/lib/cadobjects.cpp:135:1: error: ‘CADVector’ does not name a type
  313.   135 | CADVector::CADVector() : X( .0 ), Y( .0 ), Z( .0 ), bHasZ( true )
  314.       | ^~~~~~~~~
  315. ....../lib_opencad/lib/caddictionary.h:46:5: error: ‘CADObject’ does not name a type; did you mean ‘CADRayObject’?
  316.    46 |     CADObject::ObjectType getType() const;
  317.       |     ^~~~~~~~~
  318.       |     CADRayObject
  319. ....../lib_opencad/lib/caddictionary.h:48:1: error: expected unqualified-id before ‘protected’
  320.    48 | protected:
  321.       | ^~~~~~~~~
  322. ....../lib_opencad/lib/caddictionary.h:50:1: error: expected declaration before ‘}’ token
  323.    50 | };
  324.       | ^
  325. In file included from ....../lib_opencad/lib/cadheader.h:34,
  326.                  from ....../lib_opencad/lib/cadobjects.h:35,
  327.                  from ....../lib_opencad/lib/cadgeometry.h:34,
  328.                  from ....../lib_opencad/lib/cadlayer.h:34,
  329.                  from ....../lib_opencad/lib/cadlayer.cpp:31:
  330. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  331.    56 |   #define OCAD_EXTERN extern
  332.       |                       ^~~~~~
  333. ....../lib_opencad/lib/caddictionary.h:55:7: note: in expansion of macro ‘OCAD_EXTERN’
  334.    55 | class OCAD_EXTERN CADXRecord : public CADDictionaryRecord
  335.       |       ^~~~~~~~~~~
  336. In file included from ....../lib_opencad/lib/cadfile.h:34,
  337.                  from ....../lib_opencad/lib/cadlayer.cpp:32:
  338. ....../lib_opencad/lib/caddictionary.h:55:30: error: expected initializer before ‘:’ token
  339.    55 | class OCAD_EXTERN CADXRecord : public CADDictionaryRecord
  340.       |                              ^
  341. ....../lib_opencad/lib/cadclasses.h:64:5: error: ‘CADClass’ does not name a type
  342.    64 |     CADClass            getClassByNum(short num) const;
  343.       |     ^~~~~~~~
  344. ....../lib_opencad/lib/cadclasses.h:65:33: error: non-member function ‘void print()’ cannot have cv-qualifier
  345.    65 |     void                print() const;
  346.       |                                 ^~~~~
  347. ....../lib_opencad/lib/caddictionary.h:71:49: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp> class std::shared_ptr’
  348.    71 | typedef std::pair< std::string, std::shared_ptr<CADDictionaryRecord>> CADDictionaryItem;
  349.       |                                                 ^~~~~~~~~~~~~~~~~~~
  350. ....../lib_opencad/lib/cadclasses.h:67:1: error: expected unqualified-id before ‘protected’
  351.    67 | protected:
  352.       | ^~~~~~~~~
  353. ....../lib_opencad/lib/caddictionary.h:71:49: note:   expected a type, got ‘CADDictionaryRecord’
  354. ....../lib_opencad/lib/cadclasses.h:69:1: error: expected declaration before ‘}’ token
  355.    69 | };
  356.       | ^
  357. ....../lib_opencad/lib/caddictionary.h:71:68: error: template argument 2 is invalid
  358.    71 | typedef std::pair< std::string, std::shared_ptr<CADDictionaryRecord>> CADDictionaryItem;
  359.       |                                                                    ^~
  360. In file included from ....../lib_opencad/lib/cadheader.h:34,
  361.                  from ....../lib_opencad/lib/cadobjects.h:35,
  362.                  from ....../lib_opencad/lib/cadgeometry.h:34,
  363.                  from ....../lib_opencad/lib/cadlayer.h:34,
  364.                  from ....../lib_opencad/lib/cadlayer.cpp:31:
  365. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  366.    56 |   #define OCAD_EXTERN extern
  367.       |                       ^~~~~~
  368. ....../lib_opencad/lib/caddictionary.h:72:7: note: in expansion of macro ‘OCAD_EXTERN’
  369.    72 | class OCAD_EXTERN CADDictionary : public CADDictionaryRecord
  370.       |       ^~~~~~~~~~~
  371. In file included from ....../lib_opencad/lib/cadfile.h:34,
  372.                  from ....../lib_opencad/lib/cadlayer.cpp:32:
  373. ....../lib_opencad/lib/caddictionary.h:72:33: error: expected initializer before ‘:’ token
  374.    72 | class OCAD_EXTERN CADDictionary : public CADDictionaryRecord
  375.       |                                 ^
  376. In file included from ....../lib_opencad/lib/cadheader.h:34,
  377.                  from ....../lib_opencad/lib/cadobjects.h:35,
  378.                  from ....../lib_opencad/lib/caddictionary.h:34,
  379.                  from ....../lib_opencad/lib/cadfile.h:34,
  380.                  from ....../lib_opencad/lib/opencad_api.h:34,
  381.                  from ....../lib_opencad/lib/opencad.cpp:31:
  382. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  383.    56 |   #define OCAD_EXTERN extern
  384.       |                       ^~~~~~
  385. ....../lib_opencad/lib/cadfileio.h:43:7: note: in expansion of macro ‘OCAD_EXTERN’
  386.    43 | class OCAD_EXTERN CADFileIO
  387.       |       ^~~~~~~~~~~
  388. In file included from ....../lib_opencad/lib/cadheader.h:34,
  389.                  from ....../lib_opencad/lib/cadobjects.h:35,
  390.                  from ....../lib_opencad/lib/cadgeometry.h:34,
  391.                  from ....../lib_opencad/lib/cadlayer.h:34,
  392.                  from ....../lib_opencad/lib/cadlayer.cpp:31:
  393. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  394.    56 |   #define OCAD_EXTERN extern
  395.       |                       ^~~~~~
  396. ....../lib_opencad/lib/cadclasses.h:40:7: note: in expansion of macro ‘OCAD_EXTERN’
  397.    40 | class OCAD_EXTERN  CADClass
  398.       |       ^~~~~~~~~~~
  399. In file included from ....../lib_opencad/lib/cadfile.h:36,
  400.                  from ....../lib_opencad/lib/opencad_api.h:34,
  401.                  from ....../lib_opencad/lib/opencad.cpp:31:
  402. ....../lib_opencad/lib/cadfileio.h:43:19: warning: ‘CADFileIO’ initialized and declared ‘extern’
  403.    43 | class OCAD_EXTERN CADFileIO
  404.       |                   ^~~~~~~~~
  405. In file included from ....../lib_opencad/lib/cadfile.h:35,
  406.                  from ....../lib_opencad/lib/cadlayer.cpp:32:
  407. ....../lib_opencad/lib/cadclasses.h:40:20: warning: ‘CADClass’ initialized and declared ‘extern’
  408.    40 | class OCAD_EXTERN  CADClass
  409.       |                    ^~~~~~~~
  410. ....../lib_opencad/lib/cadfileio.h:45:1: error: expected primary-expression before ‘public’
  411.    45 | public:
  412.       | ^~~~~~
  413. ....../lib_opencad/lib/cadclasses.h:42:1: error: expected primary-expression before ‘public’
  414.    42 | public:
  415.       | ^~~~~~
  416. ....../lib_opencad/lib/cadfileio.h:45:1: error: expected ‘}’ before ‘public’
  417. ....../lib_opencad/lib/cadclasses.h:42:1: error: expected ‘}’ before ‘public’
  418. ....../lib_opencad/lib/cadfileio.h:44:1: note: to match this ‘{
  419.    44 | {
  420.       | ^
  421. ....../lib_opencad/lib/cadclasses.h:41:1: note: to match this ‘{
  422.    41 | {
  423.       | ^
  424. ....../lib_opencad/lib/opencad_api.h:81:46: error: ‘pCADFileIO’ was not declared in this scope; did you mean ‘CADFileIO’?
  425.    81 | OCAD_EXTERN int IdentifyCADFile( CADFileIO * pCADFileIO, bool bOwn = true );
  426.       |                                              ^~~~~~~~~~
  427.       |                                              CADFileIO
  428. ....../lib_opencad/lib/cadclasses.h:45:1: error: expected unqualified-id before ‘public’
  429.    45 | public:
  430.       | ^~~~~~
  431. ....../lib_opencad/lib/cadfileio.h:60:1: error: expected unqualified-id before ‘public’
  432.    60 | public:
  433.       | ^~~~~~
  434. ....../lib_opencad/lib/opencad_api.h:81:58: error: expected primary-expression before ‘bool’
  435.    81 | OCAD_EXTERN int IdentifyCADFile( CADFileIO * pCADFileIO, bool bOwn = true );
  436.       |                                                          ^~~~
  437. ....../lib_opencad/lib/cadfileio.h:62:39: error: expected class-name before ‘(’ token
  438.    62 |     virtual                 ~CADFileIO();
  439.       |                                       ^
  440. ....../lib_opencad/lib/opencad_api.h:81:75: error: expression list treated as compound expression in initializer [-fpermissive]
  441.    81 | OCAD_EXTERN int IdentifyCADFile( CADFileIO * pCADFileIO, bool bOwn = true );
  442.       |                                                                           ^
  443. ....../lib_opencad/lib/cadfileio.h:64:5: error: ‘virtual’ outside class declaration
  444.    64 |     virtual const char * ReadLine() = 0;
  445.       |     ^~~~~~~
  446. ....../lib_opencad/lib/cadclasses.h:55:1: error: expected declaration before ‘}’ token
  447.    55 | };
  448.       | ^
  449. ....../lib_opencad/lib/cadfileio.h:64:26: error: function ‘const char* ReadLine()’ is initialized like a variable
  450.    64 |     virtual const char * ReadLine() = 0;
  451.       |                          ^~~~~~~~
  452. ....../lib_opencad/lib/cadfileio.h:65:5: error: ‘virtual’ outside class declaration
  453.    65 |     virtual bool     Eof() const                                = 0;
  454.       |     ^~~~~~~
  455. In file included from ....../lib_opencad/lib/cadheader.h:34,
  456.                  from ....../lib_opencad/lib/cadobjects.h:35,
  457.                  from ....../lib_opencad/lib/cadgeometry.h:34,
  458.                  from ....../lib_opencad/lib/cadlayer.h:34,
  459.                  from ....../lib_opencad/lib/cadlayer.cpp:31:
  460. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  461.    56 |   #define OCAD_EXTERN extern
  462.       |                       ^~~~~~
  463. ....../lib_opencad/lib/cadclasses.h:57:7: note: in expansion of macro ‘OCAD_EXTERN’
  464.    57 | class OCAD_EXTERN CADClasses
  465.       |       ^~~~~~~~~~~
  466. ....../lib_opencad/lib/cadfileio.h:65:28: error: non-member function ‘bool Eof()’ cannot have cv-qualifier
  467.    65 |     virtual bool     Eof() const                                = 0;
  468.       |                            ^~~~~
  469. In file included from ....../lib_opencad/lib/cadfile.h:35,
  470.                  from ....../lib_opencad/lib/cadlayer.cpp:32:
  471. ....../lib_opencad/lib/cadclasses.h:57:19: warning: ‘CADClasses’ initialized and declared ‘extern’
  472.    57 | class OCAD_EXTERN CADClasses
  473.       |                   ^~~~~~~~~~
  474. ....../lib_opencad/lib/cadfileio.h:65:22: error: function ‘bool Eof()’ is initialized like a variable
  475.    65 |     virtual bool     Eof() const                                = 0;
  476.       |                      ^~~
  477. ....../lib_opencad/lib/cadclasses.h:59:1: error: expected primary-expression before ‘public’
  478.    59 | public:
  479.       | ^~~~~~
  480. ....../lib_opencad/lib/cadfileio.h:66:5: error: ‘virtual’ outside class declaration
  481.    66 |     virtual bool     Open( int mode )                           = 0;
  482.       |     ^~~~~~~
  483. ....../lib_opencad/lib/cadclasses.h:59:1: error: expected ‘}’ before ‘public’
  484. ....../lib_opencad/lib/cadclasses.h:58:1: note: to match this ‘{
  485.    58 | {
  486.       | ^
  487. ....../lib_opencad/lib/cadfileio.h:66:22: error: function ‘bool Open(int)’ is initialized like a variable
  488.    66 |     virtual bool     Open( int mode )                           = 0;
  489.       |                      ^~~~
  490. ....../lib_opencad/lib/cadclasses.h:62:1: error: expected unqualified-id before ‘public’
  491.    62 | public:
  492.       | ^~~~~~
  493. ....../lib_opencad/lib/cadfileio.h:67:5: error: ‘virtual’ outside class declaration
  494.    67 |     virtual bool     IsOpened() const;
  495.       |     ^~~~~~~
  496. ....../lib_opencad/lib/cadfileio.h:67:33: error: non-member function ‘bool IsOpened()’ cannot have cv-qualifier
  497.    67 |     virtual bool     IsOpened() const;
  498.       |                                 ^~~~~
  499. ....../lib_opencad/lib/cadfileio.h:68:5: error: ‘virtual’ outside class declaration
  500.    68 |     virtual bool     Close();
  501.       |     ^~~~~~~
  502. ....../lib_opencad/lib/cadfileio.h:69:45: error: ‘SeekOrigin’ has not been declared
  503.    69 |     virtual int      Seek( long int offset, SeekOrigin origin ) = 0;
  504.       |                                             ^~~~~~~~~~
  505. ....../lib_opencad/lib/cadfileio.h:69:5: error: ‘virtual’ outside class declaration
  506.    69 |     virtual int      Seek( long int offset, SeekOrigin origin ) = 0;
  507.       |     ^~~~~~~
  508. ....../lib_opencad/lib/cadfileio.h:69:22: error: function ‘int Seek(long int, int)’ is initialized like a variable
  509.    69 |     virtual int      Seek( long int offset, SeekOrigin origin ) = 0;
  510.       |                      ^~~~
  511. ....../lib_opencad/lib/cadfileio.h:70:5: error: ‘virtual’ outside class declaration
  512.    70 |     virtual long int Tell()                                     = 0;
  513.       |     ^~~~~~~
  514. ....../lib_opencad/lib/cadfileio.h:70:22: error: function ‘long int Tell()’ is initialized like a variable
  515.    70 |     virtual long int Tell()                                     = 0;
  516.       |                      ^~~~
  517. ....../lib_opencad/lib/cadfileio.h:71:5: error: ‘virtual’ outside class declaration
  518.    71 |     virtual size_t   Read( void * ptr, size_t size )            = 0;
  519.       |     ^~~~~~~
  520. ....../lib_opencad/lib/cadfileio.h:71:22: error: function ‘size_t Read(void*, size_t)’ is initialized like a variable
  521.    71 |     virtual size_t   Read( void * ptr, size_t size )            = 0;
  522.       |                      ^~~~
  523. ....../lib_opencad/lib/cadfileio.h:72:5: error: ‘virtual’ outside class declaration
  524.    72 |     virtual size_t   Write( void * ptr, size_t size )           = 0;
  525.       |     ^~~~~~~
  526. ....../lib_opencad/lib/cadfileio.h:72:22: error: function ‘size_t Write(void*, size_t)’ is initialized like a variable
  527.    72 |     virtual size_t   Write( void * ptr, size_t size )           = 0;
  528.       |                      ^~~~~
  529. ....../lib_opencad/lib/cadfileio.h:73:5: error: ‘virtual’ outside class declaration
  530.    73 |     virtual void     Rewind()                                   = 0;
  531.       |     ^~~~~~~
  532. ....../lib_opencad/lib/cadfileio.h:73:22: error: function ‘void Rewind()’ is initialized like a variable
  533.    73 |     virtual void     Rewind()                                   = 0;
  534.       |                      ^~~~~~
  535. ....../lib_opencad/lib/cadfileio.h:74:32: error: non-member function ‘const char* GetFilePath()’ cannot have cv-qualifier
  536.    74 |     const char * GetFilePath() const;
  537.       |                                ^~~~~
  538. ....../lib_opencad/lib/cadfileio.h:76:1: error: expected unqualified-id before ‘protected’
  539.    76 | protected:
  540.       | ^~~~~~~~~
  541. ....../lib_opencad/lib/cadfileio.h:79:1: error: expected declaration before ‘}’ token
  542.    79 | };
  543.       | ^
  544. ....../lib_opencad/lib/cadclasses.h:64:5: error: ‘CADClass’ does not name a type
  545.    64 |     CADClass            getClassByNum(short num) const;
  546.       |     ^~~~~~~~
  547. ....../lib_opencad/lib/cadclasses.h:65:33: error: non-member function ‘void print()’ cannot have cv-qualifier
  548.    65 |     void                print() const;
  549.       |                                 ^~~~~
  550. ....../lib_opencad/lib/cadclasses.h:67:1: error: expected unqualified-id before ‘protected’
  551.    67 | protected:
  552.       | ^~~~~~~~~
  553. ....../lib_opencad/lib/cadclasses.h:69:1: error: expected declaration before ‘}’ token
  554.    69 | };
  555.       | ^
  556. In file included from ....../lib_opencad/lib/cadheader.h:34,
  557.                  from ....../lib_opencad/lib/cadobjects.h:35,
  558.                  from ....../lib_opencad/lib/cadgeometry.h:34,
  559.                  from ....../lib_opencad/lib/cadlayer.h:34,
  560.                  from ....../lib_opencad/lib/cadlayer.cpp:31:
  561. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  562.    56 |   #define OCAD_EXTERN extern
  563.       |                       ^~~~~~
  564. ....../lib_opencad/lib/cadfileio.h:43:7: note: in expansion of macro ‘OCAD_EXTERN’
  565.    43 | class OCAD_EXTERN CADFileIO
  566.       |       ^~~~~~~~~~~
  567. In file included from ....../lib_opencad/lib/cadfile.h:36,
  568.                  from ....../lib_opencad/lib/cadlayer.cpp:32:
  569. ....../lib_opencad/lib/cadfileio.h:43:19: warning: ‘CADFileIO’ initialized and declared ‘extern’
  570.    43 | class OCAD_EXTERN CADFileIO
  571.       |                   ^~~~~~~~~
  572. ....../lib_opencad/lib/cadfileio.h:45:1: error: expected primary-expression before ‘public’
  573.    45 | public:
  574.       | ^~~~~~
  575. ....../lib_opencad/lib/cadfileio.h:45:1: error: expected ‘}’ before ‘public’
  576. ....../lib_opencad/lib/cadfileio.h:44:1: note: to match this ‘{
  577.    44 | {
  578.       | ^
  579. ....../lib_opencad/lib/cadfileio.h:60:1: error: expected unqualified-id before ‘public’
  580.    60 | public:
  581.       | ^~~~~~
  582. ....../lib_opencad/lib/cadfileio.h:62:39: error: expected class-name before ‘(’ token
  583.    62 |     virtual                 ~CADFileIO();
  584.       |                                       ^
  585. ....../lib_opencad/lib/cadfileio.h:64:5: error: ‘virtual’ outside class declaration
  586.    64 |     virtual const char * ReadLine() = 0;
  587.       |     ^~~~~~~
  588. ....../lib_opencad/lib/cadfileio.h:64:26: error: function ‘const char* ReadLine()’ is initialized like a variable
  589.    64 |     virtual const char * ReadLine() = 0;
  590.       |                          ^~~~~~~~
  591. ....../lib_opencad/lib/cadfileio.h:65:5: error: ‘virtual’ outside class declaration
  592.    65 |     virtual bool     Eof() const                                = 0;
  593.       |     ^~~~~~~
  594. ....../lib_opencad/lib/cadfileio.h:65:28: error: non-member function ‘bool Eof()’ cannot have cv-qualifier
  595.    65 |     virtual bool     Eof() const                                = 0;
  596.       |                            ^~~~~
  597. ....../lib_opencad/lib/cadfileio.h:65:22: error: function ‘bool Eof()’ is initialized like a variable
  598.    65 |     virtual bool     Eof() const                                = 0;
  599.       |                      ^~~
  600. ....../lib_opencad/lib/cadfileio.h:66:5: error: ‘virtual’ outside class declaration
  601.    66 |     virtual bool     Open( int mode )                           = 0;
  602.       |     ^~~~~~~
  603. ....../lib_opencad/lib/cadfileio.h:66:22: error: function ‘bool Open(int)’ is initialized like a variable
  604.    66 |     virtual bool     Open( int mode )                           = 0;
  605.       |                      ^~~~
  606. ....../lib_opencad/lib/cadfileio.h:67:5: error: ‘virtual’ outside class declaration
  607.    67 |     virtual bool     IsOpened() const;
  608.       |     ^~~~~~~
  609. ....../lib_opencad/lib/cadfileio.h:67:33: error: non-member function ‘bool IsOpened()’ cannot have cv-qualifier
  610.    67 |     virtual bool     IsOpened() const;
  611.       |                                 ^~~~~
  612. ....../lib_opencad/lib/cadfileio.h:68:5: error: ‘virtual’ outside class declaration
  613.    68 |     virtual bool     Close();
  614.       |     ^~~~~~~
  615. ....../lib_opencad/lib/cadfileio.h:69:45: error: ‘SeekOrigin’ has not been declared
  616.    69 |     virtual int      Seek( long int offset, SeekOrigin origin ) = 0;
  617.       |                                             ^~~~~~~~~~
  618. ....../lib_opencad/lib/cadfileio.h:69:5: error: ‘virtual’ outside class declaration
  619.    69 |     virtual int      Seek( long int offset, SeekOrigin origin ) = 0;
  620.       |     ^~~~~~~
  621. ....../lib_opencad/lib/cadfileio.h:69:22: error: function ‘int Seek(long int, int)’ is initialized like a variable
  622.    69 |     virtual int      Seek( long int offset, SeekOrigin origin ) = 0;
  623.       |                      ^~~~
  624. ....../lib_opencad/lib/cadfileio.h:70:5: error: ‘virtual’ outside class declaration
  625.    70 |     virtual long int Tell()                                     = 0;
  626.       |     ^~~~~~~
  627. ....../lib_opencad/lib/cadfileio.h:70:22: error: function ‘long int Tell()’ is initialized like a variable
  628.    70 |     virtual long int Tell()                                     = 0;
  629.       |                      ^~~~
  630. ....../lib_opencad/lib/cadfileio.h:71:5: error: ‘virtual’ outside class declaration
  631.    71 |     virtual size_t   Read( void * ptr, size_t size )            = 0;
  632.       |     ^~~~~~~
  633. ....../lib_opencad/lib/cadfileio.h:71:22: error: function ‘size_t Read(void*, size_t)’ is initialized like a variable
  634.    71 |     virtual size_t   Read( void * ptr, size_t size )            = 0;
  635.       |                      ^~~~
  636. ....../lib_opencad/lib/cadfileio.h:72:5: error: ‘virtual’ outside class declaration
  637.    72 |     virtual size_t   Write( void * ptr, size_t size )           = 0;
  638.       |     ^~~~~~~
  639. ....../lib_opencad/lib/cadfileio.h:72:22: error: function ‘size_t Write(void*, size_t)’ is initialized like a variable
  640.    72 |     virtual size_t   Write( void * ptr, size_t size )           = 0;
  641.       |                      ^~~~~
  642. ....../lib_opencad/lib/cadfileio.h:73:5: error: ‘virtual’ outside class declaration
  643.    73 |     virtual void     Rewind()                                   = 0;
  644.       |     ^~~~~~~
  645. ....../lib_opencad/lib/cadfileio.h:73:22: error: function ‘void Rewind()’ is initialized like a variable
  646.    73 |     virtual void     Rewind()                                   = 0;
  647.       |                      ^~~~~~
  648. ....../lib_opencad/lib/cadfileio.h:74:32: error: non-member function ‘const char* GetFilePath()’ cannot have cv-qualifier
  649.    74 |     const char * GetFilePath() const;
  650.       |                                ^~~~~
  651. ....../lib_opencad/lib/cadfileio.h:76:1: error: expected unqualified-id before ‘protected’
  652.    76 | protected:
  653.       | ^~~~~~~~~
  654. In file included from ....../lib_opencad/lib/cadlayer.h:34,
  655.                  from ....../lib_opencad/lib/cadtables.h:35,
  656.                  from ....../lib_opencad/lib/cadfile.h:37,
  657.                  from ....../lib_opencad/lib/opencad_api.h:34,
  658.                  from ....../lib_opencad/lib/opencad.cpp:31:
  659. ....../lib_opencad/lib/cadgeometry.h:49:32: error: ‘CADVector’ does not name a type
  660.    49 |     void      translate( const CADVector& vector );
  661.       |                                ^~~~~~~~~
  662. ....../lib_opencad/lib/cadfileio.h:79:1: error: expected declaration before ‘}’ token
  663.    79 | };
  664.       | ^
  665. In file included from ....../lib_opencad/lib/cadheader.h:34,
  666.                  from ....../lib_opencad/lib/cadobjects.h:35,
  667.                  from ....../lib_opencad/lib/cadgeometry.h:34,
  668.                  from ....../lib_opencad/lib/cadlayer.h:34,
  669.                  from ....../lib_opencad/lib/cadlayer.cpp:31:
  670. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  671.    56 |   #define OCAD_EXTERN extern
  672.       |                       ^~~~~~
  673. ....../lib_opencad/lib/cadtables.h:42:7: note: in expansion of macro ‘OCAD_EXTERN’
  674.    42 | class OCAD_EXTERN CADTables
  675.       |       ^~~~~~~~~~~
  676. In file included from ....../lib_opencad/lib/cadfile.h:37,
  677.                  from ....../lib_opencad/lib/cadlayer.cpp:32:
  678. ....../lib_opencad/lib/cadtables.h:42:19: warning: ‘CADTables’ initialized and declared ‘extern’
  679.    42 | class OCAD_EXTERN CADTables
  680.       |                   ^~~~~~~~~
  681. ....../lib_opencad/lib/cadtables.h:44:1: error: expected primary-expression before ‘public’
  682.    44 | public:
  683.       | ^~~~~~
  684. ....../lib_opencad/lib/cadtables.h:44:1: error: expected ‘}’ before ‘public’
  685. ....../lib_opencad/lib/cadtables.h:43:1: note: to match this ‘{
  686.    43 | {
  687.       | ^
  688. ....../lib_opencad/lib/cadtables.h:69:1: error: expected unqualified-id before ‘public’
  689.    69 | public:
  690.       | ^~~~~~
  691. ....../lib_opencad/lib/cadtables.h:72:30: error: use of enum ‘TableType’ without previous declaration
  692.    72 |     void      AddTable( enum TableType eType, const CADHandle& hHandle );
  693.       |                              ^~~~~~~~~
  694. ....../lib_opencad/lib/cadobjects.cpp: In constructor ‘CADTextObject::CADTextObject()’:
  695. ....../lib_opencad/lib/cadobjects.cpp:145:21: error: ‘TEXT’ was not declared in this scope
  696.   145 |     CADEntityObject(TEXT),
  697.       |                     ^~~~
  698. ....../lib_opencad/lib/cadgeometry.h:51:28: error: ‘CADVector’ does not name a type
  699.    51 |     void      scale( const CADVector& vector );
  700.       |                            ^~~~~~~~~
  701. ....../lib_opencad/lib/cadobjects.cpp: At global scope:
  702. ....../lib_opencad/lib/cadobjects.cpp:163:33: error: expected constructor, destructor, or type conversion before ‘(’ token
  703.   163 | CADAttribObject::CADAttribObject(ObjectType typeIn) :
  704.       |                                 ^
  705. ....../lib_opencad/lib/cadtables.h:72:53: error: ‘CADHandle’ does not name a type
  706.    72 |     void      AddTable( enum TableType eType, const CADHandle& hHandle );
  707.       |                                                     ^~~~~~~~~
  708. In file included from ....../lib_opencad/lib/cadheader.h:34,
  709.                  from ....../lib_opencad/lib/cadheader.cpp:31:
  710. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  711.    56 |   #define OCAD_EXTERN extern
  712.       |                       ^~~~~~
  713. ....../lib_opencad/lib/caddictionary.h:40:7: note: in expansion of macro ‘OCAD_EXTERN’
  714.    40 | class OCAD_EXTERN CADDictionaryRecord
  715.       |       ^~~~~~~~~~~
  716. In file included from ....../lib_opencad/lib/cadfile.h:34,
  717.                  from ....../lib_opencad/lib/opencad_api.h:34,
  718.                  from ....../lib_opencad/lib/cadheader.cpp:32:
  719. ....../lib_opencad/lib/caddictionary.h:40:19: warning: ‘CADDictionaryRecord’ initialized and declared ‘extern’
  720.    40 | class OCAD_EXTERN CADDictionaryRecord
  721.       |                   ^~~~~~~~~~~~~~~~~~~
  722. ....../lib_opencad/lib/caddictionary.h:42:1: error: expected primary-expression before ‘public’
  723.    42 | public:
  724.       | ^~~~~~
  725. ....../lib_opencad/lib/caddictionary.h:42:1: error: expected ‘}’ before ‘public’
  726. ....../lib_opencad/lib/caddictionary.h:41:1: note: to match this ‘{
  727.    41 | {
  728.       | ^
  729. ....../lib_opencad/lib/caddictionary.h:44:33: error: expected class-name before ‘(’ token
  730.    44 |     virtual ~CADDictionaryRecord(){}
  731.       |                                 ^
  732. ....../lib_opencad/lib/cadtables.h:73:5: error: ‘CADHandle’ does not name a type
  733.    73 |     CADHandle GetTableHandle( enum TableType eType );
  734.       |     ^~~~~~~~~
  735. ....../lib_opencad/lib/cadtables.h:74:57: error: use of enum ‘TableType’ without previous declaration
  736.    74 |     int       ReadTable( CADFile * const pCADFile, enum TableType eType );
  737.       |                                                         ^~~~~~~~~
  738. ....../lib_opencad/lib/cadtables.h:75:31: error: non-member function ‘size_t GetLayerCount()’ cannot have cv-qualifier
  739.    75 |     size_t    GetLayerCount() const;
  740.       |                               ^~~~~
  741. make[2]: *** [lib/CMakeFiles/opencad.dir/build.make:233: lib/CMakeFiles/opencad.dir/caddictionary.cpp.o] Error 1
  742. ....../lib_opencad/lib/cadgeometry.h:52:5: error: ‘CADVector’ does not name a type
  743.    52 |     CADVector multiply( const CADVector& vector ) const;
  744.       |     ^~~~~~~~~
  745. In file included from ....../lib_opencad/lib/cadheader.h:34,
  746.                  from ....../lib_opencad/lib/cadobjects.h:35,
  747.                  from ....../lib_opencad/lib/caddictionary.h:34,
  748.                  from ....../lib_opencad/lib/cadfile.h:34,
  749.                  from ....../lib_opencad/lib/opencad_api.h:34,
  750.                  from ....../lib_opencad/lib/opencad.cpp:31:
  751. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  752.    56 |   #define OCAD_EXTERN extern
  753.       |                       ^~~~~~
  754. ....../lib_opencad/lib/cadgeometry.h:60:7: note: in expansion of macro ‘OCAD_EXTERN’
  755.    60 | class OCAD_EXTERN CADGeometry
  756.       |       ^~~~~~~~~~~
  757. In file included from ....../lib_opencad/lib/cadlayer.h:34,
  758.                  from ....../lib_opencad/lib/cadtables.h:35,
  759.                  from ....../lib_opencad/lib/cadfile.h:37,
  760.                  from ....../lib_opencad/lib/opencad_api.h:34,
  761.                  from ....../lib_opencad/lib/opencad.cpp:31:
  762. ....../lib_opencad/lib/cadgeometry.h:60:19: warning: ‘CADGeometry’ initialized and declared ‘extern’
  763.    60 | class OCAD_EXTERN CADGeometry
  764.       |                   ^~~~~~~~~~~
  765. ....../lib_opencad/lib/cadtables.h:76:5: error: ‘CADLayer’ does not name a type
  766.    76 |     CADLayer& GetLayer( size_t iIndex );
  767.       |     ^~~~~~~~
  768. ....../lib_opencad/lib/cadgeometry.h:62:1: error: expected primary-expression before ‘public’
  769.    62 | public:
  770.       | ^~~~~~
  771. ....../lib_opencad/lib/cadtables.h:78:1: error: expected unqualified-id before ‘protected’
  772.    78 | protected:
  773.       | ^~~~~~~~~
  774. ....../lib_opencad/lib/cadgeometry.h:62:1: error: expected ‘}’ before ‘public’
  775. ....../lib_opencad/lib/cadgeometry.h:61:1: note: to match this ‘{
  776.    61 | {
  777.       | ^
  778. ....../lib_opencad/lib/cadtables.h:81:1: error: expected unqualified-id before ‘protected’
  779.    81 | protected:
  780.       | ^~~~~~~~~
  781. ....../lib_opencad/lib/cadgeometry.h:64:25: error: expected class-name before ‘(’ token
  782.    64 |     virtual ~CADGeometry();
  783.       |                         ^
  784. ....../lib_opencad/lib/cadtables.h:83:25: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp, class _Alloc> class std::vector’
  785.    83 |     std::vector<CADLayer>               aLayers;
  786.       |                         ^
  787. ....../lib_opencad/lib/cadtables.h:83:25: note:   expected a type, got ‘CADLayer’
  788. ....../lib_opencad/lib/caddictionary.h:46:5: error: ‘CADObject’ does not name a type; did you mean ‘CADRayObject’?
  789.    46 |     CADObject::ObjectType getType() const;
  790.       |     ^~~~~~~~~
  791.       |     CADRayObject
  792. ....../lib_opencad/lib/cadtables.h:83:25: error: template argument 2 is invalid
  793. ....../lib_opencad/lib/cadgeometry.h:93:33: error: non-member function ‘GeometryType getType()’ cannot have cv-qualifier
  794.    93 |     enum GeometryType getType() const;
  795.       |                                 ^~~~~
  796. ....../lib_opencad/lib/caddictionary.h:48:1: error: expected unqualified-id before ‘protected’
  797.    48 | protected:
  798.       | ^~~~~~~~~
  799. ....../lib_opencad/lib/cadtables.h:84:1: error: expected declaration before ‘}’ token
  800.    84 | };
  801.       | ^
  802. ....../lib_opencad/lib/caddictionary.h:50:1: error: expected declaration before ‘}’ token
  803.    50 | };
  804.       | ^
  805. ....../lib_opencad/lib/cadgeometry.h:94:38: error: non-member function ‘double getThickness()’ cannot have cv-qualifier
  806.    94 |     double            getThickness() const;
  807.       |                                      ^~~~~
  808. ....../lib_opencad/lib/cadgeometry.h:96:34: error: non-member function ‘RGBColor getColor()’ cannot have cv-qualifier
  809.    96 |     RGBColor          getColor() const;
  810.       |                                  ^~~~~
  811. In file included from ....../lib_opencad/lib/cadheader.h:34,
  812.                  from ....../lib_opencad/lib/cadheader.cpp:31:
  813. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  814.    56 |   #define OCAD_EXTERN extern
  815.       |                       ^~~~~~
  816. ....../lib_opencad/lib/caddictionary.h:55:7: note: in expansion of macro ‘OCAD_EXTERN’
  817.    55 | class OCAD_EXTERN CADXRecord : public CADDictionaryRecord
  818.       |       ^~~~~~~~~~~
  819. ....../lib_opencad/lib/cadgeometry.h:99:49: error: non-member function ‘std::vector<CADAttrib> getBlockAttributes()’ cannot have cv-qualifier
  820.    99 |     std::vector<CADAttrib> getBlockAttributes() const;
  821.       |                                                 ^~~~~
  822. In file included from ....../lib_opencad/lib/cadfile.h:34,
  823.                  from ....../lib_opencad/lib/opencad_api.h:34,
  824.                  from ....../lib_opencad/lib/cadheader.cpp:32:
  825. ....../lib_opencad/lib/caddictionary.h:55:30: error: expected initializer before ‘:’ token
  826.    55 | class OCAD_EXTERN CADXRecord : public CADDictionaryRecord
  827.       |                              ^
  828. ....../lib_opencad/lib/cadgeometry.h:102:39: error: non-member function ‘std::vector<std::__cxx11::basic_string<char> > getEED()’ cannot have cv-qualifier
  829.   102 |     std::vector<std::string> getEED() const;
  830.       |                                       ^~~~~
  831. ....../lib_opencad/lib/caddictionary.h:71:49: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp> class std::shared_ptr’
  832.    71 | typedef std::pair< std::string, std::shared_ptr<CADDictionaryRecord>> CADDictionaryItem;
  833.       |                                                 ^~~~~~~~~~~~~~~~~~~
  834. ....../lib_opencad/lib/caddictionary.h:71:49: note:   expected a type, got ‘CADDictionaryRecord’
  835. ....../lib_opencad/lib/caddictionary.h:71:68: error: template argument 2 is invalid
  836.    71 | typedef std::pair< std::string, std::shared_ptr<CADDictionaryRecord>> CADDictionaryItem;
  837.       |                                                                    ^~
  838. ....../lib_opencad/lib/cadgeometry.h:105:5: error: ‘virtual’ outside class declaration
  839.   105 |     virtual void print() const                     = 0;
  840.       |     ^~~~~~~
  841. ....../lib_opencad/lib/cadgeometry.h:105:26: error: non-member function ‘void print()’ cannot have cv-qualifier
  842.   105 |     virtual void print() const                     = 0;
  843.       |                          ^~~~~
  844. In file included from ....../lib_opencad/lib/cadheader.h:34,
  845.                  from ....../lib_opencad/lib/cadheader.cpp:31:
  846. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  847.    56 |   #define OCAD_EXTERN extern
  848.       |                       ^~~~~~
  849. ....../lib_opencad/lib/caddictionary.h:72:7: note: in expansion of macro ‘OCAD_EXTERN’
  850.    72 | class OCAD_EXTERN CADDictionary : public CADDictionaryRecord
  851.       |       ^~~~~~~~~~~
  852. ....../lib_opencad/lib/cadgeometry.h:105:18: error: function ‘void print()’ is initialized like a variable
  853.   105 |     virtual void print() const                     = 0;
  854.       |                  ^~~~~
  855. In file included from ....../lib_opencad/lib/cadheader.h:34,
  856.                  from ....../lib_opencad/lib/cadobjects.h:35,
  857.                  from ....../lib_opencad/lib/cadgeometry.h:34,
  858.                  from ....../lib_opencad/lib/cadlayer.h:34,
  859.                  from ....../lib_opencad/lib/cadlayer.cpp:31:
  860. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  861.    56 |   #define OCAD_EXTERN extern
  862.       |                       ^~~~~~
  863. ....../lib_opencad/lib/cadfile.h:42:7: note: in expansion of macro ‘OCAD_EXTERN’
  864.    42 | class OCAD_EXTERN CADFile
  865.       |       ^~~~~~~~~~~
  866. In file included from ....../lib_opencad/lib/cadfile.h:34,
  867.                  from ....../lib_opencad/lib/opencad_api.h:34,
  868.                  from ....../lib_opencad/lib/cadheader.cpp:32:
  869. ....../lib_opencad/lib/caddictionary.h:72:33: error: expected initializer before ‘:’ token
  870.    72 | class OCAD_EXTERN CADDictionary : public CADDictionaryRecord
  871.       |                                 ^
  872. ....../lib_opencad/lib/cadobjects.cpp: In constructor ‘CADAttdefObject::CADAttdefObject()’:
  873. ....../lib_opencad/lib/cadobjects.cpp:187:21: error: ‘ATTDEF’ was not declared in this scope
  874.   187 |     CADAttribObject(ATTDEF)
  875.       |                     ^~~~~~
  876. ....../lib_opencad/lib/cadgeometry.h:106:5: error: ‘virtual’ outside class declaration
  877.   106 |     virtual void transform( const Matrix& matrix ) = 0;
  878.       |     ^~~~~~~
  879. In file included from ....../lib_opencad/lib/cadlayer.cpp:32:
  880. ....../lib_opencad/lib/cadfile.h:42:19: warning: ‘CADFile’ initialized and declared ‘extern’
  881.    42 | class OCAD_EXTERN CADFile
  882.       |                   ^~~~~~~
  883. In file included from ....../lib_opencad/lib/cadtables.h:35,
  884.                  from ....../lib_opencad/lib/cadfile.h:37,
  885.                  from ....../lib_opencad/lib/cadfile.cpp:31:
  886. ....../lib_opencad/lib/cadlayer.h:112:1: error: expected declaration before ‘}’ token
  887.   112 | };
  888.       | ^
  889. ....../lib_opencad/lib/cadgeometry.h:106:18: error: function ‘void transform(const Matrix&)’ is initialized like a variable
  890.   106 |     virtual void transform( const Matrix& matrix ) = 0;
  891.       |                  ^~~~~~~~~
  892. ....../lib_opencad/lib/cadfile.h:44:5: error: expected primary-expression before ‘friend’
  893.    44 |     friend class CADTables;
  894.       |     ^~~~~~
  895. ....../lib_opencad/lib/cadgeometry.h:107:1: error: expected unqualified-id before ‘protected’
  896.   107 | protected:
  897.       | ^~~~~~~~~
  898. ....../lib_opencad/lib/cadfile.h:44:5: error: expected ‘}’ before ‘friend’
  899. ....../lib_opencad/lib/cadfile.h:43:1: note: to match this ‘{
  900.    43 | {
  901.       | ^
  902. ....../lib_opencad/lib/cadfile.h:45:5: error: ‘friend’ used outside of class
  903.    45 |     friend class CADLayer;
  904.       |     ^~~~~~
  905.       |     ------
  906. ....../lib_opencad/lib/cadfile.h:47:1: error: expected unqualified-id before ‘public’
  907.    47 | public:
  908.       | ^~~~~~
  909. ....../lib_opencad/lib/cadfile.h:58:1: error: expected unqualified-id before ‘public’
  910.    58 | public:
  911.       | ^~~~~~
  912. ....../lib_opencad/lib/cadfile.h:60:29: error: declaration of ‘~ CADFile’ as non-member
  913.    60 |     virtual                 ~CADFile();
  914.       |                             ^~~~~~~~
  915. ....../lib_opencad/lib/cadfile.h:62:1: error: expected unqualified-id before ‘public’
  916.    62 | public:
  917.       | ^~~~~~
  918. In file included from ....../lib_opencad/lib/cadheader.h:34,
  919.                  from ....../lib_opencad/lib/cadheader.cpp:31:
  920. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  921.    56 |   #define OCAD_EXTERN extern
  922.       |                       ^~~~~~
  923. ....../lib_opencad/lib/cadclasses.h:40:7: note: in expansion of macro ‘OCAD_EXTERN’
  924.    40 | class OCAD_EXTERN  CADClass
  925.       |       ^~~~~~~~~~~
  926. In file included from ....../lib_opencad/lib/cadfile.h:35,
  927.                  from ....../lib_opencad/lib/opencad_api.h:34,
  928.                  from ....../lib_opencad/lib/cadheader.cpp:32:
  929. ....../lib_opencad/lib/cadclasses.h:40:20: warning: ‘CADClass’ initialized and declared ‘extern’
  930.    40 | class OCAD_EXTERN  CADClass
  931.       |                    ^~~~~~~~
  932. ....../lib_opencad/lib/cadclasses.h:42:1: error: expected primary-expression before ‘public’
  933.    42 | public:
  934.       | ^~~~~~
  935. ....../lib_opencad/lib/cadclasses.h:42:1: error: expected ‘}’ before ‘public’
  936. In file included from ....../lib_opencad/lib/cadheader.h:34,
  937.                  from ....../lib_opencad/lib/cadobjects.h:35,
  938.                  from ....../lib_opencad/lib/caddictionary.h:34,
  939.                  from ....../lib_opencad/lib/cadfile.h:34,
  940.                  from ....../lib_opencad/lib/cadfile.cpp:31:
  941. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  942.    56 |   #define OCAD_EXTERN extern
  943.       |                       ^~~~~~
  944. ....../lib_opencad/lib/cadtables.h:42:7: note: in expansion of macro ‘OCAD_EXTERN’
  945.    42 | class OCAD_EXTERN CADTables
  946.       |       ^~~~~~~~~~~
  947. ....../lib_opencad/lib/cadclasses.h:41:1: note: to match this ‘{
  948.    41 | {
  949.       | ^
  950. ....../lib_opencad/lib/cadclasses.h:45:1: error: expected unqualified-id before ‘public’
  951.    45 | public:
  952.       | ^~~~~~
  953. In file included from ....../lib_opencad/lib/cadfile.h:37,
  954.                  from ....../lib_opencad/lib/cadfile.cpp:31:
  955. ....../lib_opencad/lib/cadtables.h:42:19: warning: ‘CADTables’ initialized and declared ‘extern’
  956.    42 | class OCAD_EXTERN CADTables
  957.       |                   ^~~~~~~~~
  958. ....../lib_opencad/lib/cadtables.h:44:1: error: expected primary-expression before ‘public’
  959.    44 | public:
  960.       | ^~~~~~
  961. ....../lib_opencad/lib/cadtables.h:44:1: error: expected ‘}’ before ‘public’
  962. ....../lib_opencad/lib/cadtables.h:43:1: note: to match this ‘{
  963.    43 | {
  964.       | ^
  965. ....../lib_opencad/lib/cadclasses.h:55:1: error: expected declaration before ‘}’ token
  966.    55 | };
  967.       | ^
  968. ....../lib_opencad/lib/cadtables.h:69:1: error: expected unqualified-id before ‘public’
  969.    69 | public:
  970.       | ^~~~~~
  971. In file included from ....../lib_opencad/lib/cadheader.h:34,
  972.                  from ....../lib_opencad/lib/cadheader.cpp:31:
  973. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  974.    56 |   #define OCAD_EXTERN extern
  975.       |                       ^~~~~~
  976. ....../lib_opencad/lib/cadclasses.h:57:7: note: in expansion of macro ‘OCAD_EXTERN’
  977.    57 | class OCAD_EXTERN CADClasses
  978.       |       ^~~~~~~~~~~
  979. ....../lib_opencad/lib/cadtables.h:72:30: error: use of enum ‘TableType’ without previous declaration
  980.    72 |     void      AddTable( enum TableType eType, const CADHandle& hHandle );
  981.       |                              ^~~~~~~~~
  982. In file included from ....../lib_opencad/lib/cadfile.h:35,
  983.                  from ....../lib_opencad/lib/opencad_api.h:34,
  984.                  from ....../lib_opencad/lib/cadheader.cpp:32:
  985. ....../lib_opencad/lib/cadclasses.h:57:19: warning: ‘CADClasses’ initialized and declared ‘extern’
  986.    57 | class OCAD_EXTERN CADClasses
  987.       |                   ^~~~~~~~~~
  988. ....../lib_opencad/lib/cadclasses.h:59:1: error: expected primary-expression before ‘public’
  989.    59 | public:
  990.       | ^~~~~~
  991. ....../lib_opencad/lib/cadclasses.h:59:1: error: expected ‘}’ before ‘public’
  992. ....../lib_opencad/lib/cadclasses.h:58:1: note: to match this ‘{
  993.    58 | {
  994.       | ^
  995. ....../lib_opencad/lib/cadclasses.h:62:1: error: expected unqualified-id before ‘public’
  996.    62 | public:
  997.       | ^~~~~~
  998. ....../lib_opencad/lib/cadgeometry.h:114:1: error: expected declaration before ‘}’ token
  999.   114 | };
  1000.       | ^
  1001. ....../lib_opencad/lib/cadgeometry.h:120:1: error: expected class-name before ‘{’ token
  1002.   120 | {
  1003.       | ^
  1004. ....../lib_opencad/lib/cadgeometry.h:125:18: error: ‘virtual void CADUnknown::print() const’ marked ‘override’, but does not override
  1005.   125 |     virtual void print() const override;
  1006.       |                  ^~~~~
  1007. ....../lib_opencad/lib/cadfile.h:64:11: error: ‘CADClasses’ does not name a type
  1008.    64 |     const CADClasses& getClasses() const;
  1009.       |           ^~~~~~~~~~
  1010. ....../lib_opencad/lib/cadgeometry.h:126:18: error: ‘void CADUnknown::transform(const Matrix&)’ marked ‘override’, but does not override
  1011.   126 |     void         transform( const Matrix& matrix ) override;
  1012.       |                  ^~~~~~~~~
  1013. In file included from ....../lib_opencad/lib/cadheader.h:34,
  1014.                  from ....../lib_opencad/lib/cadobjects.h:35,
  1015.                  from ....../lib_opencad/lib/caddictionary.h:34,
  1016.                  from ....../lib_opencad/lib/cadfile.h:34,
  1017.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1018.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1019. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  1020.    56 |   #define OCAD_EXTERN extern
  1021.       |                       ^~~~~~
  1022. ....../lib_opencad/lib/cadgeometry.h:132:7: note: in expansion of macro ‘OCAD_EXTERN’
  1023.   132 | class OCAD_EXTERN CADPoint3D : public CADGeometry
  1024.       |       ^~~~~~~~~~~
  1025. In file included from ....../lib_opencad/lib/cadlayer.h:34,
  1026.                  from ....../lib_opencad/lib/cadtables.h:35,
  1027.                  from ....../lib_opencad/lib/cadfile.h:37,
  1028.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1029.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1030. ....../lib_opencad/lib/cadgeometry.h:132:30: error: expected initializer before ‘:’ token
  1031.   132 | class OCAD_EXTERN CADPoint3D : public CADGeometry
  1032.       |                              ^
  1033. In file included from ....../lib_opencad/lib/cadheader.h:34,
  1034.                  from ....../lib_opencad/lib/cadobjects.h:35,
  1035.                  from ....../lib_opencad/lib/caddictionary.h:34,
  1036.                  from ....../lib_opencad/lib/cadfile.h:34,
  1037.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1038.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1039. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  1040.    56 |   #define OCAD_EXTERN extern
  1041.       |                       ^~~~~~
  1042. ....../lib_opencad/lib/cadgeometry.h:158:7: note: in expansion of macro ‘OCAD_EXTERN’
  1043.   158 | class OCAD_EXTERN CADLine : public CADGeometry
  1044.       |       ^~~~~~~~~~~
  1045. In file included from ....../lib_opencad/lib/cadlayer.h:34,
  1046.                  from ....../lib_opencad/lib/cadtables.h:35,
  1047.                  from ....../lib_opencad/lib/cadfile.h:37,
  1048.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1049.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1050. ....../lib_opencad/lib/cadgeometry.h:158:27: error: expected initializer before ‘:’ token
  1051.   158 | class OCAD_EXTERN CADLine : public CADGeometry
  1052.       |                           ^
  1053. ....../lib_opencad/lib/cadclasses.h:64:5: error: ‘CADClass’ does not name a type
  1054.    64 |     CADClass            getClassByNum(short num) const;
  1055.       |     ^~~~~~~~
  1056. In file included from ....../lib_opencad/lib/cadheader.h:34,
  1057.                  from ....../lib_opencad/lib/cadobjects.h:35,
  1058.                  from ....../lib_opencad/lib/caddictionary.h:34,
  1059.                  from ....../lib_opencad/lib/cadfile.h:34,
  1060.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1061.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1062. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  1063.    56 |   #define OCAD_EXTERN extern
  1064.       |                       ^~~~~~
  1065. ....../lib_opencad/lib/cadgeometry.h:180:7: note: in expansion of macro ‘OCAD_EXTERN’
  1066.   180 | class OCAD_EXTERN CADPolyline3D : public CADGeometry
  1067.       |       ^~~~~~~~~~~
  1068. ....../lib_opencad/lib/cadclasses.h:65:33: error: non-member function ‘void print()’ cannot have cv-qualifier
  1069.    65 |     void                print() const;
  1070.       |                                 ^~~~~
  1071. In file included from ....../lib_opencad/lib/cadlayer.h:34,
  1072.                  from ....../lib_opencad/lib/cadtables.h:35,
  1073.                  from ....../lib_opencad/lib/cadfile.h:37,
  1074.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1075.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1076. ....../lib_opencad/lib/cadgeometry.h:180:33: error: expected initializer before ‘:’ token
  1077.   180 | class OCAD_EXTERN CADPolyline3D : public CADGeometry
  1078.       |                                 ^
  1079. ....../lib_opencad/lib/cadclasses.h:67:1: error: expected unqualified-id before ‘protected’
  1080.    67 | protected:
  1081.       | ^~~~~~~~~
  1082. ....../lib_opencad/lib/cadclasses.h:69:1: error: expected declaration before ‘}’ token
  1083.    69 | };
  1084.       | ^
  1085. In file included from ....../lib_opencad/lib/cadheader.h:34,
  1086.                  from ....../lib_opencad/lib/cadobjects.h:35,
  1087.                  from ....../lib_opencad/lib/caddictionary.h:34,
  1088.                  from ....../lib_opencad/lib/cadfile.h:34,
  1089.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1090.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1091. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  1092.    56 |   #define OCAD_EXTERN extern
  1093.       |                       ^~~~~~
  1094. ....../lib_opencad/lib/cadgeometry.h:199:7: note: in expansion of macro ‘OCAD_EXTERN’
  1095.   199 | class OCAD_EXTERN CADLWPolyline : public CADPolyline3D
  1096.       |       ^~~~~~~~~~~
  1097. In file included from ....../lib_opencad/lib/cadlayer.h:34,
  1098.                  from ....../lib_opencad/lib/cadtables.h:35,
  1099.                  from ....../lib_opencad/lib/cadfile.h:37,
  1100.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1101.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1102. ....../lib_opencad/lib/cadgeometry.h:199:33: error: expected initializer before ‘:’ token
  1103.   199 | class OCAD_EXTERN CADLWPolyline : public CADPolyline3D
  1104.       |                                 ^
  1105. In file included from ....../lib_opencad/lib/cadheader.h:34,
  1106.                  from ....../lib_opencad/lib/cadobjects.h:35,
  1107.                  from ....../lib_opencad/lib/caddictionary.h:34,
  1108.                  from ....../lib_opencad/lib/cadfile.h:34,
  1109.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1110.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1111. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  1112.    56 |   #define OCAD_EXTERN extern
  1113.       |                       ^~~~~~
  1114. ....../lib_opencad/lib/cadgeometry.h:236:7: note: in expansion of macro ‘OCAD_EXTERN’
  1115.   236 | class OCAD_EXTERN CADCircle : public CADPoint3D
  1116.       |       ^~~~~~~~~~~
  1117. In file included from ....../lib_opencad/lib/cadlayer.h:34,
  1118.                  from ....../lib_opencad/lib/cadtables.h:35,
  1119.                  from ....../lib_opencad/lib/cadfile.h:37,
  1120.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1121.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1122. ....../lib_opencad/lib/cadgeometry.h:236:29: error: expected initializer before ‘:’ token
  1123.   236 | class OCAD_EXTERN CADCircle : public CADPoint3D
  1124.       |                             ^
  1125. In file included from ....../lib_opencad/lib/cadheader.h:34,
  1126.                  from ....../lib_opencad/lib/cadobjects.h:35,
  1127.                  from ....../lib_opencad/lib/caddictionary.h:34,
  1128.                  from ....../lib_opencad/lib/cadfile.h:34,
  1129.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1130.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1131. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  1132.    56 |   #define OCAD_EXTERN extern
  1133.       |                       ^~~~~~
  1134. ....../lib_opencad/lib/cadgeometry.h:253:7: note: in expansion of macro ‘OCAD_EXTERN’
  1135.   253 | class OCAD_EXTERN CADText : public CADPoint3D
  1136.       |       ^~~~~~~~~~~
  1137. In file included from ....../lib_opencad/lib/cadlayer.h:34,
  1138.                  from ....../lib_opencad/lib/cadtables.h:35,
  1139.                  from ....../lib_opencad/lib/cadfile.h:37,
  1140.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1141.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1142. ....../lib_opencad/lib/cadgeometry.h:253:27: error: expected initializer before ‘:’ token
  1143.   253 | class OCAD_EXTERN CADText : public CADPoint3D
  1144.       |                           ^
  1145. In file included from ....../lib_opencad/lib/cadheader.h:34,
  1146.                  from ....../lib_opencad/lib/cadobjects.h:35,
  1147.                  from ....../lib_opencad/lib/caddictionary.h:34,
  1148.                  from ....../lib_opencad/lib/cadfile.h:34,
  1149.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1150.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1151. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  1152.    56 |   #define OCAD_EXTERN extern
  1153.       |                       ^~~~~~
  1154. ....../lib_opencad/lib/cadgeometry.h:282:7: note: in expansion of macro ‘OCAD_EXTERN’
  1155.   282 | class OCAD_EXTERN CADArc : public CADCircle
  1156.       |       ^~~~~~~~~~~
  1157. ....../lib_opencad/lib/cadfile.h:65:11: error: ‘CADTables’ does not name a type
  1158.    65 |     const CADTables & getTables() const;
  1159.       |           ^~~~~~~~~
  1160. In file included from ....../lib_opencad/lib/cadlayer.h:34,
  1161.                  from ....../lib_opencad/lib/cadtables.h:35,
  1162.                  from ....../lib_opencad/lib/cadfile.h:37,
  1163.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1164.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1165. ....../lib_opencad/lib/cadgeometry.h:282:26: error: expected initializer before ‘:’ token
  1166.   282 | class OCAD_EXTERN CADArc : public CADCircle
  1167.       |                          ^
  1168. In file included from ....../lib_opencad/lib/cadheader.h:34,
  1169.                  from ....../lib_opencad/lib/cadheader.cpp:31:
  1170. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  1171.    56 |   #define OCAD_EXTERN extern
  1172.       |                       ^~~~~~
  1173. ....../lib_opencad/lib/cadfileio.h:43:7: note: in expansion of macro ‘OCAD_EXTERN’
  1174.    43 | class OCAD_EXTERN CADFileIO
  1175.       |       ^~~~~~~~~~~
  1176. ....../lib_opencad/lib/cadfile.h:67:1: error: expected unqualified-id before ‘public’
  1177.    67 | public:
  1178.       | ^~~~~~
  1179. In file included from ....../lib_opencad/lib/cadheader.h:34,
  1180.                  from ....../lib_opencad/lib/cadobjects.h:35,
  1181.                  from ....../lib_opencad/lib/caddictionary.h:34,
  1182.                  from ....../lib_opencad/lib/cadfile.h:34,
  1183.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1184.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1185. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  1186.    56 |   #define OCAD_EXTERN extern
  1187.       |                       ^~~~~~
  1188. ....../lib_opencad/lib/cadgeometry.h:303:7: note: in expansion of macro ‘OCAD_EXTERN’
  1189.   303 | class OCAD_EXTERN CADEllipse : public CADArc
  1190.       |       ^~~~~~~~~~~
  1191. ....../lib_opencad/lib/cadfile.h:69:5: error: ‘virtual’ outside class declaration
  1192.    69 |     virtual size_t GetLayersCount() const;
  1193.       |     ^~~~~~~
  1194. In file included from ....../lib_opencad/lib/cadfile.h:36,
  1195.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1196.                  from ....../lib_opencad/lib/cadheader.cpp:32:
  1197. ....../lib_opencad/lib/cadfileio.h:43:19: warning: ‘CADFileIO’ initialized and declared ‘extern’
  1198.    43 | class OCAD_EXTERN CADFileIO
  1199.       |                   ^~~~~~~~~
  1200. In file included from ....../lib_opencad/lib/cadlayer.h:34,
  1201.                  from ....../lib_opencad/lib/cadtables.h:35,
  1202.                  from ....../lib_opencad/lib/cadfile.h:37,
  1203.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1204.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1205. ....../lib_opencad/lib/cadgeometry.h:303:30: error: expected initializer before ‘:’ token
  1206.   303 | class OCAD_EXTERN CADEllipse : public CADArc
  1207.       |                              ^
  1208. ....../lib_opencad/lib/cadfile.h:69:37: error: non-member function ‘size_t GetLayersCount()’ cannot have cv-qualifier
  1209.    69 |     virtual size_t GetLayersCount() const;
  1210.       |                                     ^~~~~
  1211. ....../lib_opencad/lib/cadtables.h:72:53: error: ‘CADHandle’ does not name a type
  1212.    72 |     void      AddTable( enum TableType eType, const CADHandle& hHandle );
  1213.       |                                                     ^~~~~~~~~
  1214. ....../lib_opencad/lib/cadfileio.h:45:1: error: expected primary-expression before ‘public’
  1215.    45 | public:
  1216.       | ^~~~~~
  1217. In file included from ....../lib_opencad/lib/cadheader.h:34,
  1218.                  from ....../lib_opencad/lib/cadobjects.h:35,
  1219.                  from ....../lib_opencad/lib/caddictionary.h:34,
  1220.                  from ....../lib_opencad/lib/cadfile.h:34,
  1221.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1222.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1223. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  1224.    56 |   #define OCAD_EXTERN extern
  1225.       |                       ^~~~~~
  1226. ....../lib_opencad/lib/cadgeometry.h:324:7: note: in expansion of macro ‘OCAD_EXTERN’
  1227.   324 | class OCAD_EXTERN CADSpline : public CADGeometry
  1228.       |       ^~~~~~~~~~~
  1229. ....../lib_opencad/lib/cadfileio.h:45:1: error: expected ‘}’ before ‘public’
  1230. ....../lib_opencad/lib/cadfileio.h:44:1: note: to match this ‘{
  1231.    44 | {
  1232.       | ^
  1233. In file included from ....../lib_opencad/lib/cadlayer.h:34,
  1234.                  from ....../lib_opencad/lib/cadtables.h:35,
  1235.                  from ....../lib_opencad/lib/cadfile.h:37,
  1236.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1237.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1238. ....../lib_opencad/lib/cadgeometry.h:324:29: error: expected initializer before ‘:’ token
  1239.   324 | class OCAD_EXTERN CADSpline : public CADGeometry
  1240.       |                             ^
  1241. ....../lib_opencad/lib/cadfileio.h:60:1: error: expected unqualified-id before ‘public’
  1242.    60 | public:
  1243.       | ^~~~~~
  1244. ....../lib_opencad/lib/cadfileio.h:62:39: error: expected class-name before ‘(’ token
  1245.    62 |     virtual                 ~CADFileIO();
  1246.       |                                       ^
  1247. In file included from ....../lib_opencad/lib/cadheader.h:34,
  1248.                  from ....../lib_opencad/lib/cadobjects.h:35,
  1249.                  from ....../lib_opencad/lib/caddictionary.h:34,
  1250.                  from ....../lib_opencad/lib/cadfile.h:34,
  1251.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1252.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1253. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  1254.    56 |   #define OCAD_EXTERN extern
  1255.       |                       ^~~~~~
  1256. ....../lib_opencad/lib/cadgeometry.h:374:7: note: in expansion of macro ‘OCAD_EXTERN’
  1257.   374 | class OCAD_EXTERN CADSolid : public CADPoint3D
  1258.       |       ^~~~~~~~~~~
  1259. ....../lib_opencad/lib/cadfileio.h:64:5: error: ‘virtual’ outside class declaration
  1260.    64 |     virtual const char * ReadLine() = 0;
  1261.       |     ^~~~~~~
  1262. In file included from ....../lib_opencad/lib/cadlayer.h:34,
  1263.                  from ....../lib_opencad/lib/cadtables.h:35,
  1264.                  from ....../lib_opencad/lib/cadfile.h:37,
  1265.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1266.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1267. ....../lib_opencad/lib/cadgeometry.h:374:28: error: expected initializer before ‘:’ token
  1268.   374 | class OCAD_EXTERN CADSolid : public CADPoint3D
  1269.       |                            ^
  1270. ....../lib_opencad/lib/cadfileio.h:64:26: error: function ‘const char* ReadLine()’ is initialized like a variable
  1271.    64 |     virtual const char * ReadLine() = 0;
  1272.       |                          ^~~~~~~~
  1273. ....../lib_opencad/lib/cadfileio.h:65:5: error: ‘virtual’ outside class declaration
  1274.    65 |     virtual bool     Eof() const                                = 0;
  1275.       |     ^~~~~~~
  1276. In file included from ....../lib_opencad/lib/cadheader.h:34,
  1277.                  from ....../lib_opencad/lib/cadobjects.h:35,
  1278.                  from ....../lib_opencad/lib/caddictionary.h:34,
  1279.                  from ....../lib_opencad/lib/cadfile.h:34,
  1280.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1281.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1282. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  1283.    56 |   #define OCAD_EXTERN extern
  1284.       |                       ^~~~~~
  1285. ....../lib_opencad/lib/cadgeometry.h:395:7: note: in expansion of macro ‘OCAD_EXTERN’
  1286.   395 | class OCAD_EXTERN CADRay : public CADPoint3D
  1287.       |       ^~~~~~~~~~~
  1288. ....../lib_opencad/lib/cadfileio.h:65:28: error: non-member function ‘bool Eof()’ cannot have cv-qualifier
  1289.    65 |     virtual bool     Eof() const                                = 0;
  1290.       |                            ^~~~~
  1291. ....../lib_opencad/lib/cadfileio.h:65:22: error: function ‘bool Eof()’ is initialized like a variable
  1292.    65 |     virtual bool     Eof() const                                = 0;
  1293.       |                      ^~~
  1294. In file included from ....../lib_opencad/lib/cadlayer.h:34,
  1295.                  from ....../lib_opencad/lib/cadtables.h:35,
  1296.                  from ....../lib_opencad/lib/cadfile.h:37,
  1297.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1298.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1299. ....../lib_opencad/lib/cadgeometry.h:395:26: error: expected initializer before ‘:’ token
  1300.   395 | class OCAD_EXTERN CADRay : public CADPoint3D
  1301.       |                          ^
  1302. ....../lib_opencad/lib/cadfileio.h:66:5: error: ‘virtual’ outside class declaration
  1303.    66 |     virtual bool     Open( int mode )                           = 0;
  1304.       |     ^~~~~~~
  1305. ....../lib_opencad/lib/cadfileio.h:66:22: error: function ‘bool Open(int)’ is initialized like a variable
  1306.    66 |     virtual bool     Open( int mode )                           = 0;
  1307.       |                      ^~~~
  1308. In file included from ....../lib_opencad/lib/cadheader.h:34,
  1309.                  from ....../lib_opencad/lib/cadobjects.h:35,
  1310.                  from ....../lib_opencad/lib/caddictionary.h:34,
  1311.                  from ....../lib_opencad/lib/cadfile.h:34,
  1312.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1313.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1314. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  1315.    56 |   #define OCAD_EXTERN extern
  1316.       |                       ^~~~~~
  1317. ....../lib_opencad/lib/cadgeometry.h:410:7: note: in expansion of macro ‘OCAD_EXTERN’
  1318.   410 | class OCAD_EXTERN CADHatch : public CADGeometry
  1319.       |       ^~~~~~~~~~~
  1320. ....../lib_opencad/lib/cadfileio.h:67:5: error: ‘virtual’ outside class declaration
  1321.    67 |     virtual bool     IsOpened() const;
  1322.       |     ^~~~~~~
  1323. ....../lib_opencad/lib/cadfileio.h:67:33: error: non-member function ‘bool IsOpened()’ cannot have cv-qualifier
  1324.    67 |     virtual bool     IsOpened() const;
  1325.       |                                 ^~~~~
  1326. In file included from ....../lib_opencad/lib/cadlayer.h:34,
  1327.                  from ....../lib_opencad/lib/cadtables.h:35,
  1328.                  from ....../lib_opencad/lib/cadfile.h:37,
  1329.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1330.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1331. ....../lib_opencad/lib/cadgeometry.h:410:28: error: expected initializer before ‘:’ token
  1332.   410 | class OCAD_EXTERN CADHatch : public CADGeometry
  1333.       |                            ^
  1334. ....../lib_opencad/lib/cadfileio.h:68:5: error: ‘virtual’ outside class declaration
  1335.    68 |     virtual bool     Close();
  1336.       |     ^~~~~~~
  1337. ....../lib_opencad/lib/cadfileio.h:69:45: error: ‘SeekOrigin’ has not been declared
  1338.    69 |     virtual int      Seek( long int offset, SeekOrigin origin ) = 0;
  1339.       |                                             ^~~~~~~~~~
  1340. In file included from ....../lib_opencad/lib/cadheader.h:34,
  1341.                  from ....../lib_opencad/lib/cadobjects.h:35,
  1342.                  from ....../lib_opencad/lib/caddictionary.h:34,
  1343.                  from ....../lib_opencad/lib/cadfile.h:34,
  1344.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1345.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1346. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  1347.    56 |   #define OCAD_EXTERN extern
  1348.       |                       ^~~~~~
  1349. ....../lib_opencad/lib/cadgeometry.h:420:7: note: in expansion of macro ‘OCAD_EXTERN’
  1350.   420 | class OCAD_EXTERN CADImage : public CADGeometry
  1351.       |       ^~~~~~~~~~~
  1352. ....../lib_opencad/lib/cadfileio.h:69:5: error: ‘virtual’ outside class declaration
  1353.    69 |     virtual int      Seek( long int offset, SeekOrigin origin ) = 0;
  1354.       |     ^~~~~~~
  1355. ....../lib_opencad/lib/cadfile.h:70:13: error: ‘CADLayer’ does not name a type
  1356.    70 |     virtual CADLayer& GetLayer( size_t index );
  1357.       |             ^~~~~~~~
  1358. In file included from ....../lib_opencad/lib/cadlayer.h:34,
  1359.                  from ....../lib_opencad/lib/cadtables.h:35,
  1360.                  from ....../lib_opencad/lib/cadfile.h:37,
  1361.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1362.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1363. ....../lib_opencad/lib/cadgeometry.h:420:28: error: expected initializer before ‘:’ token
  1364.   420 | class OCAD_EXTERN CADImage : public CADGeometry
  1365.       |                            ^
  1366. ....../lib_opencad/lib/cadfileio.h:69:22: error: function ‘int Seek(long int, int)’ is initialized like a variable
  1367.    69 |     virtual int      Seek( long int offset, SeekOrigin origin ) = 0;
  1368.       |                      ^~~~
  1369. ....../lib_opencad/lib/cadfileio.h:70:5: error: ‘virtual’ outside class declaration
  1370.    70 |     virtual long int Tell()                                     = 0;
  1371.       |     ^~~~~~~
  1372. In file included from ....../lib_opencad/lib/cadheader.h:34,
  1373.                  from ....../lib_opencad/lib/cadobjects.h:35,
  1374.                  from ....../lib_opencad/lib/caddictionary.h:34,
  1375.                  from ....../lib_opencad/lib/cadfile.h:34,
  1376.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1377.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1378. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  1379.    56 |   #define OCAD_EXTERN extern
  1380.       |                       ^~~~~~
  1381. ....../lib_opencad/lib/cadgeometry.h:490:7: note: in expansion of macro ‘OCAD_EXTERN’
  1382.   490 | class OCAD_EXTERN CADMText : public CADText
  1383.       |       ^~~~~~~~~~~
  1384. ....../lib_opencad/lib/cadfileio.h:70:22: error: function ‘long int Tell()’ is initialized like a variable
  1385.    70 |     virtual long int Tell()                                     = 0;
  1386.       |                      ^~~~
  1387. In file included from ....../lib_opencad/lib/cadlayer.h:34,
  1388.                  from ....../lib_opencad/lib/cadtables.h:35,
  1389.                  from ....../lib_opencad/lib/cadfile.h:37,
  1390.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1391.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1392. ....../lib_opencad/lib/cadgeometry.h:490:28: error: expected initializer before ‘:’ token
  1393.   490 | class OCAD_EXTERN CADMText : public CADText
  1394.       |                            ^
  1395. ....../lib_opencad/lib/cadfileio.h:71:5: error: ‘virtual’ outside class declaration
  1396.    71 |     virtual size_t   Read( void * ptr, size_t size )            = 0;
  1397.       |     ^~~~~~~
  1398. ....../lib_opencad/lib/cadfileio.h:71:22: error: function ‘size_t Read(void*, size_t)’ is initialized like a variable
  1399.    71 |     virtual size_t   Read( void * ptr, size_t size )            = 0;
  1400.       |                      ^~~~
  1401. In file included from ....../lib_opencad/lib/cadheader.h:34,
  1402.                  from ....../lib_opencad/lib/cadobjects.h:35,
  1403.                  from ....../lib_opencad/lib/caddictionary.h:34,
  1404.                  from ....../lib_opencad/lib/cadfile.h:34,
  1405.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1406.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1407. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  1408.    56 |   #define OCAD_EXTERN extern
  1409.       |                       ^~~~~~
  1410. ....../lib_opencad/lib/cadgeometry.h:523:7: note: in expansion of macro ‘OCAD_EXTERN’
  1411.   523 | class OCAD_EXTERN CADFace3D : public CADGeometry
  1412.       |       ^~~~~~~~~~~
  1413. ....../lib_opencad/lib/cadfileio.h:72:5: error: ‘virtual’ outside class declaration
  1414.    72 |     virtual size_t   Write( void * ptr, size_t size )           = 0;
  1415.       |     ^~~~~~~
  1416. In file included from ....../lib_opencad/lib/cadlayer.h:34,
  1417.                  from ....../lib_opencad/lib/cadtables.h:35,
  1418.                  from ....../lib_opencad/lib/cadfile.h:37,
  1419.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1420.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1421. ....../lib_opencad/lib/cadgeometry.h:523:29: error: expected initializer before ‘:’ token
  1422.   523 | class OCAD_EXTERN CADFace3D : public CADGeometry
  1423.       |                             ^
  1424. ....../lib_opencad/lib/cadfileio.h:72:22: error: function ‘size_t Write(void*, size_t)’ is initialized like a variable
  1425.    72 |     virtual size_t   Write( void * ptr, size_t size )           = 0;
  1426.       |                      ^~~~~
  1427. ....../lib_opencad/lib/cadfileio.h:73:5: error: ‘virtual’ outside class declaration
  1428.    73 |     virtual void     Rewind()                                   = 0;
  1429.       |     ^~~~~~~
  1430. In file included from ....../lib_opencad/lib/cadheader.h:34,
  1431.                  from ....../lib_opencad/lib/cadobjects.h:35,
  1432.                  from ....../lib_opencad/lib/caddictionary.h:34,
  1433.                  from ....../lib_opencad/lib/cadfile.h:34,
  1434.                  from ....../lib_opencad/lib/opencad_api.h:34,
  1435.                  from ....../lib_opencad/lib/opencad.cpp:31:
  1436. ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
  1437.    56 |   #define OCAD_EXTERN extern
  1438. ......
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement