Akos Kiss 8006635636 Pass -Wno-error to linker in case of LTO builds
When linking a release-built command line shell on Linux against
default glibc with LTO enabled, a long-open gcc bug causes spurious
warning to be emitted around a call to fread. The `-Werror` flag
turns this into an error and the build process fails.
Unfortunately, there is no way to selectively disable the warning
with pragmas or `-Wno-error=xxx` flags.

Thus, this patch introduces some helper macros and lists all
warnings explicitly with `-Werror=xxx` instead of covering all
warnings with the `-Werror` flag. This way, warnings enabled by
command line flags do cause errors, but those raised by warning
attributes (which cannot be suppressed by any `-Wno-error=xxx`
flags) don't.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
2015-11-17 22:20:23 +01:00
2015-09-17 01:06:11 +09:00
2015-06-29 23:27:58 +03:00
2015-11-03 23:10:55 +09:00

JerryScript

You can find project details in wiki and project page

Join the conversation. Join the chat at https://gitter.im/Samsung/jerryscript

Description
Ultra-lightweight JavaScript engine for the Internet of Things.
Readme Apache-2.0 77 MiB
Languages
C 70.5%
JavaScript 25.1%
Python 2.7%
CMake 1%
Shell 0.5%