Skip to content

macOS: silence sprintf deprecation - #509

Merged
Youw merged 1 commit into
masterfrom
macos-warning
Feb 19, 2023
Merged

Youw merged 1 commit into
masterfrom
macos-warning

Conversation

@Youw

@Youw Youw commented Feb 19, 2023 •

Copy link
Copy Markdown
Member

I've started getting this recently

@Youw
Youw merged commit eecbe74 into master Feb 19, 2023
@Youw
Youw deleted the macos-warning branch February 19, 2023 15:38
@sezero

sezero commented Feb 22, 2023

Copy link
Copy Markdown
Contributor

The rationale is wrong: snprintf has always been available in macosx, since its initial 10.1 release

@Youw

Youw commented Feb 22, 2023

Copy link
Copy Markdown
Member Author

I have to admit - I didn't check the macOS-specific background of this. Only checked that it is not available in C99 standard.
If anyone provides a PR with a fix before I can get my hands to it - that would be great.

@sezero

sezero commented Feb 22, 2023

Copy link
Copy Markdown
Contributor

I have to admit - I didn't check the macOS-specific background of this. Only checked that it is not available in C99 standard. If anyone provides a PR with a fix before I can get my hands to it - that would be great.

Here you go: #511

Youw pushed a commit that referenced this pull request Feb 22, 2023
@mcuee mcuee added the macOS Related to macOS backend label Apr 5, 2023
sezero added a commit to sezero/SDL that referenced this pull request Apr 24, 2023
slouken pushed a commit to libsdl-org/SDL that referenced this pull request Apr 24, 2023
slouken pushed a commit to libsdl-org/SDL that referenced this pull request Apr 24, 2023
sezero added a commit to sezero/SDL that referenced this pull request May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

macOS Related to macOS backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants