Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: narrowing conversion while running 'make all' command #130

Open
chandan-shashidhar opened this issue Oct 21, 2017 · 1 comment
Open

Comments

@chandan-shashidhar
Copy link

chandan-shashidhar commented Oct 21, 2017

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
'''

@skhayrulin
Copy link
Member

skhayrulin commented Oct 22, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants