Snippets for gnome-calculator 50.0 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/4qsp6b1rxcyd2z4zxl2rd9jzf0h099y7-gnome-calculator-50.0.drv.
-
lib/libcalculator.a.p/equation-parser.c:7375:1: warning: 'parser_destroy_all_nodes' defined but not used [-Wunused-function] 7375 | parser_destroy_all_nodes (Parser* self, | ^~~~~~~~~~~~~~~~~~~~~~~~ -
lib/libcalculator.a.p/math-equation.c:4422:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 4422 | bits = *((guint64*) (&d)); | ~^~~~~~~~~~~~~~~~ -
lib/libcalculator.a.p/math-equation.c:4428:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 4428 | bits = (guint64) (*((guint32*) (&f))); | ~^~~~~~~~~~~~~~~~ -
lib/libcalculator.a.p/math-equation.c:4473:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 4473 | _tmp25_ = number_new_double (*((gdouble*) (&bits)), (gdouble) 0); | ~^~~~~~~~~~~~~~~~~~~ -
lib/libcalculator.a.p/math-equation.c:4478:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 4478 | _tmp26_ = number_new_float (*((gfloat*) (&bits)), (gfloat) 0); | ~^~~~~~~~~~~~~~~~~~ -
lib/libcalculator.a.p/number.c:329:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 329 | mpc_set_ui_ui (&self->priv->num, (gulong) (*((guint32*) (&real))), (gulong) 0, MPC_RNDNN); | ~^~~~~~~~~~~~~~~~~~~ -
lib/libcalculator.a.p/number.c:352:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 352 | mpc_set_ui_ui (&self->priv->num, (gulong) (*((guint64*) (&real))), (gulong) 0, MPC_RNDNN); | ~^~~~~~~~~~~~~~~~~~~ -
lib/libcalculator.a.p/number.c:568:46: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 568 | result = (gfloat) (*((gdouble*) (&bits))); | ~^~~~~~~~~~~~~~~~~~~ -
lib/libcalculator.a.p/number.c:571:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 571 | result = *((gfloat*) (&bits)); | ~^~~~~~~~~~~~~~~~~~ -
lib/libcalculator.a.p/number.c:589:36: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 589 | result = *((gdouble*) (&bits)); | ~^~~~~~~~~~~~~~~~~~~ -
lib/libcalculator.a.p/number.c:592:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 592 | result = (gdouble) (*((gfloat*) (&bits))); | ~^~~~~~~~~~~~~~~~~~ -
lib/libcalculator.a.p/number.c:1587:17: warning: 'mpfr_root' is deprecated [-Wdeprecated-declarations] 1587 | mpfr_root (&_tmp7_->val, &_tmp9_->val, (gulong) p, MPFR_RNDN); | ^~~~~~~~~ -
lib/libcalculator.a.p/number.c:3637:1: warning: 'block2_data_ref' defined but not used [-Wunused-function] 3637 | block2_data_ref (Block2Data* _data2_) | ^~~~~~~~~~~~~~~ -
lib/libcalculator.a.p/providers/ecb-provider.c:382:40: warning: pointer targets in assignment from 'const xmlChar *' {aka 'const unsigned char *'} to 'const gchar *' {aka 'const char *'} differ in signedness [-Wpointer-sign] 382 | _tmp7_ = _tmp6_->name; | ^ -
lib/libcalculator.a.p/providers/ecb-provider.c:394:49: warning: pointer targets in assignment from 'const xmlChar *' {aka 'const unsigned char *'} to 'const gchar *' {aka 'const char *'} differ in signedness [-Wpointer-sign] 394 | _tmp11_ = _tmp10_->name; | ^ -
lib/libcalculator.a.p/providers/boc-provider.c:373:1: warning: 'bc_currency_provider_get_currency_filename' defined but not used [-Wunused-function] 373 | bc_currency_provider_get_currency_filename (BCCurrencyProvider* self) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
lib/libcalculator.a.p/providers/boc-provider.c:351:1: warning: 'bc_currency_provider_get_currency' defined but not used [-Wunused-function] 351 | bc_currency_provider_get_currency (BCCurrencyProvider* self) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/gnome-calculator.p/buttons-programming.c:1125:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1125 | bits = *((guint64*) (&d)); | ~^~~~~~~~~~~~~~~~ -
src/gnome-calculator.p/buttons-programming.c:1138:61: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1138 | bits = (guint64) (*((guint32*) (&f))); | ~^~~~~~~~~~~~~~~~ -
src/gnome-calculator.p/buttons-programming.c:1330:50: warning: format '%llo' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] 1330 | _tmp63_ = g_strdup_printf ("%s%llo₈ ", _tmp62_, bits); | ~~~^ ~~~~ | | | | | guint64 {aka long unsigned int} | long long unsigned int | %lo -
src/gnome-calculator.p/buttons-programming.c:1348:50: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] 1348 | _tmp71_ = g_strdup_printf ("%s%llu₁₀ ", _tmp70_, bits); | ~~~^ ~~~~ | | | | | guint64 {aka long unsigned int} | long long unsigned int | %lu -
src/gnome-calculator.p/buttons-programming.c:1366:50: warning: format '%llX' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] 1366 | _tmp79_ = g_strdup_printf ("%s%llX₁₆", _tmp78_, bits); | ~~~^ ~~~~ | | | | | guint64 {aka long unsigned int} | long long unsigned int | %lX -
src/gnome-calculator.p/math-converter.c:1939:1: warning: 'block6_data_ref' defined but not used [-Wunused-function] 1939 | block6_data_ref (Block6Data* _data6_) | ^~~~~~~~~~~~~~~ -
src/gnome-calculator.p/math-preferences.c:1164:1: warning: 'block9_data_ref' defined but not used [-Wunused-function] 1164 | block9_data_ref (Block9Data* _data9_) | ^~~~~~~~~~~~~~~ -
src/gnome-calculator.p/math-preferences.c:972:1: warning: 'block8_data_ref' defined but not used [-Wunused-function] 972 | block8_data_ref (Block8Data* _data8_) | ^~~~~~~~~~~~~~~ -
search-provider/gnome-calculator-search-provider.p/search-provider.c:2640:9: warning: label '_error' defined but not used [-Wunused-label] 2640 | _error: | ^~~~~~ -
search-provider/gnome-calculator-search-provider.p/search-provider.c:2748:9: warning: label '_error' defined but not used [-Wunused-label] 2748 | _error: | ^~~~~~ -
search-provider/gnome-calculator-search-provider.p/search-provider.c:2832:9: warning: label '_error' defined but not used [-Wunused-label] 2832 | _error: | ^~~~~~ -
search-provider/gnome-calculator-search-provider.p/search-provider.c:2936:9: warning: label '_error' defined but not used [-Wunused-label] 2936 | _error: | ^~~~~~ -
tests/test-number.p/test-number.c:164:108: warning: format '%lli' expects argument of type 'long long int', but argument 3 has type 'gint64' {aka 'long int'} [-Wformat=] 164 | _tmp5_ = g_strdup_printf ("Number.integer (%d).to_integer () -> %lli, expected %i", a, number_to_integer (_tmp4_), a); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int gint64 {aka long int} | %li -
tests/test-number.p/test-number.c:2762:93: warning: format '%lli' expects argument of type 'long long int', but argument 3 has type 'gint64' {aka 'long int'} [-Wformat=] 2762 | _tmp12_ = g_strdup_printf ("(%d).factorial () -> %lli, expected %lli", a, number_to_integer (_tmp11_), expected); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int gint64 {aka long int} | %li -
tests/test-number.p/test-number.c:2762:108: warning: format '%lli' expects argument of type 'long long int', but argument 4 has type 'gint' {aka 'int'} [-Wformat=] 2762 | _tmp12_ = g_strdup_printf ("(%d).factorial () -> %lli, expected %lli", a, number_to_integer (_tmp11_), expected); | ~~~^ ~~~~~~~~ | | | | long long int gint {aka int} | %i -
tests/test-number.p/test-number.c:2837:113: warning: format '%lli' expects argument of type 'long long int', but argument 4 has type 'gint64' {aka 'long int'} [-Wformat=] 2837 | _tmp12_ = g_strdup_printf ("(%d).add (%d) -> %lli, expected %d", a, b, number_to_integer (_tmp11_), expected); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int gint64 {aka long int} | %li -
tests/test-number.p/test-number.c:2914:118: warning: format '%lli' expects argument of type 'long long int', but argument 4 has type 'gint64' {aka 'long int'} [-Wformat=] 2914 | _tmp12_ = g_strdup_printf ("(%d).subtract (%d) -> %lli, expected %d", a, b, number_to_integer (_tmp11_), expected); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int gint64 {aka long int} | %li -
tests/test-number.p/test-number.c:2991:118: warning: format '%lli' expects argument of type 'long long int', but argument 4 has type 'gint64' {aka 'long int'} [-Wformat=] 2991 | _tmp12_ = g_strdup_printf ("(%d).multiply (%d) -> %lli, expected %d", a, b, number_to_integer (_tmp11_), expected); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int gint64 {aka long int} | %li -
tests/test-number.p/test-number.c:3063:126: warning: format '%lli' expects argument of type 'long long int', but argument 4 has type 'gint64' {aka 'long int'} [-Wformat=] 3063 | _tmp10_ = g_strdup_printf ("(%d).multiply_integer (%d) -> %lli, expected %d", a, b, number_to_integer (_tmp9_), expected); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int gint64 {aka long int} | %li -
tests/test-number.p/test-number.c:3143:116: warning: format '%lli' expects argument of type 'long long int', but argument 4 has type 'gint64' {aka 'long int'} [-Wformat=] 3143 | _tmp12_ = g_strdup_printf ("(%d).divide (%d) -> %lli, expected %d", a * b, b, number_to_integer (_tmp11_), expected); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int gint64 {aka long int} | %li -
tests/test-number.p/test-number.c:3218:124: warning: format '%lli' expects argument of type 'long long int', but argument 4 has type 'gint64' {aka 'long int'} [-Wformat=] 3218 | _tmp10_ = g_strdup_printf ("(%d).divide_integer (%d) -> %lli, expected %d", a * b, b, number_to_integer (_tmp9_), expected); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int gint64 {aka long int} | %li -
tests/test-number.p/test-number.c:3295:124: warning: format '%lli' expects argument of type 'long long int', but argument 4 has type 'gint64' {aka 'long int'} [-Wformat=] 3295 | _tmp12_ = g_strdup_printf ("(%d).modulus_divide (%d) -> %lli, expected %d", a, b, number_to_integer (_tmp11_), expected); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int gint64 {aka long int} | %li -
tests/test-number.p/test-number.c:3474:113: warning: format '%lli' expects argument of type 'long long int', but argument 4 has type 'gint64' {aka 'long int'} [-Wformat=] 3474 | _tmp12_ = g_strdup_printf ("(%d).and (%d) -> %lli, expected %d", a, b, number_to_integer (_tmp11_), expected); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int gint64 {aka long int} | %li -
tests/test-number.p/test-number.c:3551:112: warning: format '%lli' expects argument of type 'long long int', but argument 4 has type 'gint64' {aka 'long int'} [-Wformat=] 3551 | _tmp12_ = g_strdup_printf ("(%d).or (%d) -> %lli, expected %d", a, b, number_to_integer (_tmp11_), expected); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int gint64 {aka long int} | %li -
tests/test-number.p/test-number.c:3628:113: warning: format '%lli' expects argument of type 'long long int', but argument 4 has type 'gint64' {aka 'long int'} [-Wformat=] 3628 | _tmp12_ = g_strdup_printf ("(%d).xor (%d) -> %lli, expected %d", a, b, number_to_integer (_tmp11_), expected); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int gint64 {aka long int} | %li -
tests/test-number.p/test-number.c:3684:86: warning: format '%lli' expects argument of type 'long long int', but argument 3 has type 'gint64' {aka 'long int'} [-Wformat=] 3684 | _tmp8_ = g_strdup_printf ("(%d).not () -> %lli, expected %d", a, number_to_integer (_tmp7_), expected); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int gint64 {aka long int} | %li -
tests/test-number.p/test-number.c:3764:120: warning: format '%lli' expects argument of type 'long long int', but argument 4 has type 'gint64' {aka 'long int'} [-Wformat=] 3764 | _tmp12_ = g_strdup_printf ("(%d).left_shift (%d) -> %lli, expected %d", a, b, number_to_integer (_tmp11_), expected); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int gint64 {aka long int} | %li -
tests/test-number.p/test-number.c:3787:121: warning: format '%lli' expects argument of type 'long long int', but argument 4 has type 'gint64' {aka 'long int'} [-Wformat=] 3787 | _tmp21_ = g_strdup_printf ("(%d).right_shift (%d) -> %lli, expected %d", a, b, number_to_integer (_tmp20_), expected); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int gint64 {aka long int} | %li -
tests/test-number.p/test-number.c:3818:138: warning: format '%lli' expects argument of type 'long long int', but argument 4 has type 'gint64' {aka 'long int'} [-Wformat=] 3818 | _tmp30_ = g_strdup_printf ("(%d).unsigned_right_shift (%d) -> %lli, expected %u", a, b, number_to_integer (_tmp29_), expected_u); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int gint64 {aka long int} | %li