+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nvidia-texture-tools-2.1.0nb9/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nvidia-texture-tools-2.1.0nb9/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for nvidia-texture-tools-2.1.0nb9 [ 1%] Building C object extern/poshlib/CMakeFiles/posh.dir/posh.c.o cc1: warning: command-line option '-std=c++11' is valid for C++/ObjC++ but not for C [ 2%] Linking C static library libposh.a [ 2%] Built target posh [ 3%] Building CXX object src/nvcore/CMakeFiles/nvcore.dir/Debug.cpp.o In file included from /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:7, from /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:3: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:303:9: error: #error "GCC: Platform not supported" 303 | # error "GCC: Platform not supported" | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:163:1: note: in expansion of macro 'NVCORE_API' 163 | NVCORE_API int nvAbort(const char *exp, const char *file, int line, const char * func = NULL, const char * msg = NULL, ...) __attribute__((format (printf, 5, 6))); | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:164:1: note: in expansion of macro 'NVCORE_API' 164 | NVCORE_API void NV_CDECL nvDebugPrint( const char *msg, ... ) __attribute__((format (printf, 1, 2))); | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:197:9: note: in expansion of macro 'NVCORE_API' 197 | NVCORE_API void dumpInfo(); | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:198:9: note: in expansion of macro 'NVCORE_API' 198 | NVCORE_API void dumpCallstack( MessageHandler *messageHandler, int callstackLevelsToSkip = 0 ); | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:200:9: note: in expansion of macro 'NVCORE_API' 200 | NVCORE_API void setMessageHandler( MessageHandler * messageHandler ); | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:201:9: note: in expansion of macro 'NVCORE_API' 201 | NVCORE_API void resetMessageHandler(); | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:203:9: note: in expansion of macro 'NVCORE_API' 203 | NVCORE_API void setAssertHandler( AssertHandler * assertHanlder ); | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:204:9: note: in expansion of macro 'NVCORE_API' 204 | NVCORE_API void resetAssertHandler(); | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:206:9: note: in expansion of macro 'NVCORE_API' 206 | NVCORE_API void enableSigHandler(bool interactive); | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:207:9: note: in expansion of macro 'NVCORE_API' 207 | NVCORE_API void disableSigHandler(); | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:209:9: note: in expansion of macro 'NVCORE_API' 209 | NVCORE_API bool isDebuggerPresent(); | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:210:9: note: in expansion of macro 'NVCORE_API' 210 | NVCORE_API bool attachToDebugger(); | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:212:9: note: in expansion of macro 'NVCORE_API' 212 | NVCORE_API void terminate(int code); | ^~~~~~~~~~ In file included from /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:17, from /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:7, from /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:4: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Memory.h:46:27: error: 'NV_FORCEINLINE' does not name a type 46 | template <typename T> NV_FORCEINLINE T * malloc(size_t count) { | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Memory.h:50:27: error: 'NV_FORCEINLINE' does not name a type 50 | template <typename T> NV_FORCEINLINE T * realloc(T * ptr, size_t count) { | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Memory.h:54:27: error: 'NV_FORCEINLINE' does not name a type 54 | template <typename T> NV_FORCEINLINE void free(const T * ptr) { | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Memory.h:58:27: error: 'NV_FORCEINLINE' does not name a type 58 | template <typename T> NV_FORCEINLINE void zero(T & data) { | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:32:5: error: expected primary-expression before 'public' 32 | public: | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:32:5: error: expected '}' before 'public' /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:30: note: to match this '{' 31 | class NVCORE_CLASS Array { | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:31: error: expected ';' before 'public' 31 | class NVCORE_CLASS Array { | ^ | ; 32 | public: | ~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:36:9: error: 'NV_FORCEINLINE' does not name a type 36 | NV_FORCEINLINE Array() : m_buffer(NULL), m_capacity(0), m_size(0) {} | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:39:9: error: 'NV_FORCEINLINE' does not name a type 39 | NV_FORCEINLINE Array(const Array & a) : m_buffer(NULL), m_capacity(0), m_size(0) { | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:44:9: error: 'NV_FORCEINLINE' does not name a type 44 | NV_FORCEINLINE Array(const T * ptr, uint num) : m_buffer(NULL), m_capacity(0), m_size(0) { | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:49:9: error: 'NV_FORCEINLINE' does not name a type 49 | NV_FORCEINLINE explicit Array(uint capacity) : m_buffer(NULL), m_capacity(0), m_size(0) { | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:54:9: error: 'NV_FORCEINLINE' does not name a type 54 | NV_FORCEINLINE ~Array() { | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:61:9: error: 'NV_FORCEINLINE' does not name a type 61 | NV_FORCEINLINE const T & operator[]( uint index ) const | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:66:9: error: 'NV_FORCEINLINE' does not name a type 66 | NV_FORCEINLINE const T & at( uint index ) const | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:73:9: error: 'NV_FORCEINLINE' does not name a type 73 | NV_FORCEINLINE T & operator[] ( uint index ) | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:78:9: error: 'NV_FORCEINLINE' does not name a type 78 | NV_FORCEINLINE T & at( uint index ) | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:85:9: error: 'NV_FORCEINLINE' does not name a type 85 | NV_FORCEINLINE uint size() const { return m_size; } | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:88:9: error: 'NV_FORCEINLINE' does not name a type 88 | NV_FORCEINLINE uint count() const { return m_size; } | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:91:9: error: 'NV_FORCEINLINE' does not name a type 91 | NV_FORCEINLINE uint capacity() const { return m_capacity; } | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:94:9: error: 'NV_FORCEINLINE' does not name a type 94 | NV_FORCEINLINE const T * buffer() const { return m_buffer; } | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:97:9: error: 'NV_FORCEINLINE' does not name a type 97 | NV_FORCEINLINE T * buffer() { return m_buffer; } | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:100:9: error: 'NV_FORCEINLINE' does not name a type 100 | NV_FORCEINLINE T * begin() { return m_buffer; } | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:101:9: error: 'NV_FORCEINLINE' does not name a type 101 | NV_FORCEINLINE T * end() { return m_buffer + m_size; } | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:102:9: error: 'NV_FORCEINLINE' does not name a type 102 | NV_FORCEINLINE const T * begin() const { return m_buffer; } | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:103:9: error: 'NV_FORCEINLINE' does not name a type 103 | NV_FORCEINLINE const T * end() const { return m_buffer + m_size; } | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:106:9: error: 'NV_FORCEINLINE' does not name a type 106 | NV_FORCEINLINE bool isEmpty() const { return m_size == 0; } | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:109:9: error: 'NV_FORCEINLINE' does not name a type 109 | NV_FORCEINLINE bool isNull() const { return m_buffer == NULL; } | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:112:9: error: 'T' does not name a type 112 | T & append(); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:113:31: error: 'T' does not name a type 113 | void push_back( const T & val ); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:114:30: error: 'T' does not name a type 114 | void pushBack( const T & val ); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:115:15: error: 'T' was not declared in this scope 115 | Array<T> & append( const T & val ); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:115:9: error: 'Array<<expression error> >' does not name a type 115 | Array<T> & append( const T & val ); | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:116:15: error: 'T' was not declared in this scope 116 | Array<T> & operator<< ( T & t ); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:116:9: error: 'Array<<expression error> >' does not name a type 116 | Array<T> & operator<< ( T & t ); | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:120:15: error: 'T' does not name a type 120 | const T & back() const; | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:121:9: error: 'T' does not name a type 121 | T & back(); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:122:15: error: 'T' does not name a type 122 | const T & front() const; | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:123:9: error: 'T' does not name a type 123 | T & front(); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:124:29: error: 'T' does not name a type 124 | bool contains(const T & e) const; | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:124:36: error: non-member function 'bool nv::contains(const int&)' cannot have cv-qualifier 124 | bool contains(const T & e) const; | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:125:25: error: 'T' does not name a type 125 | bool find(const T & element, uint * indexPtr) const; | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:125:55: error: non-member function 'bool nv::find(const int&, uint*)' cannot have cv-qualifier 125 | bool find(const T & element, uint * indexPtr) const; | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:126:25: error: 'T' does not name a type 126 | bool find(const T & element, uint begin, uint end, uint * indexPtr) const; | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:126:77: error: non-member function 'bool nv::find(const int&, uint, uint, uint*)' cannot have cv-qualifier 126 | bool find(const T & element, uint begin, uint end, uint * indexPtr) const; | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:128:27: error: 'T' does not name a type 128 | bool remove(const T & element); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:129:41: error: 'T' does not name a type 129 | void insertAt(uint index, const T & val = T()); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:129:51: error: 'T' was not declared in this scope 129 | void insertAt(uint index, const T & val = T()); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:130:33: error: 'T' was not declared in this scope 130 | void append(const Array<T> & other); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:130:27: error: 'Array<<expression error> >' does not name a type 130 | void append(const Array<T> & other); | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:131:27: error: 'T' does not name a type 131 | void append(const T other[], uint count); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:134:42: error: 'T' does not name a type 134 | void resize(uint new_size, const T & elem); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:135:25: error: 'T' does not name a type 135 | void fill(const T & elem); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:139:25: error: 'T' does not name a type 139 | void copy(const T * data, uint count); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:140:15: error: 'T' was not declared in this scope 140 | Array<T> & operator=( const Array<T> & a ); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:140:9: error: 'Array<<expression error> >' does not name a type 140 | Array<T> & operator=( const Array<T> & a ); | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:141:9: error: 'T' does not name a type 141 | T * release(); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:147:9: error: 'NV_FORCEINLINE' does not name a type 147 | NV_FORCEINLINE PseudoIndex start() const { return 0; } | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:148:9: error: 'NV_FORCEINLINE' does not name a type 148 | NV_FORCEINLINE bool isDone(const PseudoIndex & i) const { nvDebugCheck(i <= this->m_size); return i == this->m_size; } | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:149:9: error: 'NV_FORCEINLINE' does not name a type 149 | NV_FORCEINLINE void advance(PseudoIndex & i) const { nvDebugCheck(i <= this->m_size); i++; } | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:162:9: error: 'friend' used outside of class 162 | friend Stream & operator<< ( Stream & s, Array<Typ> & p ); | ^~~~~~ | ------ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:162:50: error: expected identifier 162 | friend Stream & operator<< ( Stream & s, Array<Typ> & p ); | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:162:61: error: expected unqualified-id before '&' token 162 | friend Stream & operator<< ( Stream & s, Array<Typ> & p ); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:162:60: error: expected ')' before '&' token 162 | friend Stream & operator<< ( Stream & s, Array<Typ> & p ); | ~ ^~ | ) /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:162:63: error: expected initializer before 'p' 162 | friend Stream & operator<< ( Stream & s, Array<Typ> & p ); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:165:9: error: 'friend' used outside of class 165 | friend void swap(Array<Typ> & a, Array<Typ> & b); | ^~~~~~ | ------ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:165:21: error: variable or field 'swap' declared void 165 | friend void swap(Array<Typ> & a, Array<Typ> & b); | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:165:39: error: 'a' was not declared in this scope 165 | friend void swap(Array<Typ> & a, Array<Typ> & b); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:165:55: error: 'b' was not declared in this scope 165 | friend void swap(Array<Typ> & a, Array<Typ> & b); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:168:5: error: expected unqualified-id before 'protected' 168 | protected: | ^~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:173:9: error: 'T' does not name a type 173 | T * m_buffer; | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:180:1: error: expected declaration before '}' token 180 | } // nv namespace | ^ In file included from /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:9: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:14:24: error: variable 'nv::DLL_EXPORT_CLASS nv::Stream' has initializer but incomplete type 14 | class NVCORE_CLASS Stream { | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:15:5: error: expected primary-expression before 'public' 15 | public: | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:15:5: error: expected '}' before 'public' /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:14:31: note: to match this '{' 14 | class NVCORE_CLASS Stream { | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:15:5: error: expected ',' or ';' before 'public' 15 | public: | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:23:16: error: 'ByteOrder' does not name a type 23 | static ByteOrder getSystemByteOrder() { | ^~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:33:9: error: ISO C++ forbids declaration of 'Stream' with no type [-fpermissive] 33 | Stream() : m_byteOrder(LittleEndian) { } | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h: In function 'int nv::Stream()': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:33:20: error: only constructors take member initializers 33 | Stream() : m_byteOrder(LittleEndian) { } | ^~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:33:32: error: 'LittleEndian' was not declared in this scope 33 | Stream() : m_byteOrder(LittleEndian) { } | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:33:48: warning: no return statement in function returning non-void [-Wreturn-type] 33 | Stream() : m_byteOrder(LittleEndian) { } | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:36:17: error: declaration of '~ nv::Stream' as non-member 36 | virtual ~Stream() {} | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:39:14: error: variable or field 'setByteOrder' declared void 39 | void setByteOrder(ByteOrder bo) { m_byteOrder = bo; } | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:39:27: error: 'ByteOrder' was not declared in this scope 39 | void setByteOrder(ByteOrder bo) { m_byteOrder = bo; } | ^~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:42:9: error: 'ByteOrder' does not name a type 42 | ByteOrder byteOrder() const { return m_byteOrder; } | ^~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:46:9: error: 'virtual' outside class declaration 46 | virtual uint serialize( void * data, uint len ) = 0; | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:46:22: error: function 'uint nv::serialize(void*, uint)' is initialized like a variable 46 | virtual uint serialize( void * data, uint len ) = 0; | ^~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:49:9: error: 'virtual' outside class declaration 49 | virtual void seek( uint pos ) = 0; | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:49:22: error: function 'void nv::seek(uint)' is initialized like a variable 49 | virtual void seek( uint pos ) = 0; | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:52:9: error: 'virtual' outside class declaration 52 | virtual uint tell() const = 0; | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:52:29: error: non-member function 'uint nv::tell()' cannot have cv-qualifier 52 | virtual uint tell() const = 0; | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:52:22: error: function 'uint nv::tell()' is initialized like a variable 52 | virtual uint tell() const = 0; | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:55:9: error: 'virtual' outside class declaration 55 | virtual uint size() const = 0; | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:55:29: error: non-member function 'uint nv::size()' cannot have cv-qualifier 55 | virtual uint size() const = 0; | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:55:22: error: function 'uint nv::size()' is initialized like a variable 55 | virtual uint size() const = 0; | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:58:9: error: 'virtual' outside class declaration 58 | virtual bool isError() const = 0; | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:58:32: error: non-member function 'bool nv::isError()' cannot have cv-qualifier 58 | virtual bool isError() const = 0; | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:58:22: error: function 'bool nv::isError()' is initialized like a variable 58 | virtual bool isError() const = 0; | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:61:9: error: 'virtual' outside class declaration 61 | virtual void clearError() = 0; | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:61:22: error: function 'void nv::clearError()' is initialized like a variable 61 | virtual void clearError() = 0; | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:64:9: error: 'virtual' outside class declaration 64 | virtual bool isAtEnd() const = 0; | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:64:32: error: non-member function 'bool nv::isAtEnd()' cannot have cv-qualifier 64 | virtual bool isAtEnd() const = 0; | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:64:22: error: function 'bool nv::isAtEnd()' is initialized like a variable 64 | virtual bool isAtEnd() const = 0; | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:67:9: error: 'virtual' outside class declaration 67 | virtual bool isSeekable() const = 0; | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:67:35: error: non-member function 'bool nv::isSeekable()' cannot have cv-qualifier 67 | virtual bool isSeekable() const = 0; | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:67:22: error: function 'bool nv::isSeekable()' is initialized like a variable 67 | virtual bool isSeekable() const = 0; | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:70:9: error: 'virtual' outside class declaration 70 | virtual bool isLoading() const = 0; | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:70:34: error: non-member function 'bool nv::isLoading()' cannot have cv-qualifier 70 | virtual bool isLoading() const = 0; | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:70:22: error: function 'bool nv::isLoading()' is initialized like a variable 70 | virtual bool isLoading() const = 0; | ^~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:73:9: error: 'virtual' outside class declaration 73 | virtual bool isSaving() const = 0; | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:73:33: error: non-member function 'bool nv::isSaving()' cannot have cv-qualifier 73 | virtual bool isSaving() const = 0; | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:73:22: error: function 'bool nv::isSaving()' is initialized like a variable 73 | virtual bool isSaving() const = 0; | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:80:9: error: 'friend' used outside of class 80 | friend Stream & operator<<( Stream & s, bool & c ) { | ^~~~~~ | ------ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:80:16: error: 'Stream' does not name a type 80 | friend Stream & operator<<( Stream & s, bool & c ) { | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:92:9: error: 'friend' used outside of class 92 | friend Stream & operator<<( Stream & s, char & c ) { | ^~~~~~ | ------ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:92:16: error: 'Stream' does not name a type 92 | friend Stream & operator<<( Stream & s, char & c ) { | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:97:9: error: 'friend' used outside of class 97 | friend Stream & operator<<( Stream & s, uint8 & c ) { | ^~~~~~ | ------ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:97:16: error: 'Stream' does not name a type 97 | friend Stream & operator<<( Stream & s, uint8 & c ) { | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:102:9: error: 'friend' used outside of class 102 | friend Stream & operator<<( Stream & s, int8 & c ) { | ^~~~~~ | ------ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:102:16: error: 'Stream' does not name a type 102 | friend Stream & operator<<( Stream & s, int8 & c ) { | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:107:9: error: 'friend' used outside of class 107 | friend Stream & operator<<( Stream & s, uint16 & c ) { | ^~~~~~ | ------ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:107:16: error: 'Stream' does not name a type 107 | friend Stream & operator<<( Stream & s, uint16 & c ) { | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:111:9: error: 'friend' used outside of class 111 | friend Stream & operator<<( Stream & s, int16 & c ) { | ^~~~~~ | ------ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:111:16: error: 'Stream' does not name a type 111 | friend Stream & operator<<( Stream & s, int16 & c ) { | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:115:9: error: 'friend' used outside of class 115 | friend Stream & operator<<( Stream & s, uint32 & c ) { | ^~~~~~ | ------ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:115:16: error: 'Stream' does not name a type 115 | friend Stream & operator<<( Stream & s, uint32 & c ) { | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:119:9: error: 'friend' used outside of class 119 | friend Stream & operator<<( Stream & s, int32 & c ) { | ^~~~~~ | ------ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:119:16: error: 'Stream' does not name a type 119 | friend Stream & operator<<( Stream & s, int32 & c ) { | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:123:9: error: 'friend' used outside of class 123 | friend Stream & operator<<( Stream & s, uint64 & c ) { | ^~~~~~ | ------ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:123:16: error: 'Stream' does not name a type 123 | friend Stream & operator<<( Stream & s, uint64 & c ) { | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:127:9: error: 'friend' used outside of class 127 | friend Stream & operator<<( Stream & s, int64 & c ) { | ^~~~~~ | ------ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:127:16: error: 'Stream' does not name a type 127 | friend Stream & operator<<( Stream & s, int64 & c ) { | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:131:9: error: 'friend' used outside of class 131 | friend Stream & operator<<( Stream & s, float & c ) { | ^~~~~~ | ------ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:131:16: error: 'Stream' does not name a type 131 | friend Stream & operator<<( Stream & s, float & c ) { | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:135:9: error: 'friend' used outside of class 135 | friend Stream & operator<<( Stream & s, double & c ) { | ^~~~~~ | ------ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:135:16: error: 'Stream' does not name a type 135 | friend Stream & operator<<( Stream & s, double & c ) { | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:140:5: error: expected unqualified-id before 'protected' 140 | protected: | ^~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:156:5: error: expected unqualified-id before 'private' 156 | private: | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:162:1: error: expected declaration before '}' token 162 | } // nv namespace | ^ In file included from /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:10: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:228:39: error: expected ',' or '...' before 'ptr' 228 | void construct_range(T * restrict ptr, uint new_size, uint old_size) { | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h: In function 'void nv::construct_range(T*)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:229:23: error: 'old_size' was not declared in this scope; did you mean 'm_size'? 229 | for (uint i = old_size; i < new_size; i++) { | ^~~~~~~~ | m_size /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:229:37: error: 'new_size' was not declared in this scope; did you mean 'resize'? 229 | for (uint i = old_size; i < new_size; i++) { | ^~~~~~~~ | resize /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:230:17: error: 'ptr' was not declared in this scope 230 | new(ptr+i) T; // placement new | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:235:39: error: expected ',' or '...' before 'ptr' 235 | void construct_range(T * restrict ptr, uint new_size, uint old_size, const T & elem) { | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:235:10: error: redefinition of 'template<class T> void nv::construct_range(T*)' 235 | void construct_range(T * restrict ptr, uint new_size, uint old_size, const T & elem) { | ^~~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:228:10: note: 'template<class T> void nv::construct_range(T*)' previously declared here 228 | void construct_range(T * restrict ptr, uint new_size, uint old_size) { | ^~~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:242:39: error: expected ',' or '...' before 'ptr' 242 | void construct_range(T * restrict ptr, uint new_size, uint old_size, const T * src) { | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:242:10: error: redefinition of 'template<class T> void nv::construct_range(T*)' 242 | void construct_range(T * restrict ptr, uint new_size, uint old_size, const T * src) { | ^~~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:228:10: note: 'template<class T> void nv::construct_range(T*)' previously declared here 228 | void construct_range(T * restrict ptr, uint new_size, uint old_size) { | ^~~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:249:37: error: expected ',' or '...' before 'ptr' 249 | void destroy_range(T * restrict ptr, uint new_size, uint old_size) { | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h: In function 'void nv::destroy_range(T*)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:250:23: error: 'new_size' was not declared in this scope; did you mean 'resize'? 250 | for (uint i = new_size; i < old_size; i++) { | ^~~~~~~~ | resize /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:250:37: error: 'old_size' was not declared in this scope; did you mean 'm_size'? 250 | for (uint i = new_size; i < old_size; i++) { | ^~~~~~~~ | m_size /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:251:14: error: 'ptr' was not declared in this scope 251 | (ptr+i)->~T(); // Explicit call to the destructor | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:256:28: error: expected ',' or '...' before 'dst' 256 | void fill(T * restrict dst, uint count, const T & value) { | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h: In function 'void nv::fill(T*)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:257:30: error: 'count' was not declared in this scope 257 | for (uint i = 0; i < count; i++) { | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:258:13: error: 'dst' was not declared in this scope 258 | dst[i] = value; | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:258:22: error: 'value' was not declared in this scope 258 | dst[i] = value; | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:263:34: error: expected ',' or '...' before 'dst' 263 | void copy_range(T * restrict dst, const T * restrict src, uint count) { | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h: In function 'void nv::copy_range(T*)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:264:30: error: 'count' was not declared in this scope 264 | for (uint i = 0; i < count; i++) { | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:265:13: error: 'dst' was not declared in this scope 265 | dst[i] = src[i]; | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:265:22: error: 'src' was not declared in this scope 265 | dst[i] = src[i]; | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:270:53: error: expected ',' or '...' before 'ptr' 270 | bool find(const T & element, const T * restrict ptr, uint begin, uint end, uint * index) { | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h: In function 'bool nv::find(const T&, const T*)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:271:23: error: 'begin' was not declared in this scope 271 | for (uint i = begin; i < end; i++) { | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:271:34: error: 'end' was not declared in this scope 271 | for (uint i = begin; i < end; i++) { | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:272:17: error: 'ptr' was not declared in this scope 272 | if (ptr[i] == element) { | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:273:21: error: 'index' was not declared in this scope; did you mean 'index_t'? 273 | if (index != NULL) *index = i; | ^~~~~ | index_t /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:20:5: error: 'NV_FORCEINLINE' does not name a type 20 | NV_FORCEINLINE T & Array<T>::append() | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:34:5: error: 'NV_FORCEINLINE' does not name a type 34 | NV_FORCEINLINE void Array<T>::push_back( const T & val ) | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:67:5: error: 'NV_FORCEINLINE' does not name a type 67 | NV_FORCEINLINE void Array<T>::pushBack( const T & val ) | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:72:5: error: 'NV_FORCEINLINE' does not name a type 72 | NV_FORCEINLINE Array<T> & Array<T>::append( const T & val ) | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:80:5: error: 'NV_FORCEINLINE' does not name a type 80 | NV_FORCEINLINE Array<T> & Array<T>::operator<< ( T & t ) | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:88:5: error: 'NV_FORCEINLINE' does not name a type 88 | NV_FORCEINLINE void Array<T>::pop_back() | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:94:5: error: 'NV_FORCEINLINE' does not name a type 94 | NV_FORCEINLINE void Array<T>::popBack(uint count) | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:101:5: error: 'NV_FORCEINLINE' does not name a type 101 | NV_FORCEINLINE void Array<T>::popFront(uint count) | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:122:5: error: 'NV_FORCEINLINE' does not name a type 122 | NV_FORCEINLINE const T & Array<T>::back() const | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:130:5: error: 'NV_FORCEINLINE' does not name a type 130 | NV_FORCEINLINE T & Array<T>::back() | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:138:5: error: 'NV_FORCEINLINE' does not name a type 138 | NV_FORCEINLINE const T & Array<T>::front() const | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:146:5: error: 'NV_FORCEINLINE' does not name a type 146 | NV_FORCEINLINE T & Array<T>::front() | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:154:5: error: 'NV_FORCEINLINE' does not name a type 154 | NV_FORCEINLINE bool Array<T>::contains(const T & e) const | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:161:5: error: 'NV_FORCEINLINE' does not name a type 161 | NV_FORCEINLINE bool Array<T>::find(const T & element, uint * indexPtr) const | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:168:5: error: 'NV_FORCEINLINE' does not name a type 168 | NV_FORCEINLINE bool Array<T>::find(const T & element, uint begin, uint end, uint * indexPtr) const | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:176:10: error: variable template-id 'Array<T>' in nested-name-specifier 176 | void Array<T>::removeAt(uint index) | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template<class T> nv::DLL_EXPORT_CLASS nv::Array<T>' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: In function 'void nv::removeAt(uint)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:184:13: error: 'm_buffer' was not declared in this scope 184 | m_buffer[index].~T(); | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:193:10: error: variable template-id 'Array<T>' in nested-name-specifier 193 | bool Array<T>::remove(const T & element) | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template<class T> nv::DLL_EXPORT_CLASS nv::Array<T>' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:205:10: error: variable template-id 'Array<T>' in nested-name-specifier 205 | void Array<T>::insertAt(uint index, const T & val/*=T()*/) | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template<class T> nv::DLL_EXPORT_CLASS nv::Array<T>' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: In function 'void nv::insertAt(uint, const T&)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:209:9: error: there are no arguments to 'setArraySize' that depend on a template parameter, so a declaration of 'setArraySize' must be available [-fpermissive] 209 | setArraySize(m_size + 1); | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:209:9: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:212:21: error: 'm_buffer' was not declared in this scope 212 | memmove(m_buffer+index+1, m_buffer+index, sizeof(T) * (m_size - 1 - index)); | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:216:13: error: 'm_buffer' was not declared in this scope 216 | new(m_buffer+index) T(val); | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:221:5: error: 'NV_FORCEINLINE' does not name a type 221 | NV_FORCEINLINE void Array<T>::append(const Array<T> & other) | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:228:10: error: variable template-id 'Array<T>' in nested-name-specifier 228 | void Array<T>::append(const T other[], uint count) | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template<class T> nv::DLL_EXPORT_CLASS nv::Array<T>' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: In function 'void nv::append(const T*, uint)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:233:13: error: there are no arguments to 'setArraySize' that depend on a template parameter, so a declaration of 'setArraySize' must be available [-fpermissive] 233 | setArraySize(m_size + count); | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:236:21: error: 'm_buffer' was not declared in this scope 236 | new(m_buffer + old_size + i) T(other[i]); | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:244:10: error: variable template-id 'Array<T>' in nested-name-specifier 244 | void Array<T>::replaceWithLast(uint index) | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template<class T> nv::DLL_EXPORT_CLASS nv::Array<T>' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: In function 'void nv::replaceWithLast(uint)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:247:18: error: 'm_buffer' was not declared in this scope 247 | nv::swap(m_buffer[index], back()); // @@ Is this OK when index == size-1? | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:247:35: error: there are no arguments to 'back' that depend on a template parameter, so a declaration of 'back' must be available [-fpermissive] 247 | nv::swap(m_buffer[index], back()); // @@ Is this OK when index == size-1? | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:254:10: error: variable template-id 'Array<T>' in nested-name-specifier 254 | void Array<T>::resize(uint new_size) | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template<class T> nv::DLL_EXPORT_CLASS nv::Array<T>' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: In function 'void nv::resize(uint)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:259:23: error: 'm_buffer' was not declared in this scope 259 | destroy_range(m_buffer, new_size, old_size); | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:261:9: error: there are no arguments to 'setArraySize' that depend on a template parameter, so a declaration of 'setArraySize' must be available [-fpermissive] 261 | setArraySize(new_size); | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:271:10: error: variable template-id 'Array<T>' in nested-name-specifier 271 | void Array<T>::resize(uint new_size, const T & elem) | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template<class T> nv::DLL_EXPORT_CLASS nv::Array<T>' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: In function 'void nv::resize(uint, const T&)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:273:30: error: 'm_buffer' was not declared in this scope 273 | nvDebugCheck(&elem < m_buffer || &elem > m_buffer+m_size); | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:21:18: note: in definition of macro 'nvNoAssert' 21 | (void)sizeof(exp); \ | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:273:9: note: in expansion of macro 'nvDebugCheck' 273 | nvDebugCheck(&elem < m_buffer || &elem > m_buffer+m_size); | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:278:23: error: 'm_buffer' was not declared in this scope 278 | destroy_range(m_buffer, new_size, old_size); | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:280:9: error: there are no arguments to 'setArraySize' that depend on a template parameter, so a declaration of 'setArraySize' must be available [-fpermissive] 280 | setArraySize(new_size); | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:288:10: error: variable template-id 'Array<T>' in nested-name-specifier 288 | void Array<T>::fill(const T & elem) | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template<class T> nv::DLL_EXPORT_CLASS nv::Array<T>' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: In function 'void nv::fill(const T&)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:290:14: error: 'm_buffer' was not declared in this scope 290 | fill(m_buffer, m_size, elem); | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:295:5: error: 'NV_FORCEINLINE' does not name a type 295 | NV_FORCEINLINE void Array<T>::clear() | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:307:5: error: 'NV_FORCEINLINE' does not name a type 307 | NV_FORCEINLINE void Array<T>::shrink() | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:316:5: error: 'NV_FORCEINLINE' does not name a type 316 | NV_FORCEINLINE void Array<T>::reserve(uint desired_size) | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:325:5: error: 'NV_FORCEINLINE' does not name a type 325 | NV_FORCEINLINE void Array<T>::copy(const T * data, uint count) | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:348:5: error: 'NV_FORCEINLINE' does not name a type 348 | NV_FORCEINLINE Array<T> & Array<T>::operator=( const Array<T> & a ) | ^~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:356:9: error: variable template-id 'Array<T>' in nested-name-specifier 356 | T * Array<T>::release() { | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template<class T> nv::DLL_EXPORT_CLASS nv::Array<T>' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: In function 'T* nv::release()': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:357:19: error: 'm_buffer' was not declared in this scope 357 | T * tmp = m_buffer; | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:368:17: error: variable template-id 'Array<T>' in nested-name-specifier 368 | inline void Array<T>::setArraySize(uint new_size) { | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template<class T> nv::DLL_EXPORT_CLASS nv::Array<T>' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:388:17: error: variable template-id 'Array<T>' in nested-name-specifier 388 | inline void Array<T>::setArrayCapacity(uint new_capacity) { | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template<class T> nv::DLL_EXPORT_CLASS nv::Array<T>' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: In function 'void nv::setArrayCapacity(uint)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:393:17: error: 'm_buffer' was not declared in this scope 393 | if (m_buffer != NULL) { | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:394:23: error: expected primary-expression before '>' token 394 | free<T>(m_buffer); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:400:13: error: 'm_buffer' was not declared in this scope 400 | m_buffer = realloc<T>(m_buffer, new_capacity); | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:400:33: error: expected primary-expression before '>' token 400 | m_buffer = realloc<T>(m_buffer, new_capacity); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:408:12: error: 'Stream' does not name a type 408 | inline Stream & operator<< ( Stream & s, Array<Typ> & p ) | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:428:17: error: variable or field 'swap' declared void 428 | inline void swap(Array<Typ> & a, Array<Typ> & b) | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:428:35: error: 'a' was not declared in this scope 428 | inline void swap(Array<Typ> & a, Array<Typ> & b) | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:428:51: error: 'b' was not declared in this scope 428 | inline void swap(Array<Typ> & a, Array<Typ> & b) | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type; did you mean 'DLL_EXPORT_CLASS'? 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:21:5: note: in expansion of macro 'NVCORE_API' 21 | NVCORE_API uint strHash(const char * str, uint h) NV_PURE; | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type; did you mean 'DLL_EXPORT_CLASS'? 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:38:5: note: in expansion of macro 'NVCORE_API' 38 | NVCORE_API uint strLen(const char * str) NV_PURE; // Asserts on NULL strings. | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type; did you mean 'DLL_EXPORT_CLASS'? 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:40:5: note: in expansion of macro 'NVCORE_API' 40 | NVCORE_API int strDiff(const char * s1, const char * s2) NV_PURE; // Asserts on NULL strings. | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type; did you mean 'DLL_EXPORT_CLASS'? 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:41:5: note: in expansion of macro 'NVCORE_API' 41 | NVCORE_API int strCaseDiff(const char * s1, const char * s2) NV_PURE; // Asserts on NULL strings. | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type; did you mean 'DLL_EXPORT_CLASS'? 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:42:5: note: in expansion of macro 'NVCORE_API' 42 | NVCORE_API bool strEqual(const char * s1, const char * s2) NV_PURE; // Accepts NULL strings. | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type; did you mean 'DLL_EXPORT_CLASS'? 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:43:5: note: in expansion of macro 'NVCORE_API' 43 | NVCORE_API bool strCaseEqual(const char * s1, const char * s2) NV_PURE; // Accepts NULL strings. | ^~~~~~~~~~ In file included from /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:5: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: In member function 'bool nv::Equal<const char*>::operator()(const char*, const char*) const': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:46:72: error: 'strEqual' was not declared in this scope; did you mean 'Equal'? 46 | bool operator()(const char * a, const char * b) const { return strEqual(a, b); } | ^~~~~~~~ | Equal /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type; did you mean 'DLL_EXPORT_CLASS'? 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:49:5: note: in expansion of macro 'NVCORE_API' 49 | NVCORE_API bool strBeginsWith(const char * dst, const char * prefix) NV_PURE; | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type; did you mean 'DLL_EXPORT_CLASS'? 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:50:5: note: in expansion of macro 'NVCORE_API' 50 | NVCORE_API bool strEndsWith(const char * dst, const char * suffix) NV_PURE; | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type; did you mean 'DLL_EXPORT_CLASS'? 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:53:5: note: in expansion of macro 'NVCORE_API' 53 | NVCORE_API void strCpy(char * dst, uint size, const char * src); | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type; did you mean 'DLL_EXPORT_CLASS'? 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:54:5: note: in expansion of macro 'NVCORE_API' 54 | NVCORE_API void strCpy(char * dst, uint size, const char * src, uint len); | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type; did you mean 'DLL_EXPORT_CLASS'? 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:55:5: note: in expansion of macro 'NVCORE_API' 55 | NVCORE_API void strCat(char * dst, uint size, const char * src); | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type; did you mean 'DLL_EXPORT_CLASS'? 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:57:5: note: in expansion of macro 'NVCORE_API' 57 | NVCORE_API const char * strSkipWhiteSpace(const char * str); | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type; did you mean 'DLL_EXPORT_CLASS'? 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:58:5: note: in expansion of macro 'NVCORE_API' 58 | NVCORE_API char * strSkipWhiteSpace(char * str); | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type; did you mean 'DLL_EXPORT_CLASS'? 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:60:5: note: in expansion of macro 'NVCORE_API' 60 | NVCORE_API bool strMatch(const char * str, const char * pat) NV_PURE; | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:10:20: error: 'DLL_EXPORT' does not name a type; did you mean 'DLL_EXPORT_CLASS'? 10 | #define NVCORE_API DLL_EXPORT | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:62:5: note: in expansion of macro 'NVCORE_API' 62 | NVCORE_API bool isNumber(const char * str) NV_PURE; | ^~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:93:24: error: variable 'nv::DLL_EXPORT_CLASS nv::StringBuilder' has initializer but incomplete type 93 | class NVCORE_CLASS StringBuilder | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:95:5: error: expected primary-expression before 'public' 95 | public: | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:95:5: error: expected '}' before 'public' /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:94:5: note: to match this '{' 94 | { | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:95:5: error: expected ',' or ';' before 'public' 95 | public: | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:98:18: error: ISO C++ forbids declaration of 'StringBuilder' with no type [-fpermissive] 98 | explicit StringBuilder( uint size_hint ); | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:98:9: error: 'explicit' outside class declaration 98 | explicit StringBuilder( uint size_hint ); | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:99:40: error: expected constructor, destructor, or type conversion before ';' token 99 | StringBuilder(const char * str); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:100:50: error: expected constructor, destructor, or type conversion before ';' token 100 | StringBuilder(const char * str, uint len); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:101:29: error: 'StringBuilder' does not name a type 101 | StringBuilder(const StringBuilder & other); | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:101:51: error: expected constructor, destructor, or type conversion before ';' token 101 | StringBuilder(const StringBuilder & other); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:103:23: error: expected class-name before '(' token 103 | ~StringBuilder(); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:105:9: error: 'StringBuilder' does not name a type 105 | StringBuilder & format( const char * format, ... ) __attribute__((format (printf, 2, 3))); | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:106:9: error: 'StringBuilder' does not name a type 106 | StringBuilder & formatList( const char * format, va_list arg ); | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:108:9: error: 'StringBuilder' does not name a type 108 | StringBuilder & append(const char * str); | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:109:17: error: 'StringBuilder' does not name a type 109 | StringBuilder & append(const char * str, uint len); | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:110:9: error: 'StringBuilder' does not name a type 110 | StringBuilder & appendFormat(const char * format, ...) __attribute__((format (printf, 2, 3))); | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:111:9: error: 'StringBuilder' does not name a type 111 | StringBuilder & appendFormatList(const char * format, va_list arg); | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:113:9: error: 'StringBuilder' does not name a type 113 | StringBuilder & appendSpace(uint n); | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:115:9: error: 'StringBuilder' does not name a type 115 | StringBuilder & number( int i, int base = 10 ); | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:116:9: error: 'StringBuilder' does not name a type 116 | StringBuilder & number( uint i, int base = 10 ); | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:118:9: error: 'StringBuilder' does not name a type 118 | StringBuilder & reserve(uint size_hint); | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:119:9: error: 'StringBuilder' does not name a type 119 | StringBuilder & copy(const char * str); | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:120:9: error: 'StringBuilder' does not name a type 120 | StringBuilder & copy(const char * str, uint len); | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:121:9: error: 'StringBuilder' does not name a type 121 | StringBuilder & copy(const StringBuilder & str); | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:123:9: error: 'StringBuilder' does not name a type 123 | StringBuilder & toLower(); | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:124:9: error: 'StringBuilder' does not name a type 124 | StringBuilder & toUpper(); | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:126:41: error: non-member function 'bool nv::endsWith(const char*)' cannot have cv-qualifier 126 | bool endsWith(const char * str) const; | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:127:43: error: non-member function 'bool nv::beginsWith(const char*)' cannot have cv-qualifier 127 | bool beginsWith(const char * str) const; | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:132:23: error: non-member function 'bool nv::isNull()' cannot have cv-qualifier 132 | bool isNull() const { return m_size == 0; } | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:137:28: error: non-member function 'const char* nv::str()' cannot have cv-qualifier 137 | const char * str() const { return m_str; } | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: In function 'const char* nv::str()': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:137:43: error: 'm_str' was not declared in this scope; did you mean 'str'? 137 | const char * str() const { return m_str; } | ^~~~~ | str /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:138:16: error: ambiguating new declaration of 'char* nv::str()' 138 | char * str() { return m_str; } | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:137:22: note: old declaration 'const char* nv::str()' 137 | const char * str() const { return m_str; } | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: In function 'char* nv::str()': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:138:31: error: 'm_str' was not declared in this scope; did you mean 'str'? 138 | char * str() { return m_str; } | ^~~~~ | str /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:143:9: error: 'StringBuilder' does not name a type 143 | StringBuilder & operator=( const StringBuilder & s ) { | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:148:9: error: 'StringBuilder' does not name a type 148 | StringBuilder & operator=( const char * s ) { | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:153:32: error: 'StringBuilder' does not name a type 153 | bool operator==( const StringBuilder & s ) const { | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:153:52: error: non-member function 'bool nv::operator==(const int&)' cannot have cv-qualifier 153 | bool operator==( const StringBuilder & s ) const { | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:153:14: error: 'bool nv::operator==(const int&)' must have an argument of class or enumerated type 153 | bool operator==( const StringBuilder & s ) const { | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:158:23: error: non-member function 'uint nv::length()' cannot have cv-qualifier 158 | uint length() const { return isNull() ? 0 : strLen(m_str); } | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: In function 'uint nv::length()': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:158:60: error: 'm_str' was not declared in this scope; did you mean 'str'? 158 | uint length() const { return isNull() ? 0 : strLen(m_str); } | ^~~~~ | str /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:158:53: error: 'strLen' was not declared in this scope; did you mean 'strlen'? 158 | uint length() const { return isNull() ? 0 : strLen(m_str); } | ^~~~~~ | strlen /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:161:25: error: non-member function 'uint nv::capacity()' cannot have cv-qualifier 161 | uint capacity() const { return m_size; } | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:164:21: error: non-member function 'uint nv::hash()' cannot have cv-qualifier 164 | uint hash() const { return isNull() ? 0 : strHash(m_str); } | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: In function 'uint nv::hash()': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:164:59: error: 'm_str' was not declared in this scope; did you mean 'str'? 164 | uint hash() const { return isNull() ? 0 : strHash(m_str); } | ^~~~~ | str /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:167:9: error: 'friend' used outside of class 167 | friend void swap(StringBuilder & a, StringBuilder & b); | ^~~~~~ | ------ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:167:21: error: variable or field 'swap' declared void 167 | friend void swap(StringBuilder & a, StringBuilder & b); | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:167:42: error: 'a' was not declared in this scope 167 | friend void swap(StringBuilder & a, StringBuilder & b); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:167:61: error: 'b' was not declared in this scope 167 | friend void swap(StringBuilder & a, StringBuilder & b); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:169:5: error: expected unqualified-id before 'protected' 169 | protected: | ^~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:181:29: error: expected initializer before ':' token 181 | class NVCORE_CLASS Path : public StringBuilder | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:209:24: error: variable 'DLL_EXPORT_CLASS String' has initializer but incomplete type 209 | class NVCORE_CLASS String | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:211:5: error: expected primary-expression before 'public' 211 | public: | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:211:5: error: expected '}' before 'public' /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:210:5: note: to match this '{' 210 | { | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:211:5: error: expected ',' or ';' before 'public' 211 | public: | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:220:22: error: 'String' does not name a type 220 | String(const String & str) | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:220:9: error: ISO C++ forbids declaration of 'String' with no type [-fpermissive] 220 | String(const String & str) | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: In function 'int String(const int&)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:222:13: error: 'data' was not declared in this scope 222 | data = str.data; | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:222:24: error: request for member 'data' in 'str', which is of non-class type 'const int' 222 | data = str.data; | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:223:31: error: 'addRef' was not declared in this scope 223 | if (data != NULL) addRef(); | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:224:9: warning: no return statement in function returning non-void [-Wreturn-type] 224 | } | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:227:9: error: ISO C++ forbids declaration of 'String' with no type [-fpermissive] 227 | String(const char * str) | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: In function 'int String(const char*)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:229:13: error: 'setString' was not declared in this scope; did you mean 'String'? 229 | setString(str); | ^~~~~~~~~ | String /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:230:9: warning: no return statement in function returning non-void [-Wreturn-type] 230 | } | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:233:9: error: ISO C++ forbids declaration of 'String' with no type [-fpermissive] 233 | String(const char * str, int length) | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: In function 'int String(const char*, int)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:235:13: error: 'setString' was not declared in this scope; did you mean 'String'? 235 | setString(str, length); | ^~~~~~~~~ | String /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:236:9: warning: no return statement in function returning non-void [-Wreturn-type] 236 | } | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:239:22: error: 'StringBuilder' does not name a type 239 | String(const StringBuilder & str) | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:239:9: error: ISO C++ forbids declaration of 'String' with no type [-fpermissive] 239 | String(const StringBuilder & str) | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: In function 'int String(const int&)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:241:13: error: 'setString' was not declared in this scope; did you mean 'String'? 241 | setString(str); | ^~~~~~~~~ | String /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:242:9: warning: no return statement in function returning non-void [-Wreturn-type] 242 | } | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:245:16: error: expected class-name before '(' token 245 | ~String() | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:250:9: error: 'String' does not name a type 250 | String clone() const; | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:253:15: error: 'String' does not name a type 253 | const String & operator=( const char * str ) | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:261:15: error: 'String' does not name a type 261 | const String & operator=( const StringBuilder & str ) | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:269:9: error: 'String' does not name a type 269 | String & operator=( const String & str ) | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:281:32: error: 'String' does not name a type 281 | bool operator==( const String & str ) const | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:281:47: error: non-member function 'bool operator==(const int&)' cannot have cv-qualifier 281 | bool operator==( const String & str ) const | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:281:14: error: 'bool operator==(const int&)' must have an argument of class or enumerated type 281 | bool operator==( const String & str ) const | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:287:45: error: non-member function 'bool operator==(const char*)' cannot have cv-qualifier 287 | bool operator==( const char * str ) const | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:287:14: error: 'bool operator==(const char*)' must have an argument of class or enumerated type 287 | bool operator==( const char * str ) const | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:293:32: error: 'String' does not name a type 293 | bool operator!=( const String & str ) const | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:293:47: error: non-member function 'bool operator!=(const int&)' cannot have cv-qualifier 293 | bool operator!=( const String & str ) const | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:293:14: error: 'bool operator!=(const int&)' must have an argument of class or enumerated type 293 | bool operator!=( const String & str ) const | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:299:45: error: non-member function 'bool operator!=(const char*)' cannot have cv-qualifier 299 | bool operator!=( const char * str ) const | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:299:14: error: 'bool operator!=(const char*)' must have an argument of class or enumerated type 299 | bool operator!=( const char * str ) const | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:305:23: error: non-member function 'bool isNull()' cannot have cv-qualifier 305 | bool isNull() const { return data == NULL; } | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: In function 'bool isNull()': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:305:38: error: 'data' was not declared in this scope 305 | bool isNull() const { return data == NULL; } | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:308:23: error: non-member function 'uint length()' cannot have cv-qualifier 308 | uint length() const { nvDebugCheck(data != NULL); return strLen(data); } | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: In function 'uint length()': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:308:44: error: 'data' was not declared in this scope 308 | uint length() const { nvDebugCheck(data != NULL); return strLen(data); } | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:21:18: note: in definition of macro 'nvNoAssert' 21 | (void)sizeof(exp); \ | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:308:31: note: in expansion of macro 'nvDebugCheck' 308 | uint length() const { nvDebugCheck(data != NULL); return strLen(data); } | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:308:73: error: 'data' was not declared in this scope 308 | uint length() const { nvDebugCheck(data != NULL); return strLen(data); } | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:308:66: error: 'strLen' was not declared in this scope; did you mean 'strlen'? 308 | uint length() const { nvDebugCheck(data != NULL); return strLen(data); } | ^~~~~~ | strlen /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:311:21: error: non-member function 'uint hash()' cannot have cv-qualifier 311 | uint hash() const { nvDebugCheck(data != NULL); return strHash(data); } | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: In function 'uint hash()': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:311:42: error: 'data' was not declared in this scope 311 | uint hash() const { nvDebugCheck(data != NULL); return strHash(data); } | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:21:18: note: in definition of macro 'nvNoAssert' 21 | (void)sizeof(exp); \ | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:311:29: note: in expansion of macro 'nvDebugCheck' 311 | uint hash() const { nvDebugCheck(data != NULL); return strHash(data); } | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:311:72: error: 'data' was not declared in this scope 311 | uint hash() const { nvDebugCheck(data != NULL); return strHash(data); } | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:311:64: error: 'strHash' was not declared in this scope; did you mean 'nv::strHash'? 311 | uint hash() const { nvDebugCheck(data != NULL); return strHash(data); } | ^~~~~~~ | nv::strHash /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:24:17: note: 'nv::strHash' declared here 24 | inline uint strHash(const char * data, uint h = 5381) | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:314:34: error: non-member function 'operator const char*()' cannot have cv-qualifier 314 | operator const char * () const { return data; } | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:314:9: error: 'operator const char*()' must be a non-static member function 314 | operator const char * () const { return data; } | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:317:28: error: non-member function 'const char* str()' cannot have cv-qualifier 317 | const char * str() const { return data; } | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: In function 'const char* str()': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:317:43: error: 'data' was not declared in this scope 317 | const char * str() const { return data; } | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:320:5: error: expected unqualified-id before 'private' 320 | private: | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:328:30: error: non-member function 'uint16 getRefCount()' cannot have cv-qualifier 328 | uint16 getRefCount() const | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: In function 'uint16 getRefCount()': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:330:26: error: 'data' was not declared in this scope 330 | nvDebugCheck(data != NULL); | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:21:18: note: in definition of macro 'nvNoAssert' 21 | (void)sizeof(exp); \ | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:330:13: note: in expansion of macro 'nvDebugCheck' 330 | nvDebugCheck(data != NULL); | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:331:54: error: 'data' was not declared in this scope 331 | return *reinterpret_cast<const uint16 *>(data - 2); | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: In function 'void setRefCount(uint16)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:335:26: error: 'data' was not declared in this scope 335 | nvDebugCheck(data != NULL); | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:21:18: note: in definition of macro 'nvNoAssert' 21 | (void)sizeof(exp); \ | ^~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:335:13: note: in expansion of macro 'nvDebugCheck' 335 | nvDebugCheck(data != NULL); | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:69:47: error: '__FUNC__' was not declared in this scope 69 | if (nvAbort(#exp, __FILE__, __LINE__, __FUNC__) == NV_ABORT_DEBUG) { \ | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:107:26: note: in expansion of macro 'nvAssertMacro' 107 | #define nvCheck(exp) nvAssertMacro(exp) | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:336:13: note: in expansion of macro 'nvCheck' 336 | nvCheck(count < 0xFFFF); | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:69:13: error: 'nvAbort' was not declared in this scope; did you mean 'abort'? 69 | if (nvAbort(#exp, __FILE__, __LINE__, __FUNC__) == NV_ABORT_DEBUG) { \ | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:107:26: note: in expansion of macro 'nvAssertMacro' 107 | #define nvCheck(exp) nvAssertMacro(exp) | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:336:13: note: in expansion of macro 'nvCheck' 336 | nvCheck(count < 0xFFFF); | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:337:60: error: 'data' was not declared in this scope 337 | *reinterpret_cast<uint16 *>(const_cast<char *>(data - 2)) = uint16(count); | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: In function 'void setData(const char*)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:341:13: error: 'data' was not declared in this scope 341 | data = str + 2; | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: In function 'void allocString(const char*)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:346:30: error: 'strLen' was not declared in this scope; did you mean 'strlen'? 346 | allocString(str, strLen(str)); | ^~~~~~ | strlen /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:353:30: error: 'StringBuilder' does not name a type 353 | void setString(const StringBuilder & str); | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:356:9: error: 'friend' used outside of class 356 | friend void swap(String & a, String & b); | ^~~~~~ | ------ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:356:21: error: variable or field 'swap' declared void 356 | friend void swap(String & a, String & b); | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:356:35: error: 'a' was not declared in this scope 356 | friend void swap(String & a, String & b); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:356:47: error: 'b' was not declared in this scope 356 | friend void swap(String & a, String & b); | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:358:5: error: expected unqualified-id before 'private' 358 | private: | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:362:5: error: expected declaration before '}' token 362 | }; | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:364:24: error: 'Hash' is not a class template 364 | template <> struct Hash<String> { | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:364:37: error: explicit specialization of non-template 'Hash' 364 | template <> struct Hash<String> { | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:365:31: error: 'String' does not name a type 365 | uint operator()(const String & str) const { return str.hash(); } | ^~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: In member function 'uint Hash::operator()(const int&) const': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:365:64: error: request for member 'hash' in 'str', which is of non-class type 'const int' 365 | uint operator()(const String & str) const { return str.hash(); } | ^~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:428:1: error: expected declaration before '}' token 428 | } // nv namespace | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StdStream.h: In function 'std::FILE* nv::fileOpen(const char*, const char*)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:69:47: error: '__FUNC__' was not declared in this scope 69 | if (nvAbort(#exp, __FILE__, __LINE__, __FUNC__) == NV_ABORT_DEBUG) { \ | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:107:26: note: in expansion of macro 'nvAssertMacro' 107 | #define nvCheck(exp) nvAssertMacro(exp) | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StdStream.h:20:9: note: in expansion of macro 'nvCheck' 20 | nvCheck(fileName != NULL); | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:69:13: error: 'nvAbort' was not declared in this scope; did you mean 'abort'? 69 | if (nvAbort(#exp, __FILE__, __LINE__, __FUNC__) == NV_ABORT_DEBUG) { \ | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:107:26: note: in expansion of macro 'nvAssertMacro' 107 | #define nvCheck(exp) nvAssertMacro(exp) | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StdStream.h:20:9: note: in expansion of macro 'nvCheck' 20 | nvCheck(fileName != NULL); | ^~~~~~~ In file included from /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:7: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StdStream.h: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StdStream.h:34:34: error: expected initializer before ':' token 34 | class NVCORE_CLASS StdStream : public Stream | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StdStream.h:141:40: error: expected initializer before ':' token 141 | class NVCORE_CLASS StdOutputStream : public StdStream | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StdStream.h:191:39: error: expected initializer before ':' token 191 | class NVCORE_CLASS StdInputStream : public StdStream | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StdStream.h:242:42: error: expected initializer before ':' token 242 | class NVCORE_CLASS MemoryInputStream : public Stream | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StdStream.h:330:43: error: expected initializer before ':' token 330 | class NVCORE_CLASS BufferOutputStream : public Stream | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StdStream.h:362:40: error: expected initializer before ':' token 362 | class NVCORE_CLASS ProtectedStream : public Stream | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:526:70: error: expected identifier 526 | static void writeStackTrace(void * trace[], int size, int start, Array<const char *> & lines) { | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:526:90: error: expected unqualified-id before '&' token 526 | static void writeStackTrace(void * trace[], int size, int start, Array<const char *> & lines) { | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:526:89: error: expected ')' before '&' token 526 | static void writeStackTrace(void * trace[], int size, int start, Array<const char *> & lines) { | ~ ^~ | ) /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:526:92: error: expected initializer before 'lines' 526 | static void writeStackTrace(void * trace[], int size, int start, Array<const char *> & lines) { | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: In function 'void {anonymous}::printStackTrace(void**, int, int)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:153:25: error: 'nvDebugPrint' was not declared in this scope; did you mean 'nvDebugBreak'? 153 | #define nvDebug(...) nvDebugPrint(__VA_ARGS__) | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:579:9: note: in expansion of macro 'nvDebug' 579 | nvDebug( "\nDumping stacktrace:\n" ); | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h: In instantiation of 'nv::DLL_EXPORT_CLASS nv::Array<const char*>': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:581:9: required from here /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: error: 'nv::DLL_EXPORT_CLASS nv::Array<const char*>' has incomplete type 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:581:28: error: expected ';' before 'lines' 581 | Array<const char *> lines; | ^~~~~~ | ; /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:582:41: error: 'lines' was not declared in this scope 582 | writeStackTrace(trace, size, 1, lines); | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:582:9: error: 'writeStackTrace' was not declared in this scope; did you mean 'printStackTrace'? 582 | writeStackTrace(trace, size, 1, lines); | ^~~~~~~~~~~~~~~ | printStackTrace /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: In function 'void* {anonymous}::callerAddress(void*)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:661:47: error: 'REG_RIP' was not declared in this scope 661 | return (void *)ucp->uc_mcontext.gregs[REG_RIP]; | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: In function 'void {anonymous}::nvSigHandler(int, siginfo_t*, void*)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:153:25: error: 'nvDebugPrint' was not declared in this scope; did you mean 'nvDebugBreak'? 153 | #define nvDebug(...) nvDebugPrint(__VA_ARGS__) | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:707:30: note: in expansion of macro 'nvDebug' 707 | if (pnt != NULL) nvDebug("Got signal %d, faulty address is %p, from %p\n", sig, info->si_addr, pnt); | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:153:25: error: 'nvDebugPrint' was not declared in this scope; did you mean 'nvDebugBreak'? 153 | #define nvDebug(...) nvDebugPrint(__VA_ARGS__) | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:708:18: note: in expansion of macro 'nvDebug' 708 | else nvDebug("Got signal %d, faulty address is %p\n", sig, info->si_addr); | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:153:25: error: 'nvDebugPrint' was not declared in this scope; did you mean 'nvDebugBreak'? 153 | #define nvDebug(...) nvDebugPrint(__VA_ARGS__) | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:711:13: note: in expansion of macro 'nvDebug' 711 | nvDebug("Breakpoint hit.\n"); | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:153:25: error: 'nvDebugPrint' was not declared in this scope; did you mean 'nvDebugBreak'? 153 | #define nvDebug(...) nvDebugPrint(__VA_ARGS__) | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:714:13: note: in expansion of macro 'nvDebug' 714 | nvDebug("Got signal %d\n", sig); | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:721:24: error: 'backtrace' was not declared in this scope 721 | int size = backtrace(trace, 64); | ^~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: In member function 'virtual int {anonymous}::UnixAssertHandler::assertion(const char*, const char*, int, const char*, const char*, __va_list_tag*)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:153:25: error: 'nvDebugPrint' was not declared in this scope; did you mean 'nvDebugBreak'? 153 | #define nvDebug(...) nvDebugPrint(__VA_ARGS__) | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:883:17: note: in expansion of macro 'nvDebug' 883 | nvDebug( "*** Assertion failed: %s\n On file: %s\n On function: %s\n On line: %d\n ", exp, file, func, line ); | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:153:25: error: 'nvDebugPrint' was not declared in this scope; did you mean 'nvDebugBreak'? 153 | #define nvDebug(...) nvDebugPrint(__VA_ARGS__) | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:886:17: note: in expansion of macro 'nvDebug' 886 | nvDebug( "*** Assertion failed: %s\n On file: %s\n On line: %d\n ", exp, file, line ); | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:899:28: error: 'backtrace' was not declared in this scope 899 | int size = backtrace(trace, 64); | ^~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:943:31: error: 'void nv::debug::terminate(int)' should have been declared inside 'nv::debug' 943 | void debug::terminate(int code) | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:978:15: error: expected initializer before 'nvDebugPrint' 978 | void NV_CDECL nvDebugPrint(const char *msg, ...) | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:990:22: error: 'void nv::debug::dumpInfo()' should have been declared inside 'nv::debug' 990 | void debug::dumpInfo() | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: In function 'void nv::debug::dumpInfo()': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:996:20: error: 'backtrace' was not declared in this scope 996 | int size = backtrace(trace, 64); | ^~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:153:25: error: 'nvDebugPrint' was not declared in this scope; did you mean 'nvDebugBreak'? 153 | #define nvDebug(...) nvDebugPrint(__VA_ARGS__) | ^~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:998:9: note: in expansion of macro 'nvDebug' 998 | nvDebug( "\nDumping stacktrace:\n" ); | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1000:28: error: expected ';' before 'lines' 1000 | Array<const char *> lines; | ^~~~~~ | ; /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1001:41: error: 'lines' was not declared in this scope 1001 | writeStackTrace(trace, size, 1, lines); | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1001:9: error: 'writeStackTrace' was not declared in this scope 1001 | writeStackTrace(trace, size, 1, lines); | ^~~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1012:92: error: 'void nv::debug::dumpCallstack(nv::MessageHandler*, int)' should have been declared inside 'nv::debug' 1012 | void debug::dumpCallstack(MessageHandler *messageHandler, int callstackLevelsToSkip /*= 0*/) | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: In function 'void nv::debug::dumpCallstack(nv::MessageHandler*, int)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1018:20: error: 'backtrace' was not declared in this scope 1018 | int size = backtrace(trace, 64); | ^~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1020:28: error: expected ';' before 'lines' 1020 | Array<const char *> lines; | ^~~~~~ | ; /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1021:65: error: 'lines' was not declared in this scope 1021 | writeStackTrace(trace, size, callstackLevelsToSkip + 1, lines); // + 1 to skip the call to dumpCallstack | ^~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1021:9: error: 'writeStackTrace' was not declared in this scope 1021 | writeStackTrace(trace, size, callstackLevelsToSkip + 1, lines); // + 1 to skip the call to dumpCallstack | ^~~~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1033:63: error: 'void nv::debug::setMessageHandler(nv::MessageHandler*)' should have been declared inside 'nv::debug' 1033 | void debug::setMessageHandler(MessageHandler * message_handler) | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1039:33: error: 'void nv::debug::resetMessageHandler()' should have been declared inside 'nv::debug' 1039 | void debug::resetMessageHandler() | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1045:60: error: 'void nv::debug::setAssertHandler(nv::AssertHandler*)' should have been declared inside 'nv::debug' 1045 | void debug::setAssertHandler(AssertHandler * assert_handler) | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1051:32: error: 'void nv::debug::resetAssertHandler()' should have been declared inside 'nv::debug' 1051 | void debug::resetAssertHandler() | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1105:46: error: 'void nv::debug::enableSigHandler(bool)' should have been declared inside 'nv::debug' 1105 | void debug::enableSigHandler(bool interactive) | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: In function 'void nv::debug::enableSigHandler(bool)': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:69:47: error: '__FUNC__' was not declared in this scope 69 | if (nvAbort(#exp, __FILE__, __LINE__, __FUNC__) == NV_ABORT_DEBUG) { \ | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:107:26: note: in expansion of macro 'nvAssertMacro' 107 | #define nvCheck(exp) nvAssertMacro(exp) | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1107:5: note: in expansion of macro 'nvCheck' 1107 | nvCheck(s_sig_handler_enabled != true); | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1163:31: error: 'void nv::debug::disableSigHandler()' should have been declared inside 'nv::debug' 1163 | void debug::disableSigHandler() | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: In function 'void nv::debug::disableSigHandler()': /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:69:47: error: '__FUNC__' was not declared in this scope 69 | if (nvAbort(#exp, __FILE__, __LINE__, __FUNC__) == NV_ABORT_DEBUG) { \ | ^~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:107:26: note: in expansion of macro 'nvAssertMacro' 107 | #define nvCheck(exp) nvAssertMacro(exp) | ^~~~~~~~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1165:5: note: in expansion of macro 'nvCheck' 1165 | nvCheck(s_sig_handler_enabled == true); | ^~~~~~~ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: At global scope: /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1186:31: error: 'bool nv::debug::isDebuggerPresent()' should have been declared inside 'nv::debug' 1186 | bool debug::isDebuggerPresent() | ^ /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1227:30: error: 'bool nv::debug::attachToDebugger()' should have been declared inside 'nv::debug' 1227 | bool debug::attachToDebugger() | ^ *** [src/nvcore/CMakeFiles/nvcore.dir/Debug.cpp.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0 1 error bmake[2]: stopped in /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0 *** [src/nvcore/CMakeFiles/nvcore.dir/all] Error code 2 bmake[1]: stopped in /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0 1 error bmake[1]: stopped in /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0 1 error bmake: stopped in /home/pbulk/build/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/nvidia-texture-tools *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/nvidia-texture-tools