Hello Andrew,

when compiling GLPK-4.64 with GCC 7.2 the following warning is shown:

misc/wclique1.c: In function '_glp_wclique1':
misc/wclique1.c:121:7: warning: 'memset': specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
       memset(&skip[1], 0, sizeof(char) * n);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
misc/wclique1.c:123:7: warning: 'memset': specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
       memset(&d_flag[1], 0, sizeof(char) * n);

Best regards

Heinrich

_______________________________________________
Bug-glpk mailing list
Bug-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to