Error: narrowing conversion while running 'make all' command
chandan-shashidhar opened this issue · 1 comments
error: narrowing conversion of ‘16909060’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
} bint = {0x01020304};
This occured while running 'make all' command after cloning the repository.
'''
Building file: src/owVtkExport.cpp
Invoking: GCC C++ Compiler
g++ -I/usr/include/python2.7 -I/opt/AMDAPPSDK-3.0/include/ -Iinc -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"Release/obj/owVtkExport.d" -MT"Release/obj/owVtkExport.d" -o "Release/obj/owVtkExport.o" "src/owVtkExport.cpp"
src/owVtkExport.cpp: In function ‘void owVtkExport::setEndianness()’:
src/owVtkExport.cpp:60:23: error: narrowing conversion of ‘16909060’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
} bint = {0x01020304};
^
makefile:39: recipe for target 'Release/obj/owVtkExport.o' failed
make: *** [Release/obj/owVtkExport.o] Error 1
'''
Hi @KameyHameyHa from what brunch did you clone sibernetic? And could you please tell me your machine configuration? Also you can try throw this file out owVtkExport.cpp and all connected with it stuff from code and make file.