DescriptionFixes to get Dart VM compiling on Ubuntu 13.04, Debian Wheezy.
* Convince gcc 4.7.x that len is initialized before use in callers of ReadFileFully()
* Cast RawObject* to intptr_t to avoid strict-aliasing error on gcc 4.7.x
* Replace two calls to strerror_r() with strerror() on Linux. When _GNU_SOURCE is
defined to be non-zero (as it is on Dart Linux builds), strerror_r() is
defined to return a char*, which is the correct error string to use. When
_GNU_SOURCE is zero, the XSI-compliant definition is used and the error
message is returned in the char* param. Surrounding error logging uses
strerror() which solves the problem.
* Replace int literals with char literals in test string definition.
* co19 math/tan_A01_t01 passes on Ubuntu 13.04.
Original issues:
https://code.google.com/p/dart/issues/detail?id=12085
https://code.google.com/p/dart/issues/detail?id=8807
R=asiva@google.com
Committed: https://code.google.com/p/dart/source/detail?r=25890
Committed: https://code.google.com/p/dart/source/detail?r=25929
Patch Set 1 #Patch Set 2 : Convince gcc that len is always initialized before use. #
Total comments: 4
Patch Set 3 : Alternative type-punning fix #
Total comments: 3
Patch Set 4 : Use array syntax to index into native fields #Messages
Total messages: 11 (0 generated)
|