Skip to content

change sprintf to snprintf to suppress deprecated warning on macOS#6102

Merged
larshg merged 1 commit intoPointCloudLibrary:masterfrom
kai-waang:fixing-print
Aug 12, 2024
Merged

change sprintf to snprintf to suppress deprecated warning on macOS#6102
larshg merged 1 commit intoPointCloudLibrary:masterfrom
kai-waang:fixing-print

Conversation

@kai-waang
Copy link
Copy Markdown
Contributor

The sprintf function used in print.cpp will cause the compiler to generate deprecated warning on macOS 13.0+. So this PR changed sprintf to snprintf to suppress warnings.

Copy link
Copy Markdown
Member

@mvieth mvieth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mvieth mvieth added module: common changelog: fix Meta-information for changelog generation labels Aug 12, 2024
@larshg larshg merged commit 3314a89 into PointCloudLibrary:master Aug 12, 2024
@kai-waang kai-waang deleted the fixing-print branch August 13, 2024 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: fix Meta-information for changelog generation module: common

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants