Reviewers: sgjesse,

Message:
It's actually not clear to me how this file compiled before -- I think it may be
related to how bit_cast gets inlined.

Description:
bit_cast<> uses memcpy(), so globals.h must #include <string.h>.


Please review this at http://codereview.chromium.org/888003

SVN Base: http://v8.googlecode.com/svn/trunk/

Affected files:
  M     src/globals.h


Index: src/globals.h
===================================================================
--- src/globals.h       (revision 4095)
+++ src/globals.h       (working copy)
@@ -28,6 +28,8 @@
 #ifndef V8_GLOBALS_H_
 #define V8_GLOBALS_H_

+#include <string.h>
+
 namespace v8 {
 namespace internal {



--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to