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 with GCC-13 produces many notes about snprintf #311

Closed
thearusable opened this issue Jun 6, 2023 · 3 comments · Fixed by #318
Closed

Compilation with GCC-13 produces many notes about snprintf #311

thearusable opened this issue Jun 6, 2023 · 3 comments · Fixed by #318
Assignees
Labels
good first issue Good for newcomers

Comments

@thearusable
Copy link
Contributor

When compiling magistrate with GCC-13 there will be many notes about snprintf which makes the compilation output not readable.

Example note:
/Users/arus/NGA/DARMA/vt/lib/checkpoint/src/checkpoint/dispatch/reconstructor.h:157:13: note: 'snprintf' output 196 bytes into a destination of size 8
157 | snprintf(
| ~~~~~~~~^
158 | &msg[0], sizeof(msg),
| ~~~~~~~~~~~~~~~~~~~~~
159 | "Checkpoint is failing to reconstruct a class %s, due to it being "
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
160 | "abstract or the absence of a suitable constructor (default or tagged) "
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
161 | "or reconstruct()",
| ~~~~~~~~~~~~~~~~~~~
162 | typeid(T).name()
| ~~~~~~~~~~~~~~~~
163 | );
| ~

@thearusable thearusable self-assigned this Jun 6, 2023
@nlslatt nlslatt added the good first issue Good for newcomers label Oct 3, 2023
@nlslatt
Copy link
Contributor

nlslatt commented Oct 3, 2023

This is also a problem for MacOS

@nlslatt
Copy link
Contributor

nlslatt commented Oct 18, 2023

@thearusable Can you please get to this issue soon?

@thearusable
Copy link
Contributor Author

@nlslatt Sure, I'll start to work on this shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants