Skip to content

Use __func__ instead of __FUNCTION__ #166

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

Merged
merged 1 commit into from
Jun 10, 2015

Conversation

galpeter
Copy link
Contributor

@galpeter galpeter commented Jun 9, 2015

The FUNCTION is not part of the C99/C++11 standard.
So replace all occurrences with the standard func.

Side note: GCC 5.1 warns when using -Wpedantic -std=c99
and FUNCTION.

JerryScript-DCO-1.0-Signed-off-by: Peter Gal [email protected]

The __FUNCTION__ is not part of the C99/C++11 standard.
So replace all occurrences with the standard __func__.

Side note: GCC 5.1 warns when using -Wpedantic -std=c99
and __FUNCTION__.

JerryScript-DCO-1.0-Signed-off-by: Peter Gal [email protected]
@galpeter
Copy link
Contributor Author

galpeter commented Jun 9, 2015

@ruben-ayrapetyan
Copy link
Contributor

Looks good to me

@egavrin
Copy link
Contributor

egavrin commented Jun 9, 2015

Good to me.
make push

@galpeter galpeter merged commit f6b875c into jerryscript-project:master Jun 10, 2015
@galpeter
Copy link
Contributor Author

Merged

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

Successfully merging this pull request may close these issues.

3 participants