Skip to content

scheduler: Fix build failure on Linux with '-Werror -Wall'#836

Closed
zdohnal wants to merge 1 commit intoOpenPrinting:2.4.xfrom
zdohnal:2-4-x-werror-linux-build-failure
Closed

scheduler: Fix build failure on Linux with '-Werror -Wall'#836
zdohnal wants to merge 1 commit intoOpenPrinting:2.4.xfrom
zdohnal:2-4-x-werror-linux-build-failure

Conversation

@zdohnal
Copy link
Member

@zdohnal zdohnal commented Nov 27, 2023

The string which we add into array stays const after fixing #814 (because strdup(), which caused memory leak returned char *) and compiler fails because of it if it runs with '-Werror -Wall'.

The string which we add into array stays `const` after fixing OpenPrinting#814
(because `strdup()`, which caused memory leak returned `char *`)
and compiler fails because of it if it runs with '-Werror -Wall'.
@zdohnal
Copy link
Member Author

zdohnal commented Nov 29, 2023

Will be fixed internally without PR - PR for master was approved.

@zdohnal zdohnal closed this Nov 29, 2023
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