Re: [Bug-glpk] misc/wclique1.c:121:7: warning: 'memset': specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]

2018-02-02 Thread Andrew Makhorin
Heinrich, > Please, add the missing explicit conversions to silence the warning. It is a bad idea. Besides, the GNU Coding Standard recommends not to do explicit casting if it is not needed. Please see http://lists.gnu.org/archive/html/bug-glpk/2017-10/msg3.html . > > Distributions like D

Re: [Bug-glpk] misc/wclique1.c:121:7: warning: 'memset': specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]

2018-02-02 Thread Heinrich Schuchardt
Please, add the missing explicit conversions to silence the warning. Distributions like Debian want to be able to set a compiler flag which treats every warning as error. Best regards Heinrich Am 02.02.18, 20:38, Andrew Makhorin schrieb: Hi Heinrich, > > when compiling GLPK-4.64 with GCC 7.2

Re: [Bug-glpk] misc/wclique1.c:121:7: warning: 'memset': specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]

2018-02-02 Thread Andrew Makhorin
Hi Heinrich, > > 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 922337203685

[Bug-glpk] misc/wclique1.c:121:7: warning: 'memset': specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]

2018-02-02 Thread Heinrich Schuchardt
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 [-Wst