=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/nvidia-texture-tools", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for nvidia-texture-tools-2.1.0nb14 [ 1%] Building CXX object src/nvcore/CMakeFiles/nvcore.dir/Debug.cpp.o [ 2%] 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 In file included from /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:7, from /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:3: /home/pbulk/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:17, from /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:7, from /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:4: /home/pbulk/work/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 NV_FORCEINLINE T * malloc(size_t count) { | ^~~~~~~~~~~~~~ /home/pbulk/work/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 NV_FORCEINLINE T * realloc(T * ptr, size_t count) { | ^~~~~~~~~~~~~~ /home/pbulk/work/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 NV_FORCEINLINE void free(const T * ptr) { | ^~~~~~~~~~~~~~ /home/pbulk/work/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 NV_FORCEINLINE void zero(T & data) { | ^~~~~~~~~~~~~~ /home/pbulk/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:32:5: error: expected '}' before 'public' /home/pbulk/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:32:5: note: probably missing a comma or an operator before 32 | public: | ^~~~~~ /home/pbulk/work/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 { | ^~~~~ In file included from /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:9: /home/pbulk/work/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/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:15:5: error: expected '}' before 'public' /home/pbulk/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Stream.h:15:5: note: probably missing a comma or an operator before 15 | public: | ^~~~~~ In file included from /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:10: /home/pbulk/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h: In function 'void nv::construct_range(T*)': /home/pbulk/work/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 [-Wtemplate-body] 229 | for (uint i = old_size; i < new_size; i++) { | ^~~~~~~~ /home/pbulk/work/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 [-Wtemplate-body] 229 | for (uint i = old_size; i < new_size; i++) { | ^~~~~~~~ /home/pbulk/work/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 [-Wtemplate-body] 230 | new(ptr+i) T; // placement new | ^~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h: At global scope: /home/pbulk/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:235:10: error: redefinition of 'template void nv::construct_range(T*)' 235 | void construct_range(T * restrict ptr, uint new_size, uint old_size, const T & elem) { | ^~~~~~~~~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:228:10: note: 'template void nv::construct_range(T*)' previously declared here 228 | void construct_range(T * restrict ptr, uint new_size, uint old_size) { | ^~~~~~~~~~~~~~~ /home/pbulk/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:242:10: error: redefinition of 'template void nv::construct_range(T*)' 242 | void construct_range(T * restrict ptr, uint new_size, uint old_size, const T * src) { | ^~~~~~~~~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h:228:10: note: 'template void nv::construct_range(T*)' previously declared here 228 | void construct_range(T * restrict ptr, uint new_size, uint old_size) { | ^~~~~~~~~~~~~~~ /home/pbulk/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h: In function 'void nv::destroy_range(T*)': /home/pbulk/work/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 [-Wtemplate-body] 250 | for (uint i = new_size; i < old_size; i++) { | ^~~~~~~~ /home/pbulk/work/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 [-Wtemplate-body] 250 | for (uint i = new_size; i < old_size; i++) { | ^~~~~~~~ /home/pbulk/work/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 [-Wtemplate-body] 251 | (ptr+i)->~T(); // Explicit call to the destructor | ^~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h: At global scope: /home/pbulk/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h: In function 'void nv::fill(T*)': /home/pbulk/work/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 [-Wtemplate-body] 257 | for (uint i = 0; i < count; i++) { | ^~~~~ /home/pbulk/work/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 [-Wtemplate-body] 258 | dst[i] = value; | ^~~ /home/pbulk/work/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 [-Wtemplate-body] 258 | dst[i] = value; | ^~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h: At global scope: /home/pbulk/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h: In function 'void nv::copy_range(T*)': /home/pbulk/work/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 [-Wtemplate-body] 264 | for (uint i = 0; i < count; i++) { | ^~~~~ /home/pbulk/work/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 [-Wtemplate-body] 265 | dst[i] = src[i]; | ^~~ /home/pbulk/work/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 [-Wtemplate-body] 265 | dst[i] = src[i]; | ^~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Utils.h: At global scope: /home/pbulk/work/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/work/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/work/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 [-Wtemplate-body] 271 | for (uint i = begin; i < end; i++) { | ^~~~~ /home/pbulk/work/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 [-Wtemplate-body] 271 | for (uint i = begin; i < end; i++) { | ^~~ /home/pbulk/work/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 [-Wtemplate-body] 272 | if (ptr[i] == element) { | ^~~ /home/pbulk/work/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'? [-Wtemplate-body] 273 | if (index != NULL) *index = i; | ^~~~~ | index_t /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/work/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::append() | ^~~~~~~~~~~~~~ /home/pbulk/work/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::push_back( const T & val ) | ^~~~~~~~~~~~~~ /home/pbulk/work/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::pushBack( const T & val ) | ^~~~~~~~~~~~~~ /home/pbulk/work/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 & Array::append( const T & val ) | ^~~~~~~~~~~~~~ /home/pbulk/work/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 & Array::operator<< ( T & t ) | ^~~~~~~~~~~~~~ /home/pbulk/work/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::pop_back() | ^~~~~~~~~~~~~~ /home/pbulk/work/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::popBack(uint count) | ^~~~~~~~~~~~~~ /home/pbulk/work/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::popFront(uint count) | ^~~~~~~~~~~~~~ /home/pbulk/work/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::back() const | ^~~~~~~~~~~~~~ /home/pbulk/work/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::back() | ^~~~~~~~~~~~~~ /home/pbulk/work/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::front() const | ^~~~~~~~~~~~~~ /home/pbulk/work/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::front() | ^~~~~~~~~~~~~~ /home/pbulk/work/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::contains(const T & e) const | ^~~~~~~~~~~~~~ /home/pbulk/work/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::find(const T & element, uint * indexPtr) const | ^~~~~~~~~~~~~~ /home/pbulk/work/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::find(const T & element, uint begin, uint end, uint * indexPtr) const | ^~~~~~~~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:176:10: error: variable template-id 'Array' in nested-name-specifier 176 | void Array::removeAt(uint index) | ^~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template nv::DLL_EXPORT_CLASS nv::Array' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: In function 'void nv::removeAt(uint)': /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:178:44: error: 'm_size' was not declared in this scope [-Wtemplate-body] 178 | nvDebugCheck(index >= 0 && index < m_size); | ^~~~~~ /home/pbulk/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:178:9: note: in expansion of macro 'nvDebugCheck' 178 | nvDebugCheck(index >= 0 && index < m_size); | ^~~~~~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:180:13: error: 'm_size' was not declared in this scope [-Wtemplate-body] 180 | if (m_size == 1) { | ^~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:181:13: error: there are no arguments to 'clear' that depend on a template parameter, so a declaration of 'clear' must be available [-Wtemplate-body] 181 | clear(); | ^~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:181:13: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /home/pbulk/work/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 [-Wtemplate-body] 184 | m_buffer[index].~T(); | ^~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:193:10: error: variable template-id 'Array' in nested-name-specifier 193 | bool Array::remove(const T & element) | ^~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template nv::DLL_EXPORT_CLASS nv::Array' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: In function 'bool nv::remove(const T&)': /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:197:21: error: no matching function for call to 'removeAt(uint&)' [-Wtemplate-body] 197 | removeAt(index); | ~~~~~~~~^~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:197:21: note: there is 1 candidate /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:176:10: note: candidate 1: 'template void nv::removeAt(uint)' 176 | void Array::removeAt(uint index) | ^~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:176:10: note: template argument deduction/substitution failed: /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:197:21: note: couldn't deduce template parameter 'T' 197 | removeAt(index); | ~~~~~~~~^~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:205:10: error: variable template-id 'Array' in nested-name-specifier 205 | void Array::insertAt(uint index, const T & val/*=T()*/) | ^~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template nv::DLL_EXPORT_CLASS nv::Array' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:207:46: error: 'm_size' was not declared in this scope [-Wtemplate-body] 207 | nvDebugCheck( index >= 0 && index <= m_size ); | ^~~~~~ /home/pbulk/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:207:9: note: in expansion of macro 'nvDebugCheck' 207 | nvDebugCheck( index >= 0 && index <= m_size ); | ^~~~~~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:209:22: error: 'm_size' was not declared in this scope [-Wtemplate-body] 209 | setArraySize(m_size + 1); | ^~~~~~ /home/pbulk/work/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 [-Wtemplate-body] 209 | setArraySize(m_size + 1); | ^~~~~~~~~~~~ /home/pbulk/work/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 [-Wtemplate-body] 212 | memmove(m_buffer+index+1, m_buffer+index, sizeof(T) * (m_size - 1 - index)); | ^~~~~~~~ /home/pbulk/work/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 [-Wtemplate-body] 216 | new(m_buffer+index) T(val); | ^~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/work/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::append(const Array & other) | ^~~~~~~~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:228:10: error: variable template-id 'Array' in nested-name-specifier 228 | void Array::append(const T other[], uint count) | ^~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template nv::DLL_EXPORT_CLASS nv::Array' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:231:35: error: 'm_size' was not declared in this scope; did you mean 'old_size'? [-Wtemplate-body] 231 | const uint old_size = m_size; | ^~~~~~ | old_size /home/pbulk/work/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 [-Wtemplate-body] 233 | setArraySize(m_size + count); | ^~~~~~~~~~~~ /home/pbulk/work/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 [-Wtemplate-body] 236 | new(m_buffer + old_size + i) T(other[i]); | ^~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:244:10: error: variable template-id 'Array' in nested-name-specifier 244 | void Array::replaceWithLast(uint index) | ^~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template nv::DLL_EXPORT_CLASS nv::Array' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: In function 'void nv::replaceWithLast(uint)': /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:246:31: error: 'm_size' was not declared in this scope [-Wtemplate-body] 246 | nvDebugCheck( index < m_size ); | ^~~~~~ /home/pbulk/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:246:9: note: in expansion of macro 'nvDebugCheck' 246 | nvDebugCheck( index < m_size ); | ^~~~~~~~~~~~ /home/pbulk/work/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 [-Wtemplate-body] 247 | nv::swap(m_buffer[index], back()); // @@ Is this OK when index == size-1? | ^~~~~~~~ /home/pbulk/work/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 [-Wtemplate-body] 247 | nv::swap(m_buffer[index], back()); // @@ Is this OK when index == size-1? | ^~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:248:19: error: 'm_size' was not declared in this scope [-Wtemplate-body] 248 | (m_buffer+m_size-1)->~T(); | ^~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:254:10: error: variable template-id 'Array' in nested-name-specifier 254 | void Array::resize(uint new_size) | ^~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template nv::DLL_EXPORT_CLASS nv::Array' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: In function 'void nv::resize(uint)': /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:256:25: error: 'm_size' was not declared in this scope; did you mean 'resize'? [-Wtemplate-body] 256 | uint old_size = m_size; | ^~~~~~ | resize /home/pbulk/work/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 [-Wtemplate-body] 259 | destroy_range(m_buffer, new_size, old_size); | ^~~~~~~~ /home/pbulk/work/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 [-Wtemplate-body] 261 | setArraySize(new_size); | ^~~~~~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:271:10: error: variable template-id 'Array' in nested-name-specifier 271 | void Array::resize(uint new_size, const T & elem) | ^~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template nv::DLL_EXPORT_CLASS nv::Array' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/work/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/work/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 [-Wtemplate-body] 273 | nvDebugCheck(&elem < m_buffer || &elem > m_buffer+m_size); | ^~~~~~~~ /home/pbulk/work/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/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:273:59: error: 'm_size' was not declared in this scope; did you mean 'resize'? [-Wtemplate-body] 273 | nvDebugCheck(&elem < m_buffer || &elem > m_buffer+m_size); | ^~~~~~ /home/pbulk/work/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/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:275:25: error: 'm_size' was not declared in this scope; did you mean 'resize'? [-Wtemplate-body] 275 | uint old_size = m_size; | ^~~~~~ | resize /home/pbulk/work/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 [-Wtemplate-body] 278 | destroy_range(m_buffer, new_size, old_size); | ^~~~~~~~ /home/pbulk/work/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 [-Wtemplate-body] 280 | setArraySize(new_size); | ^~~~~~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:288:10: error: variable template-id 'Array' in nested-name-specifier 288 | void Array::fill(const T & elem) | ^~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template nv::DLL_EXPORT_CLASS nv::Array' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: In function 'void nv::fill(const T&)': /home/pbulk/work/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 [-Wtemplate-body] 290 | fill(m_buffer, m_size, elem); | ^~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:290:24: error: 'm_size' was not declared in this scope; did you mean 'resize'? [-Wtemplate-body] 290 | fill(m_buffer, m_size, elem); | ^~~~~~ | resize /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/work/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::clear() | ^~~~~~~~~~~~~~ /home/pbulk/work/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::shrink() | ^~~~~~~~~~~~~~ /home/pbulk/work/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::reserve(uint desired_size) | ^~~~~~~~~~~~~~ /home/pbulk/work/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::copy(const T * data, uint count) | ^~~~~~~~~~~~~~ /home/pbulk/work/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 & Array::operator=( const Array & a ) | ^~~~~~~~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:356:9: error: variable template-id 'Array' in nested-name-specifier 356 | T * Array::release() { | ^~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template nv::DLL_EXPORT_CLASS nv::Array' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: In function 'T* nv::release()': /home/pbulk/work/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 [-Wtemplate-body] 357 | T * tmp = m_buffer; | ^~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:359:9: error: 'm_capacity' was not declared in this scope [-Wtemplate-body] 359 | m_capacity = 0; | ^~~~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:360:9: error: 'm_size' was not declared in this scope; did you mean 'resize'? [-Wtemplate-body] 360 | m_size = 0; | ^~~~~~ | resize /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:368:17: error: variable template-id 'Array' in nested-name-specifier 368 | inline void Array::setArraySize(uint new_size) { | ^~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template nv::DLL_EXPORT_CLASS nv::Array' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: In function 'void nv::setArraySize(uint)': /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:369:9: error: 'm_size' was not declared in this scope; did you mean 'resize'? [-Wtemplate-body] 369 | m_size = new_size; | ^~~~~~ | resize /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:371:24: error: 'm_capacity' was not declared in this scope [-Wtemplate-body] 371 | if (new_size > m_capacity) { | ^~~~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:382:13: error: there are no arguments to 'setArrayCapacity' that depend on a template parameter, so a declaration of 'setArrayCapacity' must be available [-Wtemplate-body] 382 | setArrayCapacity( new_buffer_size ); | ^~~~~~~~~~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:388:17: error: variable template-id 'Array' in nested-name-specifier 388 | inline void Array::setArrayCapacity(uint new_capacity) { | ^~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: note: 'template nv::DLL_EXPORT_CLASS nv::Array' declared here 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: In function 'void nv::setArrayCapacity(uint)': /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:389:38: error: 'm_size' was not declared in this scope; did you mean 'resize'? [-Wtemplate-body] 389 | nvDebugCheck(new_capacity >= m_size); | ^~~~~~ /home/pbulk/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:389:9: note: in expansion of macro 'nvDebugCheck' 389 | nvDebugCheck(new_capacity >= m_size); | ^~~~~~~~~~~~ /home/pbulk/work/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 [-Wtemplate-body] 393 | if (m_buffer != NULL) { | ^~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:394:23: error: expected primary-expression before '>' token [-Wtemplate-body] 394 | free(m_buffer); | ^ /home/pbulk/work/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 [-Wtemplate-body] 400 | m_buffer = realloc(m_buffer, new_capacity); | ^~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:400:33: error: expected primary-expression before '>' token [-Wtemplate-body] 400 | m_buffer = realloc(m_buffer, new_capacity); | ^ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl:403:9: error: 'm_capacity' was not declared in this scope; did you mean 'new_capacity'? [-Wtemplate-body] 403 | m_capacity = new_capacity; | ^~~~~~~~~~ | new_capacity /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.inl: At global scope: /home/pbulk/work/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 & p ) | ^~~~~~ /home/pbulk/work/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 & a, Array & b) | ^~~~ /home/pbulk/work/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 & a, Array & b) | ^ /home/pbulk/work/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 & a, Array & b) | ^ /home/pbulk/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:5: /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: In member function 'bool nv::Equal::operator()(const char*, const char*) const': /home/pbulk/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h: At global scope: /home/pbulk/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:95:5: error: expected '}' before 'public' /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:94:5: note: to match this '{' 94 | { | ^ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:95:5: note: probably missing a comma or an operator before 95 | public: | ^~~~~~ /home/pbulk/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:209:24: error: variable 'nv::DLL_EXPORT_CLASS nv::String' has initializer but incomplete type 209 | class NVCORE_CLASS String | ^~~~~~ /home/pbulk/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:211:5: error: expected '}' before 'public' /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:210:5: note: to match this '{' 210 | { | ^ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StrLib.h:211:5: note: probably missing a comma or an operator before 211 | public: | ^~~~~~ /home/pbulk/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:7: /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/StdStream.h: At global scope: /home/pbulk/work/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/work/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/work/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/work/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/work/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/work/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/work/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 & lines) { | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/work/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 & lines) { | ^ /home/pbulk/work/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 & lines) { | ~ ^~ | ) /home/pbulk/work/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 & lines) { | ^~~~~ /home/pbulk/work/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/work/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/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h: In instantiation of 'nv::DLL_EXPORT_CLASS nv::Array': /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:581:9: required from here 581 | Array lines; | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Array.h:31:24: error: 'nv::DLL_EXPORT_CLASS nv::Array' has incomplete type 31 | class NVCORE_CLASS Array { | ^~~~~ /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:581:28: error: expected ';' before 'lines' 581 | Array lines; | ^~~~~~ | ; /home/pbulk/work/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/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: In function 'void* {anonymous}::callerAddress(void*)': /home/pbulk/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: At global scope: /home/pbulk/work/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/work/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/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: In function 'void nv::debug::dumpInfo()': /home/pbulk/work/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/work/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/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1000:28: error: expected ';' before 'lines' 1000 | Array lines; | ^~~~~~ | ; /home/pbulk/work/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/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: At global scope: /home/pbulk/work/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/work/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/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1020:28: error: expected ';' before 'lines' 1020 | Array lines; | ^~~~~~ | ; /home/pbulk/work/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/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: At global scope: /home/pbulk/work/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/work/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/work/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/work/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/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: In function 'void nv::debug::enableSigHandler(bool)': /home/pbulk/work/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/work/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/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: At global scope: /home/pbulk/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: In function 'void nv::debug::disableSigHandler()': /home/pbulk/work/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/work/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/work/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/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: At global scope: /home/pbulk/work/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/work/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() | ^ [ 3%] Linking C static library libposh.a --- src/nvcore/CMakeFiles/nvcore.dir/Debug.cpp.o --- *** [src/nvcore/CMakeFiles/nvcore.dir/Debug.cpp.o] Error code 1 bmake[2]: stopped making "src/nvcore/CMakeFiles/nvcore.dir/build" in /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/cmake-pkgsrc-build bmake[2]: 1 error bmake[2]: stopped making "src/nvcore/CMakeFiles/nvcore.dir/build" in /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/cmake-pkgsrc-build --- src/nvcore/CMakeFiles/nvcore.dir/all --- *** [src/nvcore/CMakeFiles/nvcore.dir/all] Error code 2 bmake[1]: stopped making "all" in /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/cmake-pkgsrc-build --- extern/poshlib/CMakeFiles/posh.dir/all --- *** [extern/poshlib/CMakeFiles/posh.dir/all] Error code 6 bmake[1]: stopped making "all" in /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/cmake-pkgsrc-build bmake[1]: 2 errors bmake[1]: stopped making "all" in /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/cmake-pkgsrc-build *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/cmake-pkgsrc-build bmake: 1 error bmake: stopped making "all" in /home/pbulk/work/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/cmake-pkgsrc-build *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/nvidia-texture-tools *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/nvidia-texture-tools