Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use const char * instead of char * #7446

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matthewhall2
Copy link
Contributor

@matthewhall2 matthewhall2 commented Aug 22, 2024

Changed methods that get passed string literals to accept const char * instead of char *.

This suppresses the warning: ISO C++11 does not allow conversion from string literal to 'char *' when they are used.

https://hyc-runtimes-jenkins.swg-devops.com/job/jvm.29.personal/34233/

@matthewhall2 matthewhall2 force-pushed the openxl-debug-string-warnings branch 2 times, most recently from 418280f to 6656659 Compare August 22, 2024 17:21
@matthewhall2 matthewhall2 force-pushed the openxl-debug-string-warnings branch from 673967d to 8180eb8 Compare September 19, 2024 17:24
Fixes many warnings when passing in string literal

Signed-off-by: Matthew Hall <[email protected]>
@matthewhall2 matthewhall2 force-pushed the openxl-debug-string-warnings branch from 8180eb8 to 0c42363 Compare September 23, 2024 15:57
@matthewhall2
Copy link
Contributor Author

@r30shah please review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant