Snippets for agg-antigrain 2.5 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/vwh11r8cqqgl9ffbdrbwyikdg2nqfg1x-agg-2.5.drv.
-
../../include/agg_basics.h:215:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 215 | register unsigned q = a * b + (1 << (Shift-1)); | ^ -
../../include/agg_trans_affine.h:301:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 301 | register double tmp = *x; | ^~~ -
../../include/agg_trans_affine.h:309:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 309 | register double tmp = *x; | ^~~ -
../../include/agg_trans_affine.h:317:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 317 | register double d = determinant_reciprocal(); | ^ -
../../include/agg_trans_affine.h:318:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 318 | register double a = (*x - tx) * d; | ^ -
../../include/agg_trans_affine.h:319:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 319 | register double b = (*y - ty) * d; | ^ -
../include/agg_basics.h:215:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 215 | register unsigned q = a * b + (1 << (Shift-1)); | ^ -
../include/agg_trans_affine.h:301:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 301 | register double tmp = *x; | ^~~ -
../include/agg_trans_affine.h:309:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 309 | register double tmp = *x; | ^~~ -
../include/agg_trans_affine.h:317:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 317 | register double d = determinant_reciprocal(); | ^ -
../include/agg_trans_affine.h:318:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 318 | register double a = (*x - tx) * d; | ^ -
../include/agg_trans_affine.h:319:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 319 | register double b = (*y - ty) * d; | ^ -
agg_gsv_text.cpp:564:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 564 | fread(&m_loaded_font[0], 1, len, fd); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../../../include/agg_basics.h:215:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 215 | register unsigned q = a * b + (1 << (Shift-1)); | ^ -
../../../include/agg_trans_affine.h:301:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 301 | register double tmp = *x; | ^~~ -
../../../include/agg_trans_affine.h:309:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 309 | register double tmp = *x; | ^~~ -
../../../include/agg_trans_affine.h:317:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 317 | register double d = determinant_reciprocal(); | ^ -
../../../include/agg_trans_affine.h:318:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 318 | register double a = (*x - tx) * d; | ^ -
../../../include/agg_trans_affine.h:319:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 319 | register double b = (*y - ty) * d; | ^ -
agg_platform_support.cpp:583:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 583 | "R=%08x, R=%08x, B=%08x\n", r_mask, g_mask, b_mask); | ~~~^ ~~~~~~ | | | | unsigned int long unsigned int | %08lx -
agg_platform_support.cpp:583:34: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] 583 | "R=%08x, R=%08x, B=%08x\n", r_mask, g_mask, b_mask); | ~~~^ ~~~~~~ | | | | unsigned int long unsigned int | %08lx -
agg_platform_support.cpp:583:42: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] 583 | "R=%08x, R=%08x, B=%08x\n", r_mask, g_mask, b_mask); | ~~~^ ~~~~~~ | | | | unsigned int long unsigned int | %08lx -
agg_platform_support.cpp:1092:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1092 | fread(m_specific->m_buf_img[idx], 1, width * height * 3, fd); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
agg_platform_support.cpp:1105:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1105 | fread(buf_img, 1, width * height * 3, fd); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~