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

Fix sprintf is deprecated (macos / clang / c++) #82

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

peter-urban
Copy link
Collaborator

@peter-urban peter-urban commented Nov 12, 2024

Relates to #77

Fixes warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.
The warning occurs in the alternative compilers test suit / macos / clang c++

The fix seems innocent enough (sizeof(infoflg) needs to be passed to snprintf)

@peter-urban peter-urban force-pushed the fix_sprintf_is_deprecated branch from 86b6642 to 4d28d79 Compare November 12, 2024 21:23
@efiring efiring merged commit 83a5255 into TEOS-10:main Nov 12, 2024
19 checks passed
@peter-urban peter-urban deleted the fix_sprintf_is_deprecated branch November 12, 2024 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants