flrig: C++ warning help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



While it's only a warning, I would like to "fix" it.

When building flrig I'm seeing the following:

widgets/font_browser.cxx: In member function '__ct_base .constprop':
widgets/font_browser.cxx:202:52: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
  202 |                 font_pairs = new font_pair[numfonts];
      |                                                    ^

The code can be found here:
https://sourceforge.net/p/fldigi/flrig/ci/master/tree/src/widgets/font_browser.cxx#l201

Any hints would be appreciated.

Thanks,
Richard
--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux