Warning fixes.

ISO C99 doesn’t support unnamed structs/unions.
Comparison of distinct pointer types lacks a cast.
Dereferencing type-punned pointer will break strict-aliasing rules.
Type of bit-field ‘ext’ is a GCC extension.

JerryScript-DCO-1.0-Signed-off-by: Robert Sipka [email protected]
This commit is contained in:
Robert Sipka committed 2016-02-16 13:56:07 +01:00
1 parent 7dc065842b
commit 80811c8332
22 files changed
+149 -144

No files matched your search

+4
View File
@@ -42,6 +42,10 @@
# define __attr_pure___ __attribute__((pure))
#endif /* !__attr_pure___ */
#ifndef __GNUC__
#define __extension__
#endif /* !__GNUC__ */
/**
* Constants
*/