Small bug in test code, gmp 5.1.2

Steve M. Robbins steve at sumost.ca
Mon Jul 1 03:30:55 CEST 2013


Hi,

Rebuilding gmp 5.1.2, noticed a couple diagnostics in the test code:


../../../tests/mpz/t-mfac_uiui.c: In function ‘main’:
../../../tests/mpz/t-mfac_uiui.c:69:11: warning: too many arguments for format 
[-Wformat-extra-args]
           printf ("mpz_mfac_uiui(%lu,&i) wrong\n", n, MULTIFAC_WHEEL);
           ^
../../../tests/mpz/t-mfac_uiui.c:78:11: warning: too many arguments for format 
[-Wformat-extra-args]
           printf ("mpz_mfac_uiui(%lu,&i) wrong\n", n, MULTIFAC_WHEEL2);
           ^

Regards,
-Steve


More information about the gmp-bugs mailing list