-
Notifications
You must be signed in to change notification settings - Fork 77
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
Type of argv parameter #19
Comments
Interesting. I wonder if |
It believe it would work in C++, but in C I think It's not a big deal, just an oddity of C really .. but it would perhaps be preferable if the standard type could be passed without warnings. |
Yeah, I think you're right, |
The rule that allows you to pass a pointer to a function that expects a const pointer is only applied at top level, so if you try to pass an
argv
declared in the standard way (char *argv[]
) tomunit_suite_main
, GCC will warn about it.The text was updated successfully, but these errors were encountered: