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 while compliling #77

Open
Dhwani-2410 opened this issue Oct 12, 2022 · 0 comments
Open

error while compliling #77

Dhwani-2410 opened this issue Oct 12, 2022 · 0 comments

Comments

@Dhwani-2410
Copy link

~/Documents/Softwares/TMAP$ make
make all-recursive
make[1]: Entering directory '/home/dhwani/Documents/Softwares/TMAP'
Making all in .
make[2]: Entering directory '/home/dhwani/Documents/Softwares/TMAP'
depbase=echo src/sw/lib/Solution9.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';
g++ -DHAVE_CONFIG_H -I. -Wall -g -O3 -pthread -msse3 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -MT src/sw/lib/Solution9.o -MD -MP -MF $depbase.Tpo -c -o src/sw/lib/Solution9.o src/sw/lib/Solution9.cpp &&
mv -f $depbase.Tpo $depbase.Po
src/sw/lib/Solution9.cpp:152:133: error: narrowing conversion of ‘197’ from ‘int’ to ‘char’ [-Wnarrowing]
152 | 6[16] = {0x68, 0xC5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
| ^

make[2]: *** [Makefile:1433: src/sw/lib/Solution9.o] Error 1
make[2]: Leaving directory '/home/dhwani/Documents/Softwares/TMAP'
make[1]: *** [Makefile:1476: all-recursive] Error 1
make[1]: Leaving directory '/home/dhwani/Documents/Softwares/TMAP'
make: *** [Makefile:754: all] Error 2

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

1 participant