Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ......
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/cadfile.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadlayer.h:41:7: note: in expansion of macro ‘OCAD_EXTERN’
- 41 | class OCAD_EXTERN CADLayer
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/cadfile.cpp:31:
- ....../lib_opencad/lib/cadlayer.h:41:19: warning: ‘CADLayer’ initialized and declared ‘extern’
- 41 | class OCAD_EXTERN CADLayer
- | ^~~~~~~~
- ....../lib_opencad/lib/cadlayer.h:43:1: error: expected primary-expression before ‘public’
- 43 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadlayer.h:43:1: error: expected ‘}’ before ‘public’
- ....../lib_opencad/lib/cadlayer.h:42:1: note: to match this ‘{’
- 42 | {
- | ^
- ....../lib_opencad/lib/cadlayer.h:45:27: error: non-member function ‘std::string getName()’ cannot have cv-qualifier
- 45 | std::string getName() const;
- | ^~~~~
- ....../lib_opencad/lib/cadlayer.h:48:22: error: non-member function ‘bool getFrozen()’ cannot have cv-qualifier
- 48 | bool getFrozen() const;
- | ^~~~~
- ....../lib_opencad/lib/cadlayer.h:51:18: error: non-member function ‘bool getOn()’ cannot have cv-qualifier
- 51 | bool getOn() const;
- | ^~~~~
- ....../lib_opencad/lib/cadlayer.h:54:31: error: non-member function ‘bool getFrozenByDefault()’ cannot have cv-qualifier
- 54 | bool getFrozenByDefault() const;
- | ^~~~~
- ....../lib_opencad/lib/cadlayer.h:57:22: error: non-member function ‘bool getLocked()’ cannot have cv-qualifier
- 57 | bool getLocked() const;
- | ^~~~~
- ....../lib_opencad/lib/cadlayer.h:60:24: error: non-member function ‘bool getPlotting()’ cannot have cv-qualifier
- 60 | bool getPlotting() const;
- | ^~~~~
- ....../lib_opencad/lib/cadlayer.h:63:27: error: non-member function ‘short int getLineWeight()’ cannot have cv-qualifier
- 63 | short getLineWeight() const;
- | ^~~~~
- ....../lib_opencad/lib/cadlayer.h:66:22: error: non-member function ‘short int getColor()’ cannot have cv-qualifier
- 66 | short getColor() const;
- | ^~~~~
- ....../lib_opencad/lib/cadlayer.h:66:11: error: ambiguating new declaration of ‘short int getColor()’
- 66 | short getColor() const;
- | ^~~~~~~~
- ....../lib_opencad/lib/cadfile.h:141:5: error: ‘CADTables’ does not name a type
- 141 | CADTables oTables;
- | ^~~~~~~~~
- In file included from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/cadfile.cpp:31:
- ....../lib_opencad/lib/cadgeometry.h:96:23: note: old declaration ‘RGBColor getColor()’
- 96 | RGBColor getColor() const;
- | ^~~~~~~~
- ....../lib_opencad/lib/cadfile.h:143:1: error: expected unqualified-id before ‘protected’
- 143 | protected:
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadfile.h:146:1: error: expected declaration before ‘}’ token
- 146 | };
- | ^
- In file included from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/cadfile.cpp:31:
- ....../lib_opencad/lib/cadlayer.h:69:20: error: non-member function ‘size_t getId()’ cannot have cv-qualifier
- 69 | size_t getId() const;
- | ^~~~~
- ....../lib_opencad/lib/cadlayer.h:72:22: error: non-member function ‘long int getHandle()’ cannot have cv-qualifier
- 72 | long getHandle() const;
- | ^~~~~
- ....../lib_opencad/lib/cadlayer.h:78:39: error: ‘CADObject’ is not a class, namespace, or enumeration
- 78 | void addHandle( long handle, enum CADObject::ObjectType type, long cadinserthandle = 0 );
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadlayer.h:80:31: error: non-member function ‘size_t getGeometryCount()’ cannot have cv-qualifier
- 80 | size_t getGeometryCount() const;
- | ^~~~~
- ....../lib_opencad/lib/cadobjects.cpp: In function ‘double getX()’:
- ....../lib_opencad/lib/cadobjects.cpp:127:12: error: ‘X’ was not declared in this scope
- 127 | return X;
- | ^
- ....../lib_opencad/lib/cadobjects.cpp: At global scope:
- ....../lib_opencad/lib/cadobjects.cpp:130:6: error: ‘CADVector’ is not a class, namespace, or enumeration
- 130 | void CADVector::setX( double value )
- | ^~~~~~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/caddictionary.h:40:7: note: in expansion of macro ‘OCAD_EXTERN’
- 40 | class OCAD_EXTERN CADDictionaryRecord
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/caddictionary.h:40:19: warning: ‘CADDictionaryRecord’ initialized and declared ‘extern’
- 40 | class OCAD_EXTERN CADDictionaryRecord
- | ^~~~~~~~~~~~~~~~~~~
- ....../lib_opencad/lib/caddictionary.h:42:1: error: expected primary-expression before ‘public’
- 42 | public:
- | ^~~~~~
- ....../lib_opencad/lib/caddictionary.h:42:1: error: expected ‘}’ before ‘public’
- ....../lib_opencad/lib/caddictionary.h:41:1: note: to match this ‘{’
- 41 | {
- | ^
- ....../lib_opencad/lib/caddictionary.h:44:33: error: expected class-name before ‘(’ token
- 44 | virtual ~CADDictionaryRecord(){}
- | ^
- In file included from ....../lib_opencad/lib/cadtables.cpp:32:
- ....../lib_opencad/lib/opencad_api.h:75:13: error: ‘CADFile’ does not name a type
- 75 | OCAD_EXTERN CADFile * OpenCADFile( CADFileIO * pCADFileIO, enum CADFile::OpenOptions eOptions,
- | ^~~~~~~
- ....../lib_opencad/lib/opencad_api.h:77:13: error: ‘CADFile’ does not name a type
- 77 | OCAD_EXTERN CADFile * OpenCADFile( const char * pszFileName, enum CADFile::OpenOptions eOptions,
- | ^~~~~~~
- In file included from ....../lib_opencad/lib/cadlayer.cpp:31:
- ....../lib_opencad/lib/cadlayer.h:112:1: error: expected declaration before ‘}’ token
- 112 | };
- | ^
- ....../lib_opencad/lib/cadlayer.h:81:5: error: ‘CADGeometry’ does not name a type
- 81 | CADGeometry * getGeometry( size_t index );
- | ^~~~~~~~~~~
- ....../lib_opencad/lib/cadlayer.h:82:28: error: non-member function ‘size_t getImageCount()’ cannot have cv-qualifier
- 82 | size_t getImageCount() const;
- | ^~~~~
- ....../lib_opencad/lib/caddictionary.h:46:5: error: ‘CADObject’ does not name a type; did you mean ‘CADRayObject’?
- 46 | CADObject::ObjectType getType() const;
- | ^~~~~~~~~
- | CADRayObject
- ....../lib_opencad/lib/caddictionary.h:48:1: error: expected unqualified-id before ‘protected’
- 48 | protected:
- | ^~~~~~~~~
- ....../lib_opencad/lib/caddictionary.h:50:1: error: expected declaration before ‘}’ token
- 50 | };
- | ^
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/caddictionary.h:55:7: note: in expansion of macro ‘OCAD_EXTERN’
- 55 | class OCAD_EXTERN CADXRecord : public CADDictionaryRecord
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/caddictionary.h:55:30: error: expected initializer before ‘:’ token
- 55 | class OCAD_EXTERN CADXRecord : public CADDictionaryRecord
- | ^
- ....../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’
- 71 | typedef std::pair< std::string, std::shared_ptr<CADDictionaryRecord>> CADDictionaryItem;
- | ^~~~~~~~~~~~~~~~~~~
- ....../lib_opencad/lib/caddictionary.h:71:49: note: expected a type, got ‘CADDictionaryRecord’
- ....../lib_opencad/lib/caddictionary.h:71:68: error: template argument 2 is invalid
- 71 | typedef std::pair< std::string, std::shared_ptr<CADDictionaryRecord>> CADDictionaryItem;
- | ^~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/caddictionary.h:72:7: note: in expansion of macro ‘OCAD_EXTERN’
- 72 | class OCAD_EXTERN CADDictionary : public CADDictionaryRecord
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/cadgeometry.h:34,
- from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadlayer.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/caddictionary.h:40:7: note: in expansion of macro ‘OCAD_EXTERN’
- 40 | class OCAD_EXTERN CADDictionaryRecord
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/caddictionary.h:72:33: error: expected initializer before ‘:’ token
- 72 | class OCAD_EXTERN CADDictionary : public CADDictionaryRecord
- | ^
- In file included from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/cadlayer.cpp:32:
- ....../lib_opencad/lib/caddictionary.h:40:19: warning: ‘CADDictionaryRecord’ initialized and declared ‘extern’
- 40 | class OCAD_EXTERN CADDictionaryRecord
- | ^~~~~~~~~~~~~~~~~~~
- ....../lib_opencad/lib/caddictionary.h:42:1: error: expected primary-expression before ‘public’
- 42 | public:
- | ^~~~~~
- ....../lib_opencad/lib/caddictionary.h:42:1: error: expected ‘}’ before ‘public’
- ....../lib_opencad/lib/caddictionary.h:41:1: note: to match this ‘{’
- 41 | {
- | ^
- ....../lib_opencad/lib/caddictionary.h:44:33: error: expected class-name before ‘(’ token
- 44 | virtual ~CADDictionaryRecord(){}
- | ^
- ....../lib_opencad/lib/cadobjects.cpp: In function ‘void setX(double)’:
- ....../lib_opencad/lib/cadobjects.cpp:132:5: error: ‘X’ was not declared in this scope
- 132 | X = value;
- | ^
- ....../lib_opencad/lib/opencad_api.h:80:13: error: ‘CADFileIO’ does not name a type; did you mean ‘CADFile’?
- 80 | OCAD_EXTERN CADFileIO * GetDefaultFileIO( const char * pszFileName );
- | ^~~~~~~~~
- | CADFile
- ....../lib_opencad/lib/opencad_api.h:81:17: warning: ‘IdentifyCADFile’ initialized and declared ‘extern’
- 81 | OCAD_EXTERN int IdentifyCADFile( CADFileIO * pCADFileIO, bool bOwn = true );
- | ^~~~~~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadclasses.h:40:7: note: in expansion of macro ‘OCAD_EXTERN’
- 40 | class OCAD_EXTERN CADClass
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadfile.h:35,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadclasses.h:40:20: warning: ‘CADClass’ initialized and declared ‘extern’
- 40 | class OCAD_EXTERN CADClass
- | ^~~~~~~~
- ....../lib_opencad/lib/cadlayer.h:83:5: error: ‘CADImage’ does not name a type
- 83 | CADImage * getImage( size_t index );
- | ^~~~~~~~
- ....../lib_opencad/lib/cadclasses.h:42:1: error: expected primary-expression before ‘public’
- 42 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadclasses.h:42:1: error: expected ‘}’ before ‘public’
- ....../lib_opencad/lib/cadlayer.h:88:17: error: the value of ‘CADObject’ is not usable in a constant expression
- 88 | std::vector<CADObject::ObjectType> getGeometryTypes();
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadclasses.h:41:1: note: to match this ‘{’
- 41 | {
- | ^
- ....../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’
- 88 | std::vector<CADObject::ObjectType> getGeometryTypes();
- | ^
- ....../lib_opencad/lib/cadclasses.h:45:1: error: expected unqualified-id before ‘public’
- 45 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadlayer.h:88:38: note: expected a type, got ‘CADObject’
- ....../lib_opencad/lib/cadlayer.h:88:38: error: template argument 2 is invalid
- ....../lib_opencad/lib/cadlayer.h:90:1: error: expected unqualified-id before ‘protected’
- 90 | protected:
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadlayer.h:92:1: error: expected unqualified-id before ‘protected’
- 92 | protected:
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadclasses.h:55:1: error: expected declaration before ‘}’ token
- 55 | };
- | ^
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadclasses.h:57:7: note: in expansion of macro ‘OCAD_EXTERN’
- 57 | class OCAD_EXTERN CADClasses
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadfile.h:35,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadclasses.h:57:19: warning: ‘CADClasses’ initialized and declared ‘extern’
- 57 | class OCAD_EXTERN CADClasses
- | ^~~~~~~~~~
- ....../lib_opencad/lib/cadclasses.h:59:1: error: expected primary-expression before ‘public’
- 59 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadclasses.h:59:1: error: expected ‘}’ before ‘public’
- ....../lib_opencad/lib/cadclasses.h:58:1: note: to match this ‘{’
- 58 | {
- | ^
- ....../lib_opencad/lib/cadclasses.h:62:1: error: expected unqualified-id before ‘public’
- 62 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadlayer.h:104:17: error: the value of ‘CADObject’ is not usable in a constant expression
- 104 | std::vector<CADObject::ObjectType> geometryTypes; // FIXME: replace with hashset would be perfect
- | ^~~~~~~~~
- ....../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’
- 104 | std::vector<CADObject::ObjectType> geometryTypes; // FIXME: replace with hashset would be perfect
- | ^
- ....../lib_opencad/lib/cadlayer.h:104:38: note: expected a type, got ‘CADObject’
- ....../lib_opencad/lib/cadlayer.h:104:38: error: template argument 2 is invalid
- ....../lib_opencad/lib/cadobjects.cpp: At global scope:
- ....../lib_opencad/lib/cadobjects.cpp:135:1: error: ‘CADVector’ does not name a type
- 135 | CADVector::CADVector() : X( .0 ), Y( .0 ), Z( .0 ), bHasZ( true )
- | ^~~~~~~~~
- ....../lib_opencad/lib/caddictionary.h:46:5: error: ‘CADObject’ does not name a type; did you mean ‘CADRayObject’?
- 46 | CADObject::ObjectType getType() const;
- | ^~~~~~~~~
- | CADRayObject
- ....../lib_opencad/lib/caddictionary.h:48:1: error: expected unqualified-id before ‘protected’
- 48 | protected:
- | ^~~~~~~~~
- ....../lib_opencad/lib/caddictionary.h:50:1: error: expected declaration before ‘}’ token
- 50 | };
- | ^
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/cadgeometry.h:34,
- from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadlayer.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/caddictionary.h:55:7: note: in expansion of macro ‘OCAD_EXTERN’
- 55 | class OCAD_EXTERN CADXRecord : public CADDictionaryRecord
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/cadlayer.cpp:32:
- ....../lib_opencad/lib/caddictionary.h:55:30: error: expected initializer before ‘:’ token
- 55 | class OCAD_EXTERN CADXRecord : public CADDictionaryRecord
- | ^
- ....../lib_opencad/lib/cadclasses.h:64:5: error: ‘CADClass’ does not name a type
- 64 | CADClass getClassByNum(short num) const;
- | ^~~~~~~~
- ....../lib_opencad/lib/cadclasses.h:65:33: error: non-member function ‘void print()’ cannot have cv-qualifier
- 65 | void print() const;
- | ^~~~~
- ....../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’
- 71 | typedef std::pair< std::string, std::shared_ptr<CADDictionaryRecord>> CADDictionaryItem;
- | ^~~~~~~~~~~~~~~~~~~
- ....../lib_opencad/lib/cadclasses.h:67:1: error: expected unqualified-id before ‘protected’
- 67 | protected:
- | ^~~~~~~~~
- ....../lib_opencad/lib/caddictionary.h:71:49: note: expected a type, got ‘CADDictionaryRecord’
- ....../lib_opencad/lib/cadclasses.h:69:1: error: expected declaration before ‘}’ token
- 69 | };
- | ^
- ....../lib_opencad/lib/caddictionary.h:71:68: error: template argument 2 is invalid
- 71 | typedef std::pair< std::string, std::shared_ptr<CADDictionaryRecord>> CADDictionaryItem;
- | ^~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/cadgeometry.h:34,
- from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadlayer.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/caddictionary.h:72:7: note: in expansion of macro ‘OCAD_EXTERN’
- 72 | class OCAD_EXTERN CADDictionary : public CADDictionaryRecord
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/cadlayer.cpp:32:
- ....../lib_opencad/lib/caddictionary.h:72:33: error: expected initializer before ‘:’ token
- 72 | class OCAD_EXTERN CADDictionary : public CADDictionaryRecord
- | ^
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadfileio.h:43:7: note: in expansion of macro ‘OCAD_EXTERN’
- 43 | class OCAD_EXTERN CADFileIO
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/cadgeometry.h:34,
- from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadlayer.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadclasses.h:40:7: note: in expansion of macro ‘OCAD_EXTERN’
- 40 | class OCAD_EXTERN CADClass
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadfile.h:36,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadfileio.h:43:19: warning: ‘CADFileIO’ initialized and declared ‘extern’
- 43 | class OCAD_EXTERN CADFileIO
- | ^~~~~~~~~
- In file included from ....../lib_opencad/lib/cadfile.h:35,
- from ....../lib_opencad/lib/cadlayer.cpp:32:
- ....../lib_opencad/lib/cadclasses.h:40:20: warning: ‘CADClass’ initialized and declared ‘extern’
- 40 | class OCAD_EXTERN CADClass
- | ^~~~~~~~
- ....../lib_opencad/lib/cadfileio.h:45:1: error: expected primary-expression before ‘public’
- 45 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadclasses.h:42:1: error: expected primary-expression before ‘public’
- 42 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadfileio.h:45:1: error: expected ‘}’ before ‘public’
- ....../lib_opencad/lib/cadclasses.h:42:1: error: expected ‘}’ before ‘public’
- ....../lib_opencad/lib/cadfileio.h:44:1: note: to match this ‘{’
- 44 | {
- | ^
- ....../lib_opencad/lib/cadclasses.h:41:1: note: to match this ‘{’
- 41 | {
- | ^
- ....../lib_opencad/lib/opencad_api.h:81:46: error: ‘pCADFileIO’ was not declared in this scope; did you mean ‘CADFileIO’?
- 81 | OCAD_EXTERN int IdentifyCADFile( CADFileIO * pCADFileIO, bool bOwn = true );
- | ^~~~~~~~~~
- | CADFileIO
- ....../lib_opencad/lib/cadclasses.h:45:1: error: expected unqualified-id before ‘public’
- 45 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadfileio.h:60:1: error: expected unqualified-id before ‘public’
- 60 | public:
- | ^~~~~~
- ....../lib_opencad/lib/opencad_api.h:81:58: error: expected primary-expression before ‘bool’
- 81 | OCAD_EXTERN int IdentifyCADFile( CADFileIO * pCADFileIO, bool bOwn = true );
- | ^~~~
- ....../lib_opencad/lib/cadfileio.h:62:39: error: expected class-name before ‘(’ token
- 62 | virtual ~CADFileIO();
- | ^
- ....../lib_opencad/lib/opencad_api.h:81:75: error: expression list treated as compound expression in initializer [-fpermissive]
- 81 | OCAD_EXTERN int IdentifyCADFile( CADFileIO * pCADFileIO, bool bOwn = true );
- | ^
- ....../lib_opencad/lib/cadfileio.h:64:5: error: ‘virtual’ outside class declaration
- 64 | virtual const char * ReadLine() = 0;
- | ^~~~~~~
- ....../lib_opencad/lib/cadclasses.h:55:1: error: expected declaration before ‘}’ token
- 55 | };
- | ^
- ....../lib_opencad/lib/cadfileio.h:64:26: error: function ‘const char* ReadLine()’ is initialized like a variable
- 64 | virtual const char * ReadLine() = 0;
- | ^~~~~~~~
- ....../lib_opencad/lib/cadfileio.h:65:5: error: ‘virtual’ outside class declaration
- 65 | virtual bool Eof() const = 0;
- | ^~~~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/cadgeometry.h:34,
- from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadlayer.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadclasses.h:57:7: note: in expansion of macro ‘OCAD_EXTERN’
- 57 | class OCAD_EXTERN CADClasses
- | ^~~~~~~~~~~
- ....../lib_opencad/lib/cadfileio.h:65:28: error: non-member function ‘bool Eof()’ cannot have cv-qualifier
- 65 | virtual bool Eof() const = 0;
- | ^~~~~
- In file included from ....../lib_opencad/lib/cadfile.h:35,
- from ....../lib_opencad/lib/cadlayer.cpp:32:
- ....../lib_opencad/lib/cadclasses.h:57:19: warning: ‘CADClasses’ initialized and declared ‘extern’
- 57 | class OCAD_EXTERN CADClasses
- | ^~~~~~~~~~
- ....../lib_opencad/lib/cadfileio.h:65:22: error: function ‘bool Eof()’ is initialized like a variable
- 65 | virtual bool Eof() const = 0;
- | ^~~
- ....../lib_opencad/lib/cadclasses.h:59:1: error: expected primary-expression before ‘public’
- 59 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadfileio.h:66:5: error: ‘virtual’ outside class declaration
- 66 | virtual bool Open( int mode ) = 0;
- | ^~~~~~~
- ....../lib_opencad/lib/cadclasses.h:59:1: error: expected ‘}’ before ‘public’
- ....../lib_opencad/lib/cadclasses.h:58:1: note: to match this ‘{’
- 58 | {
- | ^
- ....../lib_opencad/lib/cadfileio.h:66:22: error: function ‘bool Open(int)’ is initialized like a variable
- 66 | virtual bool Open( int mode ) = 0;
- | ^~~~
- ....../lib_opencad/lib/cadclasses.h:62:1: error: expected unqualified-id before ‘public’
- 62 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadfileio.h:67:5: error: ‘virtual’ outside class declaration
- 67 | virtual bool IsOpened() const;
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:67:33: error: non-member function ‘bool IsOpened()’ cannot have cv-qualifier
- 67 | virtual bool IsOpened() const;
- | ^~~~~
- ....../lib_opencad/lib/cadfileio.h:68:5: error: ‘virtual’ outside class declaration
- 68 | virtual bool Close();
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:69:45: error: ‘SeekOrigin’ has not been declared
- 69 | virtual int Seek( long int offset, SeekOrigin origin ) = 0;
- | ^~~~~~~~~~
- ....../lib_opencad/lib/cadfileio.h:69:5: error: ‘virtual’ outside class declaration
- 69 | virtual int Seek( long int offset, SeekOrigin origin ) = 0;
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:69:22: error: function ‘int Seek(long int, int)’ is initialized like a variable
- 69 | virtual int Seek( long int offset, SeekOrigin origin ) = 0;
- | ^~~~
- ....../lib_opencad/lib/cadfileio.h:70:5: error: ‘virtual’ outside class declaration
- 70 | virtual long int Tell() = 0;
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:70:22: error: function ‘long int Tell()’ is initialized like a variable
- 70 | virtual long int Tell() = 0;
- | ^~~~
- ....../lib_opencad/lib/cadfileio.h:71:5: error: ‘virtual’ outside class declaration
- 71 | virtual size_t Read( void * ptr, size_t size ) = 0;
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:71:22: error: function ‘size_t Read(void*, size_t)’ is initialized like a variable
- 71 | virtual size_t Read( void * ptr, size_t size ) = 0;
- | ^~~~
- ....../lib_opencad/lib/cadfileio.h:72:5: error: ‘virtual’ outside class declaration
- 72 | virtual size_t Write( void * ptr, size_t size ) = 0;
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:72:22: error: function ‘size_t Write(void*, size_t)’ is initialized like a variable
- 72 | virtual size_t Write( void * ptr, size_t size ) = 0;
- | ^~~~~
- ....../lib_opencad/lib/cadfileio.h:73:5: error: ‘virtual’ outside class declaration
- 73 | virtual void Rewind() = 0;
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:73:22: error: function ‘void Rewind()’ is initialized like a variable
- 73 | virtual void Rewind() = 0;
- | ^~~~~~
- ....../lib_opencad/lib/cadfileio.h:74:32: error: non-member function ‘const char* GetFilePath()’ cannot have cv-qualifier
- 74 | const char * GetFilePath() const;
- | ^~~~~
- ....../lib_opencad/lib/cadfileio.h:76:1: error: expected unqualified-id before ‘protected’
- 76 | protected:
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadfileio.h:79:1: error: expected declaration before ‘}’ token
- 79 | };
- | ^
- ....../lib_opencad/lib/cadclasses.h:64:5: error: ‘CADClass’ does not name a type
- 64 | CADClass getClassByNum(short num) const;
- | ^~~~~~~~
- ....../lib_opencad/lib/cadclasses.h:65:33: error: non-member function ‘void print()’ cannot have cv-qualifier
- 65 | void print() const;
- | ^~~~~
- ....../lib_opencad/lib/cadclasses.h:67:1: error: expected unqualified-id before ‘protected’
- 67 | protected:
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadclasses.h:69:1: error: expected declaration before ‘}’ token
- 69 | };
- | ^
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/cadgeometry.h:34,
- from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadlayer.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadfileio.h:43:7: note: in expansion of macro ‘OCAD_EXTERN’
- 43 | class OCAD_EXTERN CADFileIO
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadfile.h:36,
- from ....../lib_opencad/lib/cadlayer.cpp:32:
- ....../lib_opencad/lib/cadfileio.h:43:19: warning: ‘CADFileIO’ initialized and declared ‘extern’
- 43 | class OCAD_EXTERN CADFileIO
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadfileio.h:45:1: error: expected primary-expression before ‘public’
- 45 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadfileio.h:45:1: error: expected ‘}’ before ‘public’
- ....../lib_opencad/lib/cadfileio.h:44:1: note: to match this ‘{’
- 44 | {
- | ^
- ....../lib_opencad/lib/cadfileio.h:60:1: error: expected unqualified-id before ‘public’
- 60 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadfileio.h:62:39: error: expected class-name before ‘(’ token
- 62 | virtual ~CADFileIO();
- | ^
- ....../lib_opencad/lib/cadfileio.h:64:5: error: ‘virtual’ outside class declaration
- 64 | virtual const char * ReadLine() = 0;
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:64:26: error: function ‘const char* ReadLine()’ is initialized like a variable
- 64 | virtual const char * ReadLine() = 0;
- | ^~~~~~~~
- ....../lib_opencad/lib/cadfileio.h:65:5: error: ‘virtual’ outside class declaration
- 65 | virtual bool Eof() const = 0;
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:65:28: error: non-member function ‘bool Eof()’ cannot have cv-qualifier
- 65 | virtual bool Eof() const = 0;
- | ^~~~~
- ....../lib_opencad/lib/cadfileio.h:65:22: error: function ‘bool Eof()’ is initialized like a variable
- 65 | virtual bool Eof() const = 0;
- | ^~~
- ....../lib_opencad/lib/cadfileio.h:66:5: error: ‘virtual’ outside class declaration
- 66 | virtual bool Open( int mode ) = 0;
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:66:22: error: function ‘bool Open(int)’ is initialized like a variable
- 66 | virtual bool Open( int mode ) = 0;
- | ^~~~
- ....../lib_opencad/lib/cadfileio.h:67:5: error: ‘virtual’ outside class declaration
- 67 | virtual bool IsOpened() const;
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:67:33: error: non-member function ‘bool IsOpened()’ cannot have cv-qualifier
- 67 | virtual bool IsOpened() const;
- | ^~~~~
- ....../lib_opencad/lib/cadfileio.h:68:5: error: ‘virtual’ outside class declaration
- 68 | virtual bool Close();
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:69:45: error: ‘SeekOrigin’ has not been declared
- 69 | virtual int Seek( long int offset, SeekOrigin origin ) = 0;
- | ^~~~~~~~~~
- ....../lib_opencad/lib/cadfileio.h:69:5: error: ‘virtual’ outside class declaration
- 69 | virtual int Seek( long int offset, SeekOrigin origin ) = 0;
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:69:22: error: function ‘int Seek(long int, int)’ is initialized like a variable
- 69 | virtual int Seek( long int offset, SeekOrigin origin ) = 0;
- | ^~~~
- ....../lib_opencad/lib/cadfileio.h:70:5: error: ‘virtual’ outside class declaration
- 70 | virtual long int Tell() = 0;
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:70:22: error: function ‘long int Tell()’ is initialized like a variable
- 70 | virtual long int Tell() = 0;
- | ^~~~
- ....../lib_opencad/lib/cadfileio.h:71:5: error: ‘virtual’ outside class declaration
- 71 | virtual size_t Read( void * ptr, size_t size ) = 0;
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:71:22: error: function ‘size_t Read(void*, size_t)’ is initialized like a variable
- 71 | virtual size_t Read( void * ptr, size_t size ) = 0;
- | ^~~~
- ....../lib_opencad/lib/cadfileio.h:72:5: error: ‘virtual’ outside class declaration
- 72 | virtual size_t Write( void * ptr, size_t size ) = 0;
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:72:22: error: function ‘size_t Write(void*, size_t)’ is initialized like a variable
- 72 | virtual size_t Write( void * ptr, size_t size ) = 0;
- | ^~~~~
- ....../lib_opencad/lib/cadfileio.h:73:5: error: ‘virtual’ outside class declaration
- 73 | virtual void Rewind() = 0;
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:73:22: error: function ‘void Rewind()’ is initialized like a variable
- 73 | virtual void Rewind() = 0;
- | ^~~~~~
- ....../lib_opencad/lib/cadfileio.h:74:32: error: non-member function ‘const char* GetFilePath()’ cannot have cv-qualifier
- 74 | const char * GetFilePath() const;
- | ^~~~~
- ....../lib_opencad/lib/cadfileio.h:76:1: error: expected unqualified-id before ‘protected’
- 76 | protected:
- | ^~~~~~~~~
- In file included from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadgeometry.h:49:32: error: ‘CADVector’ does not name a type
- 49 | void translate( const CADVector& vector );
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadfileio.h:79:1: error: expected declaration before ‘}’ token
- 79 | };
- | ^
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/cadgeometry.h:34,
- from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadlayer.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadtables.h:42:7: note: in expansion of macro ‘OCAD_EXTERN’
- 42 | class OCAD_EXTERN CADTables
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/cadlayer.cpp:32:
- ....../lib_opencad/lib/cadtables.h:42:19: warning: ‘CADTables’ initialized and declared ‘extern’
- 42 | class OCAD_EXTERN CADTables
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadtables.h:44:1: error: expected primary-expression before ‘public’
- 44 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadtables.h:44:1: error: expected ‘}’ before ‘public’
- ....../lib_opencad/lib/cadtables.h:43:1: note: to match this ‘{’
- 43 | {
- | ^
- ....../lib_opencad/lib/cadtables.h:69:1: error: expected unqualified-id before ‘public’
- 69 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadtables.h:72:30: error: use of enum ‘TableType’ without previous declaration
- 72 | void AddTable( enum TableType eType, const CADHandle& hHandle );
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadobjects.cpp: In constructor ‘CADTextObject::CADTextObject()’:
- ....../lib_opencad/lib/cadobjects.cpp:145:21: error: ‘TEXT’ was not declared in this scope
- 145 | CADEntityObject(TEXT),
- | ^~~~
- ....../lib_opencad/lib/cadgeometry.h:51:28: error: ‘CADVector’ does not name a type
- 51 | void scale( const CADVector& vector );
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadobjects.cpp: At global scope:
- ....../lib_opencad/lib/cadobjects.cpp:163:33: error: expected constructor, destructor, or type conversion before ‘(’ token
- 163 | CADAttribObject::CADAttribObject(ObjectType typeIn) :
- | ^
- ....../lib_opencad/lib/cadtables.h:72:53: error: ‘CADHandle’ does not name a type
- 72 | void AddTable( enum TableType eType, const CADHandle& hHandle );
- | ^~~~~~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadheader.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/caddictionary.h:40:7: note: in expansion of macro ‘OCAD_EXTERN’
- 40 | class OCAD_EXTERN CADDictionaryRecord
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/cadheader.cpp:32:
- ....../lib_opencad/lib/caddictionary.h:40:19: warning: ‘CADDictionaryRecord’ initialized and declared ‘extern’
- 40 | class OCAD_EXTERN CADDictionaryRecord
- | ^~~~~~~~~~~~~~~~~~~
- ....../lib_opencad/lib/caddictionary.h:42:1: error: expected primary-expression before ‘public’
- 42 | public:
- | ^~~~~~
- ....../lib_opencad/lib/caddictionary.h:42:1: error: expected ‘}’ before ‘public’
- ....../lib_opencad/lib/caddictionary.h:41:1: note: to match this ‘{’
- 41 | {
- | ^
- ....../lib_opencad/lib/caddictionary.h:44:33: error: expected class-name before ‘(’ token
- 44 | virtual ~CADDictionaryRecord(){}
- | ^
- ....../lib_opencad/lib/cadtables.h:73:5: error: ‘CADHandle’ does not name a type
- 73 | CADHandle GetTableHandle( enum TableType eType );
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadtables.h:74:57: error: use of enum ‘TableType’ without previous declaration
- 74 | int ReadTable( CADFile * const pCADFile, enum TableType eType );
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadtables.h:75:31: error: non-member function ‘size_t GetLayerCount()’ cannot have cv-qualifier
- 75 | size_t GetLayerCount() const;
- | ^~~~~
- make[2]: *** [lib/CMakeFiles/opencad.dir/build.make:233: lib/CMakeFiles/opencad.dir/caddictionary.cpp.o] Error 1
- ....../lib_opencad/lib/cadgeometry.h:52:5: error: ‘CADVector’ does not name a type
- 52 | CADVector multiply( const CADVector& vector ) const;
- | ^~~~~~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadgeometry.h:60:7: note: in expansion of macro ‘OCAD_EXTERN’
- 60 | class OCAD_EXTERN CADGeometry
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadgeometry.h:60:19: warning: ‘CADGeometry’ initialized and declared ‘extern’
- 60 | class OCAD_EXTERN CADGeometry
- | ^~~~~~~~~~~
- ....../lib_opencad/lib/cadtables.h:76:5: error: ‘CADLayer’ does not name a type
- 76 | CADLayer& GetLayer( size_t iIndex );
- | ^~~~~~~~
- ....../lib_opencad/lib/cadgeometry.h:62:1: error: expected primary-expression before ‘public’
- 62 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadtables.h:78:1: error: expected unqualified-id before ‘protected’
- 78 | protected:
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadgeometry.h:62:1: error: expected ‘}’ before ‘public’
- ....../lib_opencad/lib/cadgeometry.h:61:1: note: to match this ‘{’
- 61 | {
- | ^
- ....../lib_opencad/lib/cadtables.h:81:1: error: expected unqualified-id before ‘protected’
- 81 | protected:
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadgeometry.h:64:25: error: expected class-name before ‘(’ token
- 64 | virtual ~CADGeometry();
- | ^
- ....../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’
- 83 | std::vector<CADLayer> aLayers;
- | ^
- ....../lib_opencad/lib/cadtables.h:83:25: note: expected a type, got ‘CADLayer’
- ....../lib_opencad/lib/caddictionary.h:46:5: error: ‘CADObject’ does not name a type; did you mean ‘CADRayObject’?
- 46 | CADObject::ObjectType getType() const;
- | ^~~~~~~~~
- | CADRayObject
- ....../lib_opencad/lib/cadtables.h:83:25: error: template argument 2 is invalid
- ....../lib_opencad/lib/cadgeometry.h:93:33: error: non-member function ‘GeometryType getType()’ cannot have cv-qualifier
- 93 | enum GeometryType getType() const;
- | ^~~~~
- ....../lib_opencad/lib/caddictionary.h:48:1: error: expected unqualified-id before ‘protected’
- 48 | protected:
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadtables.h:84:1: error: expected declaration before ‘}’ token
- 84 | };
- | ^
- ....../lib_opencad/lib/caddictionary.h:50:1: error: expected declaration before ‘}’ token
- 50 | };
- | ^
- ....../lib_opencad/lib/cadgeometry.h:94:38: error: non-member function ‘double getThickness()’ cannot have cv-qualifier
- 94 | double getThickness() const;
- | ^~~~~
- ....../lib_opencad/lib/cadgeometry.h:96:34: error: non-member function ‘RGBColor getColor()’ cannot have cv-qualifier
- 96 | RGBColor getColor() const;
- | ^~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadheader.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/caddictionary.h:55:7: note: in expansion of macro ‘OCAD_EXTERN’
- 55 | class OCAD_EXTERN CADXRecord : public CADDictionaryRecord
- | ^~~~~~~~~~~
- ....../lib_opencad/lib/cadgeometry.h:99:49: error: non-member function ‘std::vector<CADAttrib> getBlockAttributes()’ cannot have cv-qualifier
- 99 | std::vector<CADAttrib> getBlockAttributes() const;
- | ^~~~~
- In file included from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/cadheader.cpp:32:
- ....../lib_opencad/lib/caddictionary.h:55:30: error: expected initializer before ‘:’ token
- 55 | class OCAD_EXTERN CADXRecord : public CADDictionaryRecord
- | ^
- ....../lib_opencad/lib/cadgeometry.h:102:39: error: non-member function ‘std::vector<std::__cxx11::basic_string<char> > getEED()’ cannot have cv-qualifier
- 102 | std::vector<std::string> getEED() const;
- | ^~~~~
- ....../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’
- 71 | typedef std::pair< std::string, std::shared_ptr<CADDictionaryRecord>> CADDictionaryItem;
- | ^~~~~~~~~~~~~~~~~~~
- ....../lib_opencad/lib/caddictionary.h:71:49: note: expected a type, got ‘CADDictionaryRecord’
- ....../lib_opencad/lib/caddictionary.h:71:68: error: template argument 2 is invalid
- 71 | typedef std::pair< std::string, std::shared_ptr<CADDictionaryRecord>> CADDictionaryItem;
- | ^~
- ....../lib_opencad/lib/cadgeometry.h:105:5: error: ‘virtual’ outside class declaration
- 105 | virtual void print() const = 0;
- | ^~~~~~~
- ....../lib_opencad/lib/cadgeometry.h:105:26: error: non-member function ‘void print()’ cannot have cv-qualifier
- 105 | virtual void print() const = 0;
- | ^~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadheader.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/caddictionary.h:72:7: note: in expansion of macro ‘OCAD_EXTERN’
- 72 | class OCAD_EXTERN CADDictionary : public CADDictionaryRecord
- | ^~~~~~~~~~~
- ....../lib_opencad/lib/cadgeometry.h:105:18: error: function ‘void print()’ is initialized like a variable
- 105 | virtual void print() const = 0;
- | ^~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/cadgeometry.h:34,
- from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadlayer.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadfile.h:42:7: note: in expansion of macro ‘OCAD_EXTERN’
- 42 | class OCAD_EXTERN CADFile
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/cadheader.cpp:32:
- ....../lib_opencad/lib/caddictionary.h:72:33: error: expected initializer before ‘:’ token
- 72 | class OCAD_EXTERN CADDictionary : public CADDictionaryRecord
- | ^
- ....../lib_opencad/lib/cadobjects.cpp: In constructor ‘CADAttdefObject::CADAttdefObject()’:
- ....../lib_opencad/lib/cadobjects.cpp:187:21: error: ‘ATTDEF’ was not declared in this scope
- 187 | CADAttribObject(ATTDEF)
- | ^~~~~~
- ....../lib_opencad/lib/cadgeometry.h:106:5: error: ‘virtual’ outside class declaration
- 106 | virtual void transform( const Matrix& matrix ) = 0;
- | ^~~~~~~
- In file included from ....../lib_opencad/lib/cadlayer.cpp:32:
- ....../lib_opencad/lib/cadfile.h:42:19: warning: ‘CADFile’ initialized and declared ‘extern’
- 42 | class OCAD_EXTERN CADFile
- | ^~~~~~~
- In file included from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/cadfile.cpp:31:
- ....../lib_opencad/lib/cadlayer.h:112:1: error: expected declaration before ‘}’ token
- 112 | };
- | ^
- ....../lib_opencad/lib/cadgeometry.h:106:18: error: function ‘void transform(const Matrix&)’ is initialized like a variable
- 106 | virtual void transform( const Matrix& matrix ) = 0;
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadfile.h:44:5: error: expected primary-expression before ‘friend’
- 44 | friend class CADTables;
- | ^~~~~~
- ....../lib_opencad/lib/cadgeometry.h:107:1: error: expected unqualified-id before ‘protected’
- 107 | protected:
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadfile.h:44:5: error: expected ‘}’ before ‘friend’
- ....../lib_opencad/lib/cadfile.h:43:1: note: to match this ‘{’
- 43 | {
- | ^
- ....../lib_opencad/lib/cadfile.h:45:5: error: ‘friend’ used outside of class
- 45 | friend class CADLayer;
- | ^~~~~~
- | ------
- ....../lib_opencad/lib/cadfile.h:47:1: error: expected unqualified-id before ‘public’
- 47 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadfile.h:58:1: error: expected unqualified-id before ‘public’
- 58 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadfile.h:60:29: error: declaration of ‘~ CADFile’ as non-member
- 60 | virtual ~CADFile();
- | ^~~~~~~~
- ....../lib_opencad/lib/cadfile.h:62:1: error: expected unqualified-id before ‘public’
- 62 | public:
- | ^~~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadheader.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadclasses.h:40:7: note: in expansion of macro ‘OCAD_EXTERN’
- 40 | class OCAD_EXTERN CADClass
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadfile.h:35,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/cadheader.cpp:32:
- ....../lib_opencad/lib/cadclasses.h:40:20: warning: ‘CADClass’ initialized and declared ‘extern’
- 40 | class OCAD_EXTERN CADClass
- | ^~~~~~~~
- ....../lib_opencad/lib/cadclasses.h:42:1: error: expected primary-expression before ‘public’
- 42 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadclasses.h:42:1: error: expected ‘}’ before ‘public’
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/cadfile.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadtables.h:42:7: note: in expansion of macro ‘OCAD_EXTERN’
- 42 | class OCAD_EXTERN CADTables
- | ^~~~~~~~~~~
- ....../lib_opencad/lib/cadclasses.h:41:1: note: to match this ‘{’
- 41 | {
- | ^
- ....../lib_opencad/lib/cadclasses.h:45:1: error: expected unqualified-id before ‘public’
- 45 | public:
- | ^~~~~~
- In file included from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/cadfile.cpp:31:
- ....../lib_opencad/lib/cadtables.h:42:19: warning: ‘CADTables’ initialized and declared ‘extern’
- 42 | class OCAD_EXTERN CADTables
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadtables.h:44:1: error: expected primary-expression before ‘public’
- 44 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadtables.h:44:1: error: expected ‘}’ before ‘public’
- ....../lib_opencad/lib/cadtables.h:43:1: note: to match this ‘{’
- 43 | {
- | ^
- ....../lib_opencad/lib/cadclasses.h:55:1: error: expected declaration before ‘}’ token
- 55 | };
- | ^
- ....../lib_opencad/lib/cadtables.h:69:1: error: expected unqualified-id before ‘public’
- 69 | public:
- | ^~~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadheader.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadclasses.h:57:7: note: in expansion of macro ‘OCAD_EXTERN’
- 57 | class OCAD_EXTERN CADClasses
- | ^~~~~~~~~~~
- ....../lib_opencad/lib/cadtables.h:72:30: error: use of enum ‘TableType’ without previous declaration
- 72 | void AddTable( enum TableType eType, const CADHandle& hHandle );
- | ^~~~~~~~~
- In file included from ....../lib_opencad/lib/cadfile.h:35,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/cadheader.cpp:32:
- ....../lib_opencad/lib/cadclasses.h:57:19: warning: ‘CADClasses’ initialized and declared ‘extern’
- 57 | class OCAD_EXTERN CADClasses
- | ^~~~~~~~~~
- ....../lib_opencad/lib/cadclasses.h:59:1: error: expected primary-expression before ‘public’
- 59 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadclasses.h:59:1: error: expected ‘}’ before ‘public’
- ....../lib_opencad/lib/cadclasses.h:58:1: note: to match this ‘{’
- 58 | {
- | ^
- ....../lib_opencad/lib/cadclasses.h:62:1: error: expected unqualified-id before ‘public’
- 62 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadgeometry.h:114:1: error: expected declaration before ‘}’ token
- 114 | };
- | ^
- ....../lib_opencad/lib/cadgeometry.h:120:1: error: expected class-name before ‘{’ token
- 120 | {
- | ^
- ....../lib_opencad/lib/cadgeometry.h:125:18: error: ‘virtual void CADUnknown::print() const’ marked ‘override’, but does not override
- 125 | virtual void print() const override;
- | ^~~~~
- ....../lib_opencad/lib/cadfile.h:64:11: error: ‘CADClasses’ does not name a type
- 64 | const CADClasses& getClasses() const;
- | ^~~~~~~~~~
- ....../lib_opencad/lib/cadgeometry.h:126:18: error: ‘void CADUnknown::transform(const Matrix&)’ marked ‘override’, but does not override
- 126 | void transform( const Matrix& matrix ) override;
- | ^~~~~~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadgeometry.h:132:7: note: in expansion of macro ‘OCAD_EXTERN’
- 132 | class OCAD_EXTERN CADPoint3D : public CADGeometry
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadgeometry.h:132:30: error: expected initializer before ‘:’ token
- 132 | class OCAD_EXTERN CADPoint3D : public CADGeometry
- | ^
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadgeometry.h:158:7: note: in expansion of macro ‘OCAD_EXTERN’
- 158 | class OCAD_EXTERN CADLine : public CADGeometry
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadgeometry.h:158:27: error: expected initializer before ‘:’ token
- 158 | class OCAD_EXTERN CADLine : public CADGeometry
- | ^
- ....../lib_opencad/lib/cadclasses.h:64:5: error: ‘CADClass’ does not name a type
- 64 | CADClass getClassByNum(short num) const;
- | ^~~~~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadgeometry.h:180:7: note: in expansion of macro ‘OCAD_EXTERN’
- 180 | class OCAD_EXTERN CADPolyline3D : public CADGeometry
- | ^~~~~~~~~~~
- ....../lib_opencad/lib/cadclasses.h:65:33: error: non-member function ‘void print()’ cannot have cv-qualifier
- 65 | void print() const;
- | ^~~~~
- In file included from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadgeometry.h:180:33: error: expected initializer before ‘:’ token
- 180 | class OCAD_EXTERN CADPolyline3D : public CADGeometry
- | ^
- ....../lib_opencad/lib/cadclasses.h:67:1: error: expected unqualified-id before ‘protected’
- 67 | protected:
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadclasses.h:69:1: error: expected declaration before ‘}’ token
- 69 | };
- | ^
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadgeometry.h:199:7: note: in expansion of macro ‘OCAD_EXTERN’
- 199 | class OCAD_EXTERN CADLWPolyline : public CADPolyline3D
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadgeometry.h:199:33: error: expected initializer before ‘:’ token
- 199 | class OCAD_EXTERN CADLWPolyline : public CADPolyline3D
- | ^
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadgeometry.h:236:7: note: in expansion of macro ‘OCAD_EXTERN’
- 236 | class OCAD_EXTERN CADCircle : public CADPoint3D
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadgeometry.h:236:29: error: expected initializer before ‘:’ token
- 236 | class OCAD_EXTERN CADCircle : public CADPoint3D
- | ^
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadgeometry.h:253:7: note: in expansion of macro ‘OCAD_EXTERN’
- 253 | class OCAD_EXTERN CADText : public CADPoint3D
- | ^~~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadgeometry.h:253:27: error: expected initializer before ‘:’ token
- 253 | class OCAD_EXTERN CADText : public CADPoint3D
- | ^
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadgeometry.h:282:7: note: in expansion of macro ‘OCAD_EXTERN’
- 282 | class OCAD_EXTERN CADArc : public CADCircle
- | ^~~~~~~~~~~
- ....../lib_opencad/lib/cadfile.h:65:11: error: ‘CADTables’ does not name a type
- 65 | const CADTables & getTables() const;
- | ^~~~~~~~~
- In file included from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadgeometry.h:282:26: error: expected initializer before ‘:’ token
- 282 | class OCAD_EXTERN CADArc : public CADCircle
- | ^
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadheader.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadfileio.h:43:7: note: in expansion of macro ‘OCAD_EXTERN’
- 43 | class OCAD_EXTERN CADFileIO
- | ^~~~~~~~~~~
- ....../lib_opencad/lib/cadfile.h:67:1: error: expected unqualified-id before ‘public’
- 67 | public:
- | ^~~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadgeometry.h:303:7: note: in expansion of macro ‘OCAD_EXTERN’
- 303 | class OCAD_EXTERN CADEllipse : public CADArc
- | ^~~~~~~~~~~
- ....../lib_opencad/lib/cadfile.h:69:5: error: ‘virtual’ outside class declaration
- 69 | virtual size_t GetLayersCount() const;
- | ^~~~~~~
- In file included from ....../lib_opencad/lib/cadfile.h:36,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/cadheader.cpp:32:
- ....../lib_opencad/lib/cadfileio.h:43:19: warning: ‘CADFileIO’ initialized and declared ‘extern’
- 43 | class OCAD_EXTERN CADFileIO
- | ^~~~~~~~~
- In file included from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadgeometry.h:303:30: error: expected initializer before ‘:’ token
- 303 | class OCAD_EXTERN CADEllipse : public CADArc
- | ^
- ....../lib_opencad/lib/cadfile.h:69:37: error: non-member function ‘size_t GetLayersCount()’ cannot have cv-qualifier
- 69 | virtual size_t GetLayersCount() const;
- | ^~~~~
- ....../lib_opencad/lib/cadtables.h:72:53: error: ‘CADHandle’ does not name a type
- 72 | void AddTable( enum TableType eType, const CADHandle& hHandle );
- | ^~~~~~~~~
- ....../lib_opencad/lib/cadfileio.h:45:1: error: expected primary-expression before ‘public’
- 45 | public:
- | ^~~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadgeometry.h:324:7: note: in expansion of macro ‘OCAD_EXTERN’
- 324 | class OCAD_EXTERN CADSpline : public CADGeometry
- | ^~~~~~~~~~~
- ....../lib_opencad/lib/cadfileio.h:45:1: error: expected ‘}’ before ‘public’
- ....../lib_opencad/lib/cadfileio.h:44:1: note: to match this ‘{’
- 44 | {
- | ^
- In file included from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadgeometry.h:324:29: error: expected initializer before ‘:’ token
- 324 | class OCAD_EXTERN CADSpline : public CADGeometry
- | ^
- ....../lib_opencad/lib/cadfileio.h:60:1: error: expected unqualified-id before ‘public’
- 60 | public:
- | ^~~~~~
- ....../lib_opencad/lib/cadfileio.h:62:39: error: expected class-name before ‘(’ token
- 62 | virtual ~CADFileIO();
- | ^
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadgeometry.h:374:7: note: in expansion of macro ‘OCAD_EXTERN’
- 374 | class OCAD_EXTERN CADSolid : public CADPoint3D
- | ^~~~~~~~~~~
- ....../lib_opencad/lib/cadfileio.h:64:5: error: ‘virtual’ outside class declaration
- 64 | virtual const char * ReadLine() = 0;
- | ^~~~~~~
- In file included from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadgeometry.h:374:28: error: expected initializer before ‘:’ token
- 374 | class OCAD_EXTERN CADSolid : public CADPoint3D
- | ^
- ....../lib_opencad/lib/cadfileio.h:64:26: error: function ‘const char* ReadLine()’ is initialized like a variable
- 64 | virtual const char * ReadLine() = 0;
- | ^~~~~~~~
- ....../lib_opencad/lib/cadfileio.h:65:5: error: ‘virtual’ outside class declaration
- 65 | virtual bool Eof() const = 0;
- | ^~~~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadgeometry.h:395:7: note: in expansion of macro ‘OCAD_EXTERN’
- 395 | class OCAD_EXTERN CADRay : public CADPoint3D
- | ^~~~~~~~~~~
- ....../lib_opencad/lib/cadfileio.h:65:28: error: non-member function ‘bool Eof()’ cannot have cv-qualifier
- 65 | virtual bool Eof() const = 0;
- | ^~~~~
- ....../lib_opencad/lib/cadfileio.h:65:22: error: function ‘bool Eof()’ is initialized like a variable
- 65 | virtual bool Eof() const = 0;
- | ^~~
- In file included from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadgeometry.h:395:26: error: expected initializer before ‘:’ token
- 395 | class OCAD_EXTERN CADRay : public CADPoint3D
- | ^
- ....../lib_opencad/lib/cadfileio.h:66:5: error: ‘virtual’ outside class declaration
- 66 | virtual bool Open( int mode ) = 0;
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:66:22: error: function ‘bool Open(int)’ is initialized like a variable
- 66 | virtual bool Open( int mode ) = 0;
- | ^~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadgeometry.h:410:7: note: in expansion of macro ‘OCAD_EXTERN’
- 410 | class OCAD_EXTERN CADHatch : public CADGeometry
- | ^~~~~~~~~~~
- ....../lib_opencad/lib/cadfileio.h:67:5: error: ‘virtual’ outside class declaration
- 67 | virtual bool IsOpened() const;
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:67:33: error: non-member function ‘bool IsOpened()’ cannot have cv-qualifier
- 67 | virtual bool IsOpened() const;
- | ^~~~~
- In file included from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadgeometry.h:410:28: error: expected initializer before ‘:’ token
- 410 | class OCAD_EXTERN CADHatch : public CADGeometry
- | ^
- ....../lib_opencad/lib/cadfileio.h:68:5: error: ‘virtual’ outside class declaration
- 68 | virtual bool Close();
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:69:45: error: ‘SeekOrigin’ has not been declared
- 69 | virtual int Seek( long int offset, SeekOrigin origin ) = 0;
- | ^~~~~~~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadgeometry.h:420:7: note: in expansion of macro ‘OCAD_EXTERN’
- 420 | class OCAD_EXTERN CADImage : public CADGeometry
- | ^~~~~~~~~~~
- ....../lib_opencad/lib/cadfileio.h:69:5: error: ‘virtual’ outside class declaration
- 69 | virtual int Seek( long int offset, SeekOrigin origin ) = 0;
- | ^~~~~~~
- ....../lib_opencad/lib/cadfile.h:70:13: error: ‘CADLayer’ does not name a type
- 70 | virtual CADLayer& GetLayer( size_t index );
- | ^~~~~~~~
- In file included from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadgeometry.h:420:28: error: expected initializer before ‘:’ token
- 420 | class OCAD_EXTERN CADImage : public CADGeometry
- | ^
- ....../lib_opencad/lib/cadfileio.h:69:22: error: function ‘int Seek(long int, int)’ is initialized like a variable
- 69 | virtual int Seek( long int offset, SeekOrigin origin ) = 0;
- | ^~~~
- ....../lib_opencad/lib/cadfileio.h:70:5: error: ‘virtual’ outside class declaration
- 70 | virtual long int Tell() = 0;
- | ^~~~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadgeometry.h:490:7: note: in expansion of macro ‘OCAD_EXTERN’
- 490 | class OCAD_EXTERN CADMText : public CADText
- | ^~~~~~~~~~~
- ....../lib_opencad/lib/cadfileio.h:70:22: error: function ‘long int Tell()’ is initialized like a variable
- 70 | virtual long int Tell() = 0;
- | ^~~~
- In file included from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadgeometry.h:490:28: error: expected initializer before ‘:’ token
- 490 | class OCAD_EXTERN CADMText : public CADText
- | ^
- ....../lib_opencad/lib/cadfileio.h:71:5: error: ‘virtual’ outside class declaration
- 71 | virtual size_t Read( void * ptr, size_t size ) = 0;
- | ^~~~~~~
- ....../lib_opencad/lib/cadfileio.h:71:22: error: function ‘size_t Read(void*, size_t)’ is initialized like a variable
- 71 | virtual size_t Read( void * ptr, size_t size ) = 0;
- | ^~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- | ^~~~~~
- ....../lib_opencad/lib/cadgeometry.h:523:7: note: in expansion of macro ‘OCAD_EXTERN’
- 523 | class OCAD_EXTERN CADFace3D : public CADGeometry
- | ^~~~~~~~~~~
- ....../lib_opencad/lib/cadfileio.h:72:5: error: ‘virtual’ outside class declaration
- 72 | virtual size_t Write( void * ptr, size_t size ) = 0;
- | ^~~~~~~
- In file included from ....../lib_opencad/lib/cadlayer.h:34,
- from ....../lib_opencad/lib/cadtables.h:35,
- from ....../lib_opencad/lib/cadfile.h:37,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/cadgeometry.h:523:29: error: expected initializer before ‘:’ token
- 523 | class OCAD_EXTERN CADFace3D : public CADGeometry
- | ^
- ....../lib_opencad/lib/cadfileio.h:72:22: error: function ‘size_t Write(void*, size_t)’ is initialized like a variable
- 72 | virtual size_t Write( void * ptr, size_t size ) = 0;
- | ^~~~~
- ....../lib_opencad/lib/cadfileio.h:73:5: error: ‘virtual’ outside class declaration
- 73 | virtual void Rewind() = 0;
- | ^~~~~~~
- In file included from ....../lib_opencad/lib/cadheader.h:34,
- from ....../lib_opencad/lib/cadobjects.h:35,
- from ....../lib_opencad/lib/caddictionary.h:34,
- from ....../lib_opencad/lib/cadfile.h:34,
- from ....../lib_opencad/lib/opencad_api.h:34,
- from ....../lib_opencad/lib/opencad.cpp:31:
- ....../lib_opencad/lib/opencad.h:56:23: error: expected identifier before ‘extern’
- 56 | #define OCAD_EXTERN extern
- ......
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement