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

Makes type conversions from malloc explicit #8

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

Conversation

Noahnoah55
Copy link

g++ yells at me if I try to convert from a void * to a char * without explicitly saying it 😢, so I went through and changed all those implicit conversions explicit. This makes it easier to bundle toml.c with a C++ project.

@cktan
Copy link
Owner

cktan commented Apr 24, 2023

why are you compiling .c files with g++?

@Noahnoah55
Copy link
Author

More that I'm compiling my whole C++ project with G++ and it's nice to not have to switch to a C compiler for like 5 files.

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.

2 participants