Skip to content

const char* vs char* #7

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

Open
jwm-art-net opened this issue Dec 18, 2012 · 3 comments
Open

const char* vs char* #7

jwm-art-net opened this issue Dec 18, 2012 · 3 comments

Comments

@jwm-art-net
Copy link

wondering if any cleanup could be done regarding the use of char* and the lrdf_statement structs. the char* members are frequently assigned with string literals which cause warnings when compiling. without knowing the code it's not obvious if these members are modified or not.

@swh
Copy link
Owner

swh commented Dec 19, 2012

Hm, I'm not sure who's maintaining this code now - Taybin?

I don't remember much about hos this code works, can you point to a file that raises warnings?

@jwm-art-net
Copy link
Author

@taybin
Copy link
Collaborator

taybin commented Dec 19, 2012

I remember going back and forth on this before. I'm not sure why we went with char*. Const seems pretty harmless, but I had a reason. I'll try switching it and seeing if anything complains.

On Dec 19, 2012, at 5:28 AM, Steve Harris [email protected] wrote:

Hm, I'm not sure who's maintaining this code now - Taybin?

I don't remember much about hos this code works, can you point to a file that raises warnings?


Reply to this email directly or view it on GitHub.

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

No branches or pull requests

3 participants