You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RA_Token.cpp:989:7: error: narrowing conversion of ‘194’ from ‘int’ to ‘char’ inside { }
GCC 6 is more strict than GCC 5 and earlier. It refuses to initialize a char[] with 'int' initializers because char is signed while the its are values from 0 to 255. The fix is simple: make the array an unsigned char array.
The text was updated successfully, but these errors were encountered:
This issue was migrated from Pagure Issue #2221. Originally filed by cheimes (@tiran) on 2016-02-26 17:24:46:
GCC 6 in Fedora 24 fails to compile RA_Token.cpp:
GCC 6 is more strict than GCC 5 and earlier. It refuses to initialize a char[] with 'int' initializers because char is signed while the its are values from 0 to 255. The fix is simple: make the array an unsigned char array.
The text was updated successfully, but these errors were encountered: