Skip to content

logger: Don't try to inline _logger()#83

Merged
ac000 merged 1 commit intomasterfrom
logger
Apr 27, 2025
Merged

logger: Don't try to inline _logger()#83
ac000 merged 1 commit intomasterfrom
logger

Conversation

@ac000
Copy link
Copy Markdown
Owner

@ac000 ac000 commented Apr 27, 2025

_logger() cannot be inlined due to being variadic.

logger.h:37:20: warning: function ‘_logger’ can never be inlined because it uses variable argument lists [-Winline]

Move it out into its own .c file.

_logger() cannot be inlined due to being variadic.

  logger.h:37:20: warning: function ‘_logger’ can never be inlined because it uses variable argument lists [-Winline]

Move it out into its own .c file.

Signed-off-by: Andrew Clayton <ac@sigsegv.uk>
@ac000 ac000 merged commit 62edc76 into master Apr 27, 2025
8 checks passed
@ac000 ac000 deleted the logger branch April 27, 2025 17:57
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.

1 participant