=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for nvidia-texture-tools-2.1.0nb1 Scanning dependencies of target posh Scanning dependencies of target nvcore Scanning dependencies of target bc6h Scanning dependencies of target squish [ 1%] Building C object extern/poshlib/CMakeFiles/posh.dir/posh.c.o Scanning dependencies of target bc7 [ 2%] Building CXX object src/nvcore/CMakeFiles/nvcore.dir/FileSystem.cpp.o [ 3%] Building CXX object src/nvcore/CMakeFiles/nvcore.dir/StrLib.cpp.o [ 4%] Building CXX object src/nvcore/CMakeFiles/nvcore.dir/Debug.cpp.o [ 4%] Building CXX object src/bc6h/CMakeFiles/bc6h.dir/zoh_utils.cpp.o [ 5%] Building CXX object src/nvcore/CMakeFiles/nvcore.dir/Memory.cpp.o [ 6%] Building CXX object src/nvtt/squish/CMakeFiles/squish.dir/fastclusterfit.cpp.o [ 7%] Building CXX object src/bc7/CMakeFiles/bc7.dir/avpcl.cpp.o [ 8%] Building CXX object src/nvcore/CMakeFiles/nvcore.dir/TextWriter.cpp.o [ 9%] Building CXX object src/nvcore/CMakeFiles/nvcore.dir/Timer.cpp.o [ 10%] Linking C static library libposh.a [ 10%] Built target posh [ 13%] Building CXX object src/bc7/CMakeFiles/bc7.dir/avpcl_mode0.cpp.o [ 13%] Building CXX object src/bc7/CMakeFiles/bc7.dir/avpcl_mode1.cpp.o [ 13%] Building CXX object src/bc7/CMakeFiles/bc7.dir/avpcl_mode2.cpp.o [ 14%] Building CXX object src/bc7/CMakeFiles/bc7.dir/avpcl_mode3.cpp.o [ 16%] Building CXX object src/bc6h/CMakeFiles/bc6h.dir/zoh.cpp.o [ 16%] Building CXX object src/bc6h/CMakeFiles/bc6h.dir/zohone.cpp.o [ 17%] Linking CXX shared library libnvcore.so In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/fastclusterfit.cpp:27: In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/fastclusterfit.h:31: In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/maths.h:35: /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:46:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if SQUISH_USE_ALTIVEC && SQUISH_USE_SSE ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:31:29: note: expanded from macro 'SQUISH_USE_ALTIVEC' # define SQUISH_USE_ALTIVEC defined(__VEC__) ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:49:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if SQUISH_USE_ALTIVEC || SQUISH_USE_SSE ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:31:29: note: expanded from macro 'SQUISH_USE_ALTIVEC' # define SQUISH_USE_ALTIVEC defined(__VEC__) ^ In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/fastclusterfit.cpp:27: In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/fastclusterfit.h:32: /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/simd.h:37:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if SQUISH_USE_ALTIVEC ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:31:29: note: expanded from macro 'SQUISH_USE_ALTIVEC' # define SQUISH_USE_ALTIVEC defined(__VEC__) ^ [ 17%] Built target nvcore Scanning dependencies of target nvmath [ 18%] Building CXX object src/nvmath/CMakeFiles/nvmath.dir/Fitting.cpp.o [ 19%] Building CXX object src/bc6h/CMakeFiles/bc6h.dir/zohtwo.cpp.o 3 warnings generated. [ 20%] Building CXX object src/nvtt/squish/CMakeFiles/squish.dir/weightedclusterfit.cpp.o [ 21%] Building CXX object src/bc7/CMakeFiles/bc7.dir/avpcl_mode4.cpp.o [ 22%] Building CXX object src/bc7/CMakeFiles/bc7.dir/avpcl_mode5.cpp.o [ 23%] Building CXX object src/bc7/CMakeFiles/bc7.dir/avpcl_mode6.cpp.o [ 24%] Building CXX object src/bc7/CMakeFiles/bc7.dir/avpcl_mode7.cpp.o In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/weightedclusterfit.cpp:27: In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/weightedclusterfit.h:31: In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/maths.h:35: /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:46:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if SQUISH_USE_ALTIVEC && SQUISH_USE_SSE ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:31:29: note: expanded from macro 'SQUISH_USE_ALTIVEC' # define SQUISH_USE_ALTIVEC defined(__VEC__) ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:49:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if SQUISH_USE_ALTIVEC || SQUISH_USE_SSE ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:31:29: note: expanded from macro 'SQUISH_USE_ALTIVEC' # define SQUISH_USE_ALTIVEC defined(__VEC__) ^ [ 25%] Building CXX object src/bc7/CMakeFiles/bc7.dir/avpcl_utils.cpp.o In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/weightedclusterfit.cpp:27: In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/weightedclusterfit.h:32: /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/simd.h:37:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if SQUISH_USE_ALTIVEC ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:31:29: note: expanded from macro 'SQUISH_USE_ALTIVEC' # define SQUISH_USE_ALTIVEC defined(__VEC__) ^ [ 26%] Linking CXX static library libbc6h.a [ 26%] Built target bc6h Scanning dependencies of target nvthread 3 warnings generated. [ 27%] Building CXX object src/nvthread/CMakeFiles/nvthread.dir/nvthread.cpp.o [ 28%] Building CXX object src/nvtt/squish/CMakeFiles/squish.dir/colourblock.cpp.o [ 29%] Building CXX object src/nvthread/CMakeFiles/nvthread.dir/Event.cpp.o [ 30%] Building CXX object src/nvthread/CMakeFiles/nvthread.dir/Mutex.cpp.o [ 31%] Building CXX object src/nvthread/CMakeFiles/nvthread.dir/ParallelFor.cpp.o [ 32%] Building CXX object src/nvthread/CMakeFiles/nvthread.dir/Thread.cpp.o [ 33%] Building CXX object src/nvmath/CMakeFiles/nvmath.dir/Half.cpp.o [ 34%] Building CXX object src/nvthread/CMakeFiles/nvthread.dir/ThreadPool.cpp.o In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/colourblock.cpp:26: In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/colourblock.h:30: In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/maths.h:35: /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:46:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if SQUISH_USE_ALTIVEC && SQUISH_USE_SSE ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:31:29: note: expanded from macro 'SQUISH_USE_ALTIVEC' # define SQUISH_USE_ALTIVEC defined(__VEC__) ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:49:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if SQUISH_USE_ALTIVEC || SQUISH_USE_SSE ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:31:29: note: expanded from macro 'SQUISH_USE_ALTIVEC' # define SQUISH_USE_ALTIVEC defined(__VEC__) ^ [ 36%] Building CXX object src/nvtt/squish/CMakeFiles/squish.dir/colourset.cpp.o [ 36%] Building CXX object src/nvtt/squish/CMakeFiles/squish.dir/maths.cpp.o [ 37%] Building CXX object src/nvtt/squish/CMakeFiles/squish.dir/colourfit.cpp.o /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvthread/ThreadPool.cpp:123:38: warning: cast to 'void *' from smaller integer type 'uint' (aka 'unsigned int') [-Wint-to-void-pointer-cast] workers[i].start(workerFunc, (void *)i); ^~~~~~~~~ 2 warnings generated. [ 38%] Linking CXX static library libbc7.a 1 warning generated. [ 39%] Building CXX object src/nvmath/CMakeFiles/nvmath.dir/SphericalHarmonic.cpp.o [ 40%] Building CXX object src/nvmath/CMakeFiles/nvmath.dir/Plane.cpp.o [ 40%] Built target bc7 [ 41%] Linking CXX static library libnvthread.a [ 41%] Built target nvthread In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/colourfit.cpp:26: In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/colourfit.h:30: In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/maths.h:35: /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:46:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if SQUISH_USE_ALTIVEC && SQUISH_USE_SSE ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:31:29: note: expanded from macro 'SQUISH_USE_ALTIVEC' # define SQUISH_USE_ALTIVEC defined(__VEC__) ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:49:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if SQUISH_USE_ALTIVEC || SQUISH_USE_SSE ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:31:29: note: expanded from macro 'SQUISH_USE_ALTIVEC' # define SQUISH_USE_ALTIVEC defined(__VEC__) ^ In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/colourfit.cpp:27: In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/colourset.h:31: /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/simd.h:37:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if SQUISH_USE_ALTIVEC ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:31:29: note: expanded from macro 'SQUISH_USE_ALTIVEC' # define SQUISH_USE_ALTIVEC defined(__VEC__) ^ In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/colourset.cpp:26: In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/colourset.h:30: In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/maths.h:35: /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:46:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if SQUISH_USE_ALTIVEC && SQUISH_USE_SSE ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:31:29: note: expanded from macro 'SQUISH_USE_ALTIVEC' # define SQUISH_USE_ALTIVEC defined(__VEC__) ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:49:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if SQUISH_USE_ALTIVEC || SQUISH_USE_SSE ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:31:29: note: expanded from macro 'SQUISH_USE_ALTIVEC' # define SQUISH_USE_ALTIVEC defined(__VEC__) ^ In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/colourset.cpp:26: In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/colourset.h:31: /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/simd.h:37:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if SQUISH_USE_ALTIVEC ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:31:29: note: expanded from macro 'SQUISH_USE_ALTIVEC' # define SQUISH_USE_ALTIVEC defined(__VEC__) ^ 3 warnings generated. 3 warnings generated. In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/maths.cpp:26: In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/maths.h:35: /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:46:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if SQUISH_USE_ALTIVEC && SQUISH_USE_SSE ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:31:29: note: expanded from macro 'SQUISH_USE_ALTIVEC' # define SQUISH_USE_ALTIVEC defined(__VEC__) ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:49:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if SQUISH_USE_ALTIVEC || SQUISH_USE_SSE ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:31:29: note: expanded from macro 'SQUISH_USE_ALTIVEC' # define SQUISH_USE_ALTIVEC defined(__VEC__) ^ In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/maths.cpp:27: /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/simd.h:37:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if SQUISH_USE_ALTIVEC ^ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvtt/squish/config.h:31:29: note: expanded from macro 'SQUISH_USE_ALTIVEC' # define SQUISH_USE_ALTIVEC defined(__VEC__) ^ [ 42%] Linking CXX shared library libnvmath.so [ 42%] Built target nvmath 3 warnings generated. [ 43%] Linking CXX static library libsquish.a Scanning dependencies of target nvimage [ 46%] Building CXX object src/nvimage/CMakeFiles/nvimage.dir/BlockDXT.cpp.o [ 46%] Building CXX object src/nvimage/CMakeFiles/nvimage.dir/FloatImage.cpp.o [ 46%] Building CXX object src/nvimage/CMakeFiles/nvimage.dir/Image.cpp.o [ 47%] Building CXX object src/nvimage/CMakeFiles/nvimage.dir/Filter.cpp.o [ 48%] Building CXX object src/nvimage/CMakeFiles/nvimage.dir/ErrorMetric.cpp.o [ 49%] Building CXX object src/nvimage/CMakeFiles/nvimage.dir/ColorBlock.cpp.o [ 50%] Building CXX object src/nvimage/CMakeFiles/nvimage.dir/DirectDrawSurface.cpp.o [ 50%] Built target squish [ 52%] Building CXX object src/nvimage/CMakeFiles/nvimage.dir/ImageIO.cpp.o [ 52%] Building CXX object src/nvimage/CMakeFiles/nvimage.dir/NormalMap.cpp.o In file included from /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/src/nvimage/ImageIO.cpp:57: /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:682:11: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epuc("unknown image type", "Image not of any known type, or corrupt"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:722:11: warning: cast to 'float *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epf("unknown image type", "Image not of any known type, or corrupt"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:586:21: note: expanded from macro 'epf' #define epf(x,y) ((float *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:957:14: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epuc("outofmem", "Out of memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:995:45: warning: cast to 'float *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (output == NULL) { free(data); return epf("outofmem", "Out of memory"); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:586:21: note: expanded from macro 'epf' #define epf(x,y) ((float *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:1013:45: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (output == NULL) { free(data); return epuc("outofmem", "Out of memory"); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:1924:45: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (req_comp < 0 || req_comp > 4) return epuc("bad req_comp", "Internal error"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:1953:65: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (!z->img_comp[k].linebuf) { cleanup_jpeg(z); return epuc("outofmem", "Out of memory"); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:1971:46: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (!output) { cleanup_jpeg(z); return epuc("outofmem", "Out of memory"); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:3007:45: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (req_comp < 0 || req_comp > 4) return epuc("bad req_comp", "Internal error"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:3195:49: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (get8(s) != 'B' || get8(s) != 'M') return epuc("not BMP", "Corrupt BMP"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:3201:66: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (hsz != 12 && hsz != 40 && hsz != 56 && hsz != 108) return epuc("unknown BMP", "BMP type not supported: unknown"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:3209:32: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (get16le(s) != 1) return epuc("bad BMP", "bad BMP"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:3211:25: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (bpp == 1) return epuc("monochrome", "BMP type not supported: 1-bit"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:3219:50: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (compress == 1 || compress == 2) return epuc("BMP RLE", "BMP type not supported: RLE"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:3253:26: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epuc("bad BMP", "bad BMP"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:3256:23: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epuc("bad BMP", "bad BMP"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:3277:21: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (!out) return epuc("outofmem", "Out of memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:3280:58: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (psize == 0 || psize > 256) { free(out); return epuc("invalid", "Corrupt BMP"); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:3291:32: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] else { free(out); return epuc("bad bpp", "Corrupt BMP"); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:3329:40: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (!mr || !mg || !mb) return epuc("bad masks", "Corrupt BMP"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:3786:14: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epuc("not PSD", "Corrupt PSD image"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:3790:14: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epuc("wrong version", "Unsupported version of PSD image"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:3798:14: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epuc("wrong channel count", "Unsupported number of channels in PSD image"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:3806:14: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epuc("unsupported bit depth", "PSD bit depth is not 8 bit"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:3819:14: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epuc("wrong color format", "PSD is not in RGB color format"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:3836:14: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epuc("bad compression", "PSD has an unknown compression format"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:3840:21: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (!out) return epuc("outofmem", "Out of memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4004:32: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (at_eof(s)) return epuc("bad file","PIC file too short"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4032:17: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epuc("bad format","too many packets"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4043:38: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (at_eof(s)) return epuc("bad file","file too short (reading packets)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4044:38: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (packet->size != 8) return epuc("bad format","packet isn't 8bpp"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4058:23: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epuc("bad format","packet has bad compression type"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4077:46: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (at_eof(s)) return epuc("bad file","file too short (pure read count)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4095:42: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (at_eof(s)) return epuc("bad file","file too short (mixed read count)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4106:32: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epuc("bad file","scanline overrun"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4115:45: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (count>left) return epuc("bad file","scanline overrun"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4142:27: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (at_eof(s)) return epuc("bad file","file too short (pic header)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4143:34: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if ((1 << 28) / x < y) return epuc("too large", "Image too large to decode"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4398:31: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (first) return epuc("no clear code", "Corrupt GIF"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4402:48: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (avail > 4096) return epuc("too many codes", "Corrupt GIF"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4407:23: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epuc("illegal code in raster", "Corrupt GIF"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4418:20: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epuc("illegal code in raster", "Corrupt GIF"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4447:52: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (g->out == 0) return epuc("outofmem", "Out of memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4454:52: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (g->out == 0) return epuc("outofmem", "Out of memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4471:23: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epuc("bad Image Descriptor", "Corrupt GIF"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4501:23: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epuc("missing color table", "Corrupt GIF"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4534:20: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epuc("unknown code", "Corrupt GIF"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:587:21: note: expanded from macro 'epuc' #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4715:14: warning: cast to 'float *' from smaller integer type 'int' [-Wint-to-pointer-cast] return epf("not HDR", "Corrupt HDR image"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:586:21: note: expanded from macro 'epf' #define epf(x,y) ((float *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4724:26: warning: cast to 'float *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (!valid) return epf("unsupported format", "Unsupported HDR format"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:586:21: note: expanded from macro 'epf' #define epf(x,y) ((float *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4729:42: warning: cast to 'float *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (strncmp(token, "-Y ", 3)) return epf("unsupported data layout", "Unsupported HDR format"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:586:21: note: expanded from macro 'epf' #define epf(x,y) ((float *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4733:42: warning: cast to 'float *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (strncmp(token, "+X ", 3)) return epf("unsupported data layout", "Unsupported HDR format"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:586:21: note: expanded from macro 'epf' #define epf(x,y) ((float *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:4782:69: warning: cast to 'float *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (len != width) { free(hdr_data); free(scanline); return epf("invalid decoded scanline length", "corrupt HDR"); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0/extern/stb/stb_image.h:586:21: note: expanded from macro 'epf' #define epf(x,y) ((float *) (e(x,y)?NULL:NULL)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 52 warnings generated. [ 53%] Linking CXX shared library libnvimage.so /usr/bin/ld: ../bc6h/libbc6h.a(zoh_utils.cpp.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../bc6h/libbc6h.a(zohone.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../bc6h/libbc6h.a(zohtwo.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../bc7/libbc7.a(avpcl_mode0.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../bc7/libbc7.a(avpcl_mode1.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../bc7/libbc7.a(avpcl_mode2.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../bc7/libbc7.a(avpcl_mode3.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../bc7/libbc7.a(avpcl_mode4.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../bc7/libbc7.a(avpcl_mode5.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../bc7/libbc7.a(avpcl_mode6.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../bc7/libbc7.a(avpcl_mode7.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../bc7/libbc7.a(avpcl_utils.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC clang: error: linker command failed with exit code 1 (use -v to see invocation) --- src/nvimage/libnvimage.so --- *** [src/nvimage/libnvimage.so] Error code 1 make[2]: stopped in /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0 1 error make[2]: stopped in /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0 --- src/nvimage/CMakeFiles/nvimage.dir/all --- *** [src/nvimage/CMakeFiles/nvimage.dir/all] Error code 2 make[1]: stopped in /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0 1 error make[1]: stopped in /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0 *** [all] Error code 2 make: stopped in /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0 1 error make: stopped in /data/scratch/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.0 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/graphics/nvidia-texture-tools *** Error code 1 Stop. make: stopped in /data/pkgsrc/graphics/nvidia-texture-tools