Skip to content

Conversation

@skinkie
Copy link

@skinkie skinkie commented Jul 8, 2025

I guess it could be fixed easier, but this would at least fixes the warning.

…ut destination lacks ‘nonstring’ attribute
@gtjoseph
Copy link

I think #261 is the simplest fix.

@skinkie
Copy link
Author

skinkie commented Jul 23, 2025

@gtjoseph I agree, just sacrifices two bytes ;-)

@gtjoseph
Copy link

Yeah it's 2025 and we're well beyond Bill Gates's "No one will ever need more than 640K of RAM" statement from back in the '80s. :)

@Lymkwi
Copy link

Lymkwi commented Jul 29, 2025

There is another option for solving this that hasn't been considered and does not "waste" bytes: adding __attribute__((nonstring)) to both declarations.

@gtjoseph
Copy link

__attribute__((nonstring))

That's gcc specific and not supported by other compilers such as clang.

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.

3 participants