We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running make after ./configure with all example projects, make exits with errorcode 2.
CppDemo/CppDemo.cpp:50:1: error: narrowing conversion of ‘-1’ from ‘int’ to ‘long unsigned int’ [-Wnarrowing]
It is thrown by negative integers in an unsigned long int array.
The text was updated successfully, but these errors were encountered:
@ollelogdahl as a workaround I found a solution to use #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wnarrowing"
//narrowing error code
#pragma GCC diagnostic pop
Sorry, something went wrong.
No branches or pull requests
Running make after ./configure with all example projects, make exits with errorcode 2.
CppDemo/CppDemo.cpp:50:1: error: narrowing conversion of ‘-1’ from ‘int’ to ‘long unsigned int’ [-Wnarrowing]
It is thrown by negative integers in an unsigned long int array.
The text was updated successfully, but these errors were encountered: