Skip to content

Use '-Werror' instead of '-Werror=...' for Jerry libc #949

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

Conversation

LaszloLango
Copy link
Contributor

See also: #718, #719

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]

@LaszloLango LaszloLango added bug Undesired behaviour tools Related to the tooling scripts labels Mar 9, 2016
add_jerry_compile_flags(-Werror -Wlogical-op)
else()
add_jerry_compile_warnings(logical-op)
endif()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the if-else construct? Cannot we just leave add_jerry_compile_warnings(logical-op) in place and add

if(${USE_JERRY_LIBC})
 add_jerry_compile_flags(-Werror)
else()

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
@LaszloLango LaszloLango force-pushed the enable-werror-for-jerrylibc branch from ac27602 to 21e2951 Compare March 9, 2016 14:40
@LaszloLango
Copy link
Contributor Author

@akiss77, updated

@akosthekiss
Copy link
Member

LGTM (FWIW)

@zherczeg
Copy link
Member

LGTM

@LaszloLango LaszloLango merged commit 21e2951 into jerryscript-project:master Mar 10, 2016
@LaszloLango LaszloLango deleted the enable-werror-for-jerrylibc branch April 1, 2016 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behaviour tools Related to the tooling scripts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants