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

Fix 'ISO C90 does not support __func__' error with GCC 5+ #28

Merged
merged 1 commit into from
Dec 10, 2019

Conversation

squeek502
Copy link
Contributor

Travis now uses GCC 5 by default, so the -std=c89 -pedantic-errors job fails with errors like

../minunit.h:143:82: error: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic]
 nunit_last_message, MINUNIT_MESSAGE_LEN, "%s failed:\n\t%s:%d: %s", __func__, _
                                                                     ^

@siu
Copy link
Owner

siu commented Dec 10, 2019

Thanks for the fix!

@siu siu merged commit 3b0921c into siu:master Dec 10, 2019
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