Closed wmhtet closed 9 years ago
I found this at the end of build log
cp: src/libs/armeabi-v7a/*.a: No such file or directory
I think your build was done well but _.a files may not be located in proper path you may find .a files in another path like src/libs/armeabi-v7a/{libname}/.a or remained in each lib path
ah... I run the find command before and it does not return anything but it is now. Thanks and sorry for the trouble.
Hi
I needs help with the build process for torch-android. I am able to build torch 7 itself tho. I have also tried the android ndk9 as suggested on other thread. Here is the log. I wonder if it is also possible to have a generic precompile binary? Thanks.
ELS-F19624M:~ wmhtet$ which ndk-build /Users/wmhtet/Library/Android/ndk/android-ndk-r9d/ndk-build ELS-F19624M:~ wmhtet$ cd AndroidStudioProjects/torch-android/ ELS-F19624M:torch-android wmhtet$ ./build.sh Warning: coreutils-8.23_1 already installed Android NDK found at: /Users/wmhtet/Library/Android/ndk/android-ndk-r9d/ -- Performing Test C_HAS_WALL -- Performing Test C_HAS_WALL - Success -- Performing Test C_HAS_NO_UNUSED_FUNCTION -- Performing Test C_HAS_NO_UNUSED_FUNCTION - Success -- Performing Test C_HAS_FEXCEPTIONS -- Performing Test C_HAS_FEXCEPTIONS - Success -- Performing Test CXX_HAS_WALL -- Performing Test CXX_HAS_WALL - Success -- Performing Test CXX_HAS_NO_UNUSED_FUNCTION -- Performing Test CXX_HAS_NO_UNUSED_FUNCTION - Success -- Try OpenMP C flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success -- Try OpenMP CXX flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success -- Found OpenMP: -fopenmp
-- Compiling with OpenMP support -- Could not find hardware support for NEON on this machine. -- No OMAP3 processor on this on this machine. -- No OMAP4 processor on this on this machine. -- Looking for _longjmp -- Looking for _longjmp - found -- Looking for sigaction -- Looking for sigaction - found -- Looking for isatty -- Looking for isatty - found -- Looking for mkstemp -- Looking for mkstemp - found -- Looking for popen -- Looking for popen - found -- Looking for sin in m -- Looking for sin in m - found -- Looking for dlopen -- Looking for dlopen - found CMake Warning (dev) at exe/CMakeLists.txt:18 (GET_TARGET_PROPERTY): Policy CMP0045 is not set: Error on non-existent target in get_target_property. Run "cmake --help-policy CMP0045" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
get_target_property() called with non-existent target "OUTPUT_NAME". This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for mmap -- Looking for mmap - found -- ANDROID NDK Include FOUND AT /Users/wmhtet/Library/Android/ndk/android-ndk-r9d//platforms/android-14/arch-arm/usr/include -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of void -- Check size of void\ - done -- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m] -- Library mkl_gf: not found -- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m] -- Library mkl_gf: not found -- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m] -- Library mkl_intel: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m] -- Library mkl_intel: not found -- Checking for [mkl_gf - mkl_sequential - mkl_core - m] -- Library mkl_gf: not found -- Checking for [mkl_intel - mkl_sequential - mkl_core - m] -- Library mkl_intel: not found -- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m] -- Library mkl_gf: not found -- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m] -- Library mkl_gf: not found -- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m] -- Library mkl_intel: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m] -- Library mkl_intel: not found -- Checking for [mkl - guide - pthread - m] -- Library mkl: not found -- MKL library not found -- Checking for [openblas - gfortran] -- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND -- Checking for [openblas - gfortran - pthread] -- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND -- Checking for [goto2 - gfortran] -- Library goto2: BLAS_goto2_LIBRARY-NOTFOUND -- Checking for [goto2 - gfortran - pthread] -- Library goto2: BLAS_goto2_LIBRARY-NOTFOUND -- Checking for [acml - gfortran] -- Library acml: BLAS_acml_LIBRARY-NOTFOUND -- Checking for [Accelerate] -- Library Accelerate: BLAS_Accelerate_LIBRARY-NOTFOUND -- Checking for [vecLib] -- Library vecLib: BLAS_vecLib_LIBRARY-NOTFOUND -- Checking for [ptf77blas - atlas - gfortran] -- Library ptf77blas: BLAS_ptf77blas_LIBRARY-NOTFOUND -- Checking for [blas] -- Library blas: BLAS_blas_LIBRARY-NOTFOUND -- Cannot find a library with BLAS API. Not using BLAS. -- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m] -- Library mkl_gf: not found -- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m] -- Library mkl_gf: not found -- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m] -- Library mkl_intel: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m] -- Library mkl_intel: not found -- Checking for [mkl_gf - mkl_sequential - mkl_core - m] -- Library mkl_gf: not found -- Checking for [mkl_intel - mkl_sequential - mkl_core - m] -- Library mkl_intel: not found -- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m] -- Library mkl_gf: not found -- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m] -- Library mkl_gf: not found -- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m] -- Library mkl_intel: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m] -- Library mkl_intel: not found -- Checking for [mkl - guide - pthread - m] -- Library mkl: not found -- MKL library not found -- Checking for [openblas - gfortran] -- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND -- Checking for [openblas - gfortran - pthread] -- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND -- Checking for [goto2 - gfortran] -- Library goto2: BLAS_goto2_LIBRARY-NOTFOUND -- Checking for [goto2 - gfortran - pthread] -- Library goto2: BLAS_goto2_LIBRARY-NOTFOUND -- Checking for [acml - gfortran] -- Library acml: BLAS_acml_LIBRARY-NOTFOUND -- Checking for [Accelerate] -- Library Accelerate: BLAS_Accelerate_LIBRARY-NOTFOUND -- Checking for [vecLib] -- Library vecLib: BLAS_vecLib_LIBRARY-NOTFOUND -- Checking for [ptf77blas - atlas - gfortran] -- Library ptf77blas: BLAS_ptf77blas_LIBRARY-NOTFOUND -- Checking for [blas] -- Library blas: BLAS_blas_LIBRARY-NOTFOUND -- Cannot find a library with BLAS API. Not using BLAS. -- LAPACK requires BLAS -- Cannot find a library with LAPACK API. Not using LAPACK. -- Performing Test C_HAS_inline -- Performing Test C_HAS_inline - Failed -- C inline is supported (inline) CMake Warning (dev) at lib/TH/CMakeLists.txt:135 (GET_TARGET_PROPERTY): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
The LOCATION property should not be read from target "TH". Use the target name directly with add_custom_command, or use the generator expression $, as appropriate.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at lib/luaT/CMakeLists.txt:20 (GET_TARGET_PROPERTY): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
The LOCATION property should not be read from target "luaT". Use the target name directly with add_custom_command, or use the generator expression $, as appropriate.
This warning is for project developers. Use -Wno-dev to suppress it.
WARNING: Could not find JPEG libraries, JPEG wrapper will not be installed WARNING: Could not find PNG libraries, PNG wrapper will not be installed -- OpenMP Found with compiler flag : -fopenmp -- Configuring done -- Generating done -- Build files have been written to: /Users/wmhtet/AndroidStudioProjects/torch-android/src/build Scanning dependencies of target liblua-static [ 1%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/lapi.c.o [ 2%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/lcode.c.o [ 3%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/ldebug.c.o [ 3%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/ldo.c.o [ 4%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/ldump.c.o [ 5%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/lfunc.c.o [ 6%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/lgc.c.o [ 7%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/llex.c.o [ 8%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/lmem.c.o [ 9%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/lobject.c.o [ 10%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/lopcodes.c.o [ 11%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/lparser.c.o [ 11%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/lstate.c.o [ 12%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/lstring.c.o [ 13%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/ltable.c.o [ 14%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/ltm.c.o [ 15%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/lundump.c.o [ 16%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/lvm.c.o [ 17%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/lzio.c.o [ 18%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/lauxlib.c.o [ 18%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/lbaselib.c.o [ 19%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/ldblib.c.o [ 20%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/liolib.c.o [ 21%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/lmathlib.c.o [ 22%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/loslib.c.o [ 23%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/ltablib.c.o [ 24%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/lstrlib.c.o [ 25%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/loadlib.c.o [ 26%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/linit.c.o [ 26%] Building C object exe/lua/CMakeFiles/liblua-static.dir/src/luaconf.c.o Linking C static library libtorch-lua-static.a [ 26%] Built target liblua-static Scanning dependencies of target lua-static [ 27%] Building C object exe/lua/CMakeFiles/lua-static.dir/src/lua.c.o Linking CXX executable torch-lua-static [ 27%] Built target lua-static Scanning dependencies of target luac [ 28%] Building C object exe/lua/CMakeFiles/luac.dir/src/luac.c.o [ 29%] Building C object exe/lua/CMakeFiles/luac.dir/src/print.c.o Linking CXX executable luac [ 29%] Built target luac Scanning dependencies of target TH [ 29%] Building C object lib/TH/CMakeFiles/TH.dir/THGeneral.c.o [ 30%] Building C object lib/TH/CMakeFiles/TH.dir/THStorage.c.o [ 31%] Building C object lib/TH/CMakeFiles/TH.dir/THTensor.c.o In file included from generic/THTensorRandom.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:15: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorRandom.c: In function 'THDoubleTensor_random': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorRandom.c:20:3: warning: left shift count >= width of type [enabled by default] TH_TENSOR_APPLY(real, self, _self_data = (float)(THRandom_random() % ((1UL << DBL_MANT_DIG)+1));); ^ In file included from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:6:0: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THByteTensor_max': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:54: warning: variable 'indicessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:54: warning: variable 'indicesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:39: warning: variable 'valuessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:39: warning: variable 'valuesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THByteTensor_min': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:54: warning: variable 'indicessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:54: warning: variable 'indicesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:39: warning: variable 'valuessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:39: warning: variable 'valuesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THByteTensor_sum': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:437:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:437:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THByteTensor_prod': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:456:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:456:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THByteTensor_cumsum': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:471:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THByteTensor_cumprod': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:487:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THByteTensor_cross': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:48: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:39: warning: variable 'b_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:30: warning: variable 'a_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:7:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR1##_stride = 0, TENSOR1##_size = 0; \ ^ In file included from generic/THTensorMath.c:2:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:18: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THByteTensor_range': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:662:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] THArgCheck((step > 0) && (xmax >= xmin) || (step < 0) && (xmax <= xmin), 2, "upper bound and larger bound incoherent with step sign"); ^ In file included from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:6:0: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THCharTensor_max': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:54: warning: variable 'indicessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:54: warning: variable 'indicesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:39: warning: variable 'valuessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:39: warning: variable 'valuesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THCharTensor_min': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:54: warning: variable 'indicessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:54: warning: variable 'indicesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:39: warning: variable 'valuessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:39: warning: variable 'valuesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THCharTensor_sum': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:437:39: warning: variable 'r__size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:437:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THCharTensor_prod': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:456:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:456:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THCharTensor_cumsum': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:471:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THCharTensor_cumprod': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:487:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THCharTensor_cross': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:48: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:39: warning: variable 'b_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:30: warning: variable 'a_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:7:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR1##_stride = 0, TENSOR1##_size = 0; \ ^ In file included from generic/THTensorMath.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:18: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THCharTensor_range': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:662:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] THArgCheck((step > 0) && (xmax >= xmin) || (step < 0) && (xmax <= xmin), 2, "upper bound and larger bound incoherent with step sign"); ^ In file included from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:6:0: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THShortTensor_max': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:54: warning: variable 'indicessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:54: warning: variable 'indicesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:39: warning: variable 'valuessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:39: warning: variable 'valuesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THShortTensor_min': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:54: warning: variable 'indicessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:54: warning: variable 'indicesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:39: warning: variable 'valuessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:39: warning: variable 'valuesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THShortTensor_sum': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:437:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:437:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THShortTensor_prod': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:456:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:456:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THShortTensor_cumsum': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:471:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THShortTensor_cumprod': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:487:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THShortTensor_cross': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:48: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:39: warning: variable 'b_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:30: warning: variable 'a_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:7:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR1##_stride = 0, TENSOR1##_size = 0; \ ^ In file included from generic/THTensorMath.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:18: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THShortTensor_range': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:662:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] THArgCheck((step > 0) && (xmax >= xmin) || (step < 0) && (xmax <= xmin), 2, "upper bound and larger bound incoherent with step sign"); ^ In file included from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:6:0: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THIntTensor_max': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:54: warning: variable 'indicessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:54: warning: variable 'indicesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:39: warning: variable 'valuessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:39: warning: variable 'valuesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THIntTensor_min': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:54: warning: variable 'indicessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:54: warning: variable 'indicesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:39: warning: variable 'valuessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:39: warning: variable 'valuesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THIntTensor_sum': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:437:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:437:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THIntTensor_prod': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:456:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:456:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THIntTensor_cumsum': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:471:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THIntTensor_cumprod': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:487:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THIntTensor_cross': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:48: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:39: warning: variable 'b_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:30: warning: variable 'a_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:7:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR1##_stride = 0, TENSOR1##_size = 0; \ ^ In file included from generic/THTensorMath.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:18: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THIntTensor_range': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:662:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] THArgCheck((step > 0) && (xmax >= xmin) || (step < 0) && (xmax <= xmin), 2, "upper bound and larger bound incoherent with step sign"); ^ In file included from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:6:0: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THLongTensor_max': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:54: warning: variable 'indicessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:54: warning: variable 'indicesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:39: warning: variable 'valuessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:39: warning: variable 'valuesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THLongTensor_min': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:54: warning: variable 'indicessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:54: warning: variable 'indicesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:39: warning: variable 'valuessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:39: warning: variable 'valuesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THLongTensor_sum': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:437:39: warning: variable 'r__size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:437:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THLongTensor_prod': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:456:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:456:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THLongTensor_cumsum': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:471:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THLongTensor_cumprod': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:487:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THLongTensor_cross': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:48: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:39: warning: variable 'b_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:30: warning: variable 'a_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:7:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR1##_stride = 0, TENSOR1##_size = 0; \ ^ In file included from generic/THTensorMath.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:18: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THLongTensor_range': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:662:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] THArgCheck((step > 0) && (xmax >= xmin) || (step < 0) && (xmax <= xmin), 2, "upper bound and larger bound incoherent with step sign"); ^ In file included from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:6:0: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THFloatTensor_max': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:54: warning: variable 'indicessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:54: warning: variable 'indicesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:39: warning: variable 'valuessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:39: warning: variable 'valuesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THFloatTensor_min': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:54: warning: variable 'indicessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:54: warning: variable 'indicesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:39: warning: variable 'valuessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:39: warning: variable 'valuesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THFloatTensor_sum': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:437:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:437:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THFloatTensor_prod': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:456:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:456:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THFloatTensor_cumsum': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:471:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THFloatTensor_cumprod': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:487:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THFloatTensor_cross': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:48: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:39: warning: variable 'b_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:30: warning: variable 'a_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:7:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR1##_stride = 0, TENSOR1##_size = 0; \ ^ In file included from generic/THTensorMath.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:18: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THFloatTensor_range': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:662:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] THArgCheck((step > 0) && (xmax >= xmin) || (step < 0) && (xmax <= xmin), 2, "upper bound and larger bound incoherent with step sign"); ^ In file included from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:6:0: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THFloatTensor_mean': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:964:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:964:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THFloatTensor_std': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:983:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:983:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THFloatTensor_var': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:1023:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:1023:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THFloatTensor_norm': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:1063:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:1063:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THDoubleTensor_max': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:54: warning: variable 'indicessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:54: warning: variable 'indicesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:39: warning: variable 'valuessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:380:39: warning: variable 'valuesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THDoubleTensor_min': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:54: warning: variable 'indicessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:54: warning: variable 'indicesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:39: warning: variable 'valuessize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:409:39: warning: variable 'valuesstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, t, real, values, long, indices_, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THDoubleTensor_sum': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:437:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:437:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THDoubleTensor_prod': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:456:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:456:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THDoubleTensor_cumsum': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:471:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THDoubleTensor_cumprod': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:487:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THDoubleTensor_cross': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:48: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:39: warning: variable 'b_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:568:30: warning: variable 'a_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY3(real, a, real, b, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:7:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR1##_stride = 0, TENSOR1##_size = 0; \ ^ In file included from generic/THTensorMath.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:18: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THDoubleTensor_range': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:662:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] THArgCheck((step > 0) && (xmax >= xmin) || (step < 0) && (xmax <= xmin), 2, "upper bound and larger bound incoherent with step sign"); ^ In file included from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:6:0: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THDoubleTensor_mean': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:964:39: warning: variable 'r__size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:964:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THDoubleTensor_std': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:983:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:983:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THDoubleTensor_var': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:1023:39: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:1023:39: warning: variable 'rstride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c: In function 'THDoubleTensor_norm': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:1063:39: warning: variable 'r__size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorMath.c:1063:39: warning: variable 'r__stride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIMAPPLY2(real, t, real, r, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:99:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY2' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ In file included from generic/THTensorConv.c:2:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:21: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THByteTensor_conv2DRevger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:600:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputRows, nOutputCols; ^ In file included from generic/THTensorConv.c:2:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:21: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THByteTensor_conv2Dger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:810:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputRows, nOutputCols; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THByteTensor_conv3DRevger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:1421:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputDepth, nOutputRows, nOutputCols; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THByteTensor_conv3Dger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:1502:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputDepth, nOutputRows, nOutputCols; ^ In file included from generic/THTensorConv.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:21: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THCharTensor_conv2DRevger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:600:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputRows, nOutputCols; ^ In file included from generic/THTensorConv.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:21: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THCharTensor_conv2Dger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:810:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputRows, nOutputCols; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THCharTensor_conv3DRevger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:1421:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputDepth, nOutputRows, nOutputCols; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THCharTensor_conv3Dger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:1502:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputDepth, nOutputRows, nOutputCols; ^ In file included from generic/THTensorConv.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:21: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THShortTensor_conv2DRevger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:600:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputRows, nOutputCols; ^ In file included from generic/THTensorConv.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:21: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THShortTensor_conv2Dger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:810:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputRows, nOutputCols; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THShortTensor_conv3DRevger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:1421:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputDepth, nOutputRows, nOutputCols; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THShortTensor_conv3Dger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:1502:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputDepth, nOutputRows, nOutputCols; ^ In file included from generic/THTensorConv.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:21: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THIntTensor_conv2DRevger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:600:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputRows, nOutputCols; ^ In file included from generic/THTensorConv.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:21: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THIntTensor_conv2Dger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:810:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputRows, nOutputCols; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THIntTensor_conv3DRevger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:1421:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputDepth, nOutputRows, nOutputCols; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THIntTensor_conv3Dger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:1502:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputDepth, nOutputRows, nOutputCols; ^ In file included from generic/THTensorConv.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:21: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THLongTensor_conv2DRevger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:600:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputRows, nOutputCols; ^ In file included from generic/THTensorConv.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:21: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THLongTensor_conv2Dger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:810:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputRows, nOutputCols; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THLongTensor_conv3DRevger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:1421:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputDepth, nOutputRows, nOutputCols; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THLongTensor_conv3Dger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:1502:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputDepth, nOutputRows, nOutputCols; ^ In file included from generic/THTensorConv.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:21: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THFloatTensor_conv2DRevger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:600:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputRows, nOutputCols; ^ In file included from generic/THTensorConv.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:21: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THFloatTensor_conv2Dger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:810:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputRows, nOutputCols; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THFloatTensor_conv3DRevger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:1421:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputDepth, nOutputRows, nOutputCols; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THFloatTensor_conv3Dger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:1502:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputDepth, nOutputRows, nOutputCols; ^ In file included from generic/THTensorConv.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:21: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THDoubleTensor_conv2DRevger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:600:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputRows, nOutputCols; ^ In file included from generic/THTensorConv.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensor.c:21: /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THDoubleTensor_conv2Dger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:810:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputRows, nOutputCols; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THDoubleTensor_conv3DRevger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:1421:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputDepth, nOutputRows, nOutputCols; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c: In function 'THDoubleTensor_conv3Dger': /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/generic/THTensorConv.c:1502:8: warning: variable 'nOutputPlane' set but not used [-Wunused-but-set-variable] long nOutputPlane, nOutputDepth, nOutputRows, nOutputCols; ^ [ 32%] Building C object lib/TH/CMakeFiles/TH.dir/THBlas.c.o [ 33%] Building C object lib/TH/CMakeFiles/TH.dir/THLapack.c.o [ 34%] Building C object lib/TH/CMakeFiles/TH.dir/THLogAdd.c.o [ 35%] Building C object lib/TH/CMakeFiles/TH.dir/THRandom.c.o [ 36%] Building C object lib/TH/CMakeFiles/TH.dir/THFile.c.o [ 36%] Building C object lib/TH/CMakeFiles/TH.dir/THDiskFile.c.o [ 37%] Building C object lib/TH/CMakeFiles/TH.dir/THApkFile.c.o [ 38%] Building C object lib/TH/CMakeFiles/TH.dir/THMemoryFile.c.o Linking C static library libTH.a [ 38%] Built target TH Scanning dependencies of target luaT [ 39%] Building C object lib/luaT/CMakeFiles/luaT.dir/luaT.c.o Linking C static library libluaT.a [ 39%] Built target luaT [ 40%] Generating random.c [ 41%] Generating TensorMath.c Scanning dependencies of target torch [ 42%] Building C object pkg/torch/CMakeFiles/torch.dir/DiskFile.c.o [ 43%] Building C object pkg/torch/CMakeFiles/torch.dir/ApkFile.c.o [ 44%] Building C object pkg/torch/CMakeFiles/torch.dir/File.c.o [ 45%] Building C object pkg/torch/CMakeFiles/torch.dir/MemoryFile.c.o [ 45%] Building C object pkg/torch/CMakeFiles/torch.dir/PipeFile.c.o [ 46%] Building C object pkg/torch/CMakeFiles/torch.dir/Storage.c.o [ 47%] Building C object pkg/torch/CMakeFiles/torch.dir/Tensor.c.o [ 48%] Building C object pkg/torch/CMakeFiles/torch.dir/Timer.c.o [ 50%] Building C object pkg/torch/CMakeFiles/torch.dir/utils.c.o [ 51%] Building C object pkg/torch/CMakeFiles/torch.dir/init.c.o [ 52%] Building C object pkg/torch/CMakeFiles/torch.dir/TensorOperator.c.o [ 53%] Building C object pkg/torch/CMakeFiles/torch.dir/TensorMath.c.o [ 54%] Building C object pkg/torch/CMakeFiles/torch.dir/random.c.o Linking C static library libtorch.a [ 54%] Built target torch Scanning dependencies of target image [ 55%] Building C object 3rdparty/image/CMakeFiles/image.dir/image.c.o Linking C static library libimage.a [ 55%] Built target image Scanning dependencies of target pink [ 56%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/lattribheight.c.o [ 57%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/llabelextrema.c.o [ 57%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/lppm2GA.c.o [ 58%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/lwshedtopo.c.o [ 59%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/lderiche.c.o [ 60%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/lhierarchie.c.o [ 61%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/jccodimage.c.o [ 62%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/jcimage.c.o [ 63%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/jcgraphes.c.o [ 64%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/jccomptree.c.o [ 64%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/jclabelextrema.c.o [ 65%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/llpeGA.c.o [ 66%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/lga2khalimsky.c.o [ 67%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/mcrbt.c.o [ 68%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/mccodimage.c.o [ 69%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/mccomptree.c.o [ 70%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/mcfahsalembier.c.o [ 71%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/mcimage.c.o [ 72%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/mcindic.c.o [ 72%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/mclifo.c.o [ 73%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/mcfifo.c.o [ 74%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/mcunionfind.c.o [ 75%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/mtrand64.c.o [ 76%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/kruskal.c.o [ 77%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/prim.c.o [ 78%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/mincover.c.o [ 79%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/MSF_utils.c.o [ 80%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/mcweightgraph.c.o [ 80%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/sjcomptree.c.o [ 81%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/mcsort.c.o [ 82%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/overlap.c.o [ 83%] Building C object 3rdparty/imgraph/pink/CMakeFiles/pink.dir/decisionSegmentation.c.o Linking C static library libpink.a [ 83%] Built target pink Scanning dependencies of target graphcuts [ 84%] Building CXX object 3rdparty/imgraph/graphcuts/CMakeFiles/graphcuts.dir/maxflow.cpp.o Linking CXX static library libgraphcuts.a [ 84%] Built target graphcuts Scanning dependencies of target imgraph [ 85%] Building CXX object 3rdparty/imgraph/CMakeFiles/imgraph.dir/init.cpp.o In file included from generic/imgraph.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/init.cpp:37: /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c: In function 'int imgraph_Floattree2components(luaState)': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:1228:8: warning: unused variable 'height' [-Wunused-variable] long height = t->cs; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c: In function 'int imgraph_Floathistpooling(luaState)': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:1578:7: warning: unused variable 'computeLists' [-Wunused-variable] int computeLists = lua_toboolean(L, 3); ^ In file included from generic/imgraph.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/init.cpp:37: /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c: In function 'int imgraph_Doubletree2components(luaState)': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:1228:8: warning: unused variable 'height' [-Wunused-variable] long height = t->cs; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c: In function 'int imgraph_Doublehistpooling(luaState)': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:1578:7: warning: unused variable 'computeLists' [-Wunused-variable] int computeLists = lua_toboolean(L, 3); ^ In file included from generic/imgraph.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/init.cpp:37: /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c: In function 'int imgraph_Floatfiltertree(luaState)': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:1129:45: warning: 'attribute' may be used uninitialized in this function [-Wmaybe-uninitialized] mstCompute(t->tree, mst, value, attribute); ^ In file included from generic/imgraph.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/init.cpp:37: /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c: In function 'int imgraph_Doublefiltertree(luaState)': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:1129:45: warning: 'attribute' may be used uninitialized in this function [-Wmaybe-uninitialized] mstCompute(t->tree, mst, value, attribute); ^ In file included from generic/imgraph.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/init.cpp:37: /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c: In function 'int imgraph_Floatgraph(luaState)': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:155:78: warning: 'width' may be used uninitialized in this function [-Wmaybe-uninitialized] x, y, x+1, y-1, dt); ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:155:78: warning: 'height' may be used uninitialized in this function [-Wmaybe-uninitialized] /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:155:78: warning: 'channels' may be used uninitialized in this function [-Wmaybe-uninitialized] /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:74:28: warning: 'width' may be used uninitialized in this function [-Wmaybe-uninitialized] long channels, height, width; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:74:20: warning: 'height' may be used uninitialized in this function [-Wmaybe-uninitialized] long channels, height, width; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:39:3: warning: 'channels' may be used uninitialized in this function [-Wmaybe-uninitialized] for (i=0; i<nfeats; i++) { ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:74:10: note: 'channels' was declared here long channels, height, width; ^ In file included from generic/imgraph.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/init.cpp:37: /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c: In function 'int imgraph_Doublecuttree(lua_State*)': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:1188:20: warning: 'cut' may be used uninitialized in this function [-Wmaybe-uninitialized] cut = cut->next; ^ In file included from generic/imgraph.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/init.cpp:37: /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c: In function 'int imgraph_Floatcuttree(luaState)': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:1188:20: warning: 'cut' may be used uninitialized in this function [-Wmaybe-uninitialized] cut = cut->next; ^ In file included from generic/imgraph.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/init.cpp:37: /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c: In function 'int imgraph_Doublegraph(luaState)': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:155:78: warning: 'width' may be used uninitialized in this function [-Wmaybe-uninitialized] x, y, x+1, y-1, dt); ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:155:78: warning: 'height' may be used uninitialized in this function [-Wmaybe-uninitialized] /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:155:78: warning: 'channels' may be used uninitialized in this function [-Wmaybe-uninitialized] /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:74:28: warning: 'width' may be used uninitialized in this function [-Wmaybe-uninitialized] long channels, height, width; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:74:20: warning: 'height' may be used uninitialized in this function [-Wmaybe-uninitialized] long channels, height, width; ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:39:3: warning: 'channels' may be used uninitialized in this function [-Wmaybe-uninitialized] for (i=0; i<nfeats; i++) { ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/imgraph/generic/imgraph.c:74:10: note: 'channels' was declared here long channels, height, width; ^ Linking CXX static library libimgraph.a [ 85%] Built target imgraph Scanning dependencies of target socket [ 86%] Building C object 3rdparty/luasocket-2.0.2/CMakeFiles/socket.dir/auxiliar.c.o [ 87%] Building C object 3rdparty/luasocket-2.0.2/CMakeFiles/socket.dir/except.c.o [ 88%] Building C object 3rdparty/luasocket-2.0.2/CMakeFiles/socket.dir/io.c.o [ 88%] Building C object 3rdparty/luasocket-2.0.2/CMakeFiles/socket.dir/mime.c.o [ 89%] Building C object 3rdparty/luasocket-2.0.2/CMakeFiles/socket.dir/select.c.o [ 90%] Building C object 3rdparty/luasocket-2.0.2/CMakeFiles/socket.dir/timeout.c.o [ 91%] Building C object 3rdparty/luasocket-2.0.2/CMakeFiles/socket.dir/unix.c.o [ 92%] Building C object 3rdparty/luasocket-2.0.2/CMakeFiles/socket.dir/buffer.c.o /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/luasocket-2.0.2/buffer.c: In function 'buffer_meth_send': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/luasocket-2.0.2/buffer.c:83:15: warning: unused variable 'tm' [-Wunused-variable] p_timeout tm = timeout_markstart(buf->tm); ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/luasocket-2.0.2/buffer.c: In function 'buffer_meth_receive': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/luasocket-2.0.2/buffer.c:114:15: warning: unused variable 'tm' [-Wunused-variable] p_timeout tm = timeout_markstart(buf->tm); ^ [ 93%] Building C object 3rdparty/luasocket-2.0.2/CMakeFiles/socket.dir/inet.c.o [ 94%] Building C object 3rdparty/luasocket-2.0.2/CMakeFiles/socket.dir/luasocket.c.o [ 95%] Building C object 3rdparty/luasocket-2.0.2/CMakeFiles/socket.dir/options.c.o [ 96%] Building C object 3rdparty/luasocket-2.0.2/CMakeFiles/socket.dir/tcp.c.o [ 96%] Building C object 3rdparty/luasocket-2.0.2/CMakeFiles/socket.dir/udp.c.o [ 97%] Building C object 3rdparty/luasocket-2.0.2/CMakeFiles/socket.dir/usocket.c.o Linking C static library libsocket.a [ 97%] Built target socket Scanning dependencies of target nn [ 98%] Building C object 3rdparty/nn/CMakeFiles/nn.dir/init.c.o In file included from /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/TH.h:17:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/init.c:1: /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c: In function 'nn_FloatMax_updateOutput': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c:25:57: warning: variable 'indices_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, output, real, input, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c:25:57: warning: variable 'indices_stride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, output, real, input, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c:25:30: warning: variable 'output_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, output, real, input, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:7:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR1##_stride = 0, TENSOR1##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c:25:30: warning: variable 'output_stride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, output, real, input, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:7:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR1##_stride = 0, TENSOR1##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c: In function 'nn_FloatMax_updateGradInput': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c:79:75: warning: variable 'indices_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c:79:75: warning: variable 'indices_stride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c:79:47: warning: variable 'gradOutputPlusOneDim_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c:79:47: warning: variable 'gradOutputPlusOneDim_stride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c:79:30: warning: variable 'gradInput_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:7:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR1##_stride = 0, TENSOR1##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c: In function 'nn_DoubleMax_updateOutput': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c:25:57: warning: variable 'indices_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, output, real, input, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c:25:57: warning: variable 'indices_stride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, output, real, input, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c:25:30: warning: variable 'output_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, output, real, input, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:7:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR1##_stride = 0, TENSOR1##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c:25:30: warning: variable 'output_stride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, output, real, input, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:7:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR1##_stride = 0, TENSOR1##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c: In function 'nn_DoubleMax_updateGradInput': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c:79:75: warning: variable 'indices_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c:79:75: warning: variable 'indices_stride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c:79:47: warning: variable 'gradOutputPlusOneDim_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c:79:47: warning: variable 'gradOutputPlusOneDim_stride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Max.c:79:30: warning: variable 'gradInput_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:7:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR1##_stride = 0, TENSOR1##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c: In function 'nn_FloatMin_updateOutput': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c:25:57: warning: variable 'indices_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, output, real, input, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c:25:57: warning: variable 'indices_stride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, output, real, input, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c:25:30: warning: variable 'output_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, output, real, input, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:7:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR1##_stride = 0, TENSOR1##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c:25:30: warning: variable 'output_stride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, output, real, input, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:7:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR1##_stride = 0, TENSOR1##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c: In function 'nn_FloatMin_updateGradInput': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c:79:75: warning: variable 'indices_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c:79:75: warning: variable 'indices_stride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c:79:47: warning: variable 'gradOutputPlusOneDim_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c:79:47: warning: variable 'gradOutputPlusOneDim_stride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c:79:30: warning: variable 'gradInput_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:7:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR1##_stride = 0, TENSOR1##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c: In function 'nn_DoubleMin_updateOutput': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c:25:57: warning: variable 'indices_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, output, real, input, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c:25:57: warning: variable 'indices_stride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, output, real, input, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c:25:30: warning: variable 'output_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, output, real, input, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:7:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR1##_stride = 0, TENSOR1##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c:25:30: warning: variable 'output_stride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, output, real, input, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:7:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR1##_stride = 0, TENSOR1##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c: In function 'nn_DoubleMin_updateGradInput': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c:79:75: warning: variable 'indices_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c:79:75: warning: variable 'indices_stride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:11:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR3##_stride = 0, TENSOR3##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c:79:47: warning: variable 'gradOutputPlusOneDim_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c:79:47: warning: variable 'gradOutputPlusOneDim_stride' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:9:8: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR2##_stride = 0, TENSOR2##_size = 0; \ ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/Min.c:79:30: warning: variable 'gradInput_size' set but not used [-Wunused-but-set-variable] TH_TENSOR_DIM_APPLY3(real, gradInput, real, gradOutputPlusOneDim, real, indices, dimension, ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/lib/TH/THTensorDimApply.h:7:30: note: in definition of macro 'TH_TENSOR_DIM_APPLY3' long TENSOR1##_stride = 0, TENSOR1##_size = 0; \ ^ In file included from generic/SpatialSubSampling.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/init.c:90: /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/SpatialSubSampling.c: In function 'nn_FloatSpatialSubSampling_updateGradInput': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/SpatialSubSampling.c:126:9: warning: variable 'input_data' set but not used [-Wunused-but-set-variable] real input_data, gradInput_data; ^ In file included from generic/SpatialSubSampling.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/init.c:90: /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/SpatialSubSampling.c: In function 'nn_DoubleSpatialSubSampling_updateGradInput': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nn/generic/SpatialSubSampling.c:126:9: warning: variable 'input_data' set but not used [-Wunused-but-set-variable] real input_data, gradInput_data; ^ Linking C static library libnn.a [ 98%] Built target nn Scanning dependencies of target nnx [100%] Building C object 3rdparty/nnx/CMakeFiles/nnx.dir/init.c.o In file included from generic/SpatialGraph.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nnx/init.c:34: /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nnx/generic/SpatialGraph.c: In function 'nn_FloatSpatialGraph_updateGradInput': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nnx/generic/SpatialGraph.c:205:33: warning: 'term3' may be used uninitialized in this function [-Wmaybe-uninitialized] partiald = term3 * THTensor(get3d)(input, k, y, x+1) ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nnx/generic/SpatialGraph.c:196:33: warning: 'term2' may be used uninitialized in this function [-Wmaybe-uninitialized] partiald = term2 * THTensor(get3d)(input, k, y, x) ^ In file included from generic/SpatialGraph.c:1:0, from /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nnx/init.c:34: /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nnx/generic/SpatialGraph.c: In function 'nn_DoubleSpatialGraph_updateGradInput': /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nnx/generic/SpatialGraph.c:205:33: warning: 'term3' may be used uninitialized in this function [-Wmaybe-uninitialized] partiald = term3 * THTensor(get3d)(input, k, y, x+1) ^ /Users/wmhtet/AndroidStudioProjects/torch-android/src/3rdparty/nnx/generic/SpatialGraph.c:196:33: warning: 'term2' may be used uninitialized in this function [-Wmaybe-uninitialized] partiald = term2 * THTensor(get3d)(input, k, y, x) ^ Linking C static library libnnx.a [100%] Built target nnx Install the project... -- Install configuration: "Release" -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/TorchExports.cmake -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/TorchExports-release.cmake -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/TorchConfig.cmake -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/TorchPathsInit.cmake -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/TorchCFlags.cmake -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/TorchPackage.cmake -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/TorchWrap.cmake -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/TorchDOK.cmake -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/TorchLua2exe.cmake -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/FindARM.cmake -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/dok -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/dok/doctorch.css -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/dok/docwebtemplate.html -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/dok/dokindex.lua -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/dok/dokparse.lua -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/dok/doktemplate.html -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/dok/jquery.js -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/dok/jse_form.js -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/dok/shBrushBash.js -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/dok/shBrushCpp.js -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/dok/shBrushLua.js -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/dok/shCore.css -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/dok/shCore.js -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/dok/torchlogo.png -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/lua2exe -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/lua2exe/lua2exe.lua -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/luaconf.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/lua.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/lauxlib.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/lualib.h -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/lib/libTH.a -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/TH.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/THBlas.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/THDiskFile.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/THApkFile.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/THFile.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/THFilePrivate.h -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/THGeneral.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/THGenerateAllTypes.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/THGenerateFloatTypes.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/THGenerateIntTypes.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/THLapack.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/THLogAdd.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/THMemoryFile.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/THRandom.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/THStorage.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/THTensor.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/THTensorApply.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/THTensorDimApply.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/THTensorMacros.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/THVector.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THBlas.c -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THBlas.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THLapack.c -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THLapack.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THStorage.c -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THStorage.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THStorageCopy.c -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THStorageCopy.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THTensor.c -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THTensor.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THTensorConv.c -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THTensorConv.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THTensorCopy.c -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THTensorCopy.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THTensorLapack.c -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THTensorLapack.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THTensorMath.c -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THTensorMath.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THTensorRandom.c -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THTensorRandom.h -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/TH/generic/THVector.c -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/THConfig.cmake -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/lib/libluaT.a -- Up-to-date: /Users/wmhtet/AndroidStudioProjects/torch-android/include/torch/luaT.h -- Installing: /Users/wmhtet/AndroidStudioProjects/torch-android/share/cmake/torch/luaTConfig.cmake Copying libraries cp: src/libs/armeabi-v7a/*.a: No such file or directory done exporting lua sources done removing cmake files in framework done ELS-F19624M:torch-android wmhtet$