Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation problem Ubuntu 22.04 #3002

Closed
2 of 5 tasks
whitecrixu opened this issue Oct 21, 2024 · 2 comments · Fixed by #3188
Closed
2 of 5 tasks

Compilation problem Ubuntu 22.04 #3002

whitecrixu opened this issue Oct 21, 2024 · 2 comments · Fixed by #3188
Labels
Priority: Low Minor impact Status: Pending Test This PR or Issue requires more testing Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@whitecrixu
Copy link

Priority

Low

Area

  • Datapack
  • Source
  • Map
  • Other

What happened?

In function ‘__copy_or_move’,
    inlined from ‘operator()’ at /usr/include/c++/12/bits/ranges_algobase.h:304:38,
    inlined from ‘operator()’ at /usr/include/c++/12/bits/ranges_algobase.h:501:27,
    inlined from ‘operator()’ at /usr/include/c++/12/bits/ranges_algobase.h:495:7,
    inlined from ‘decodeLength.constprop’ at /home/crixu/canary/src/security/rsa.cpp:172:22:
/usr/include/c++/12/bits/ranges_algobase.h:275:27: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  275 |                 *__result = *__first;
      |                           ^
/usr/include/c++/12/array: In function ‘decodeLength.constprop’:
/usr/include/c++/12/array:115:56: note: at offset 4 into destination object ‘_M_elems’ of size 4
  115 |       typename _AT_Type::_Type                         _M_elems;
      |                                                        ^
In function ‘__copy_or_move’,
    inlined from ‘operator()’ at /usr/include/c++/12/bits/ranges_algobase.h:304:38,
    inlined from ‘operator()’ at /usr/include/c++/12/bits/ranges_algobase.h:501:27,
    inlined from ‘operator()’ at /usr/include/c++/12/bits/ranges_algobase.h:495:7,
    inlined from ‘decodeLength.constprop’ at /home/crixu/canary/src/security/rsa.cpp:172:22:
/usr/include/c++/12/bits/ranges_algobase.h:275:27: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  275 |                 *__result = *__first;
      |                           ^
/usr/include/c++/12/array: In function ‘decodeLength.constprop’:
/usr/include/c++/12/array:115:56: note: at offset 5 into destination object ‘_M_elems’ of size 4
  115 |       typename _AT_Type::_Type                         _M_elems;

What OS are you seeing the problem on?

Linux

Code of Conduct

  • I agree to follow this project's Code of Conduct
@whitecrixu whitecrixu added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Oct 21, 2024
@github-actions github-actions bot added Priority: Low Minor impact Status: Pending Test This PR or Issue requires more testing labels Oct 21, 2024
@Chapeleiiro
Copy link
Contributor

up

@dudantas
Copy link
Member

This is not a compilation issue; these are compiler warnings, and they do not prevent the compilation process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low Minor impact Status: Pending Test This PR or Issue requires more testing Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants