Revision: 16309
Author: [email protected]
Date: Sat Aug 24 16:58:32 2013 UTC
Log: Workaround 'inlining failed' build error with older GCC 4.x
releases.
[email protected]
Review URL: https://codereview.chromium.org/22867047
Patch from Ben Noordhuis <[email protected]>.
http://code.google.com/p/v8/source/detail?r=16309
Modified:
/branches/bleeding_edge/include/v8config.h
=======================================
--- /branches/bleeding_edge/include/v8config.h Fri Aug 23 07:32:25 2013 UTC
+++ /branches/bleeding_edge/include/v8config.h Sat Aug 24 16:58:32 2013 UTC
@@ -147,7 +147,10 @@
# endif
# define V8_HAS_ATTRIBUTE___ALIGNED__ (V8_GNUC_PREREQ(2, 95, 0))
-# define V8_HAS_ATTRIBUTE_ALWAYS_INLINE (V8_GNUC_PREREQ(4, 0, 0))
+// always_inline is available in gcc 4.0 but not very reliable until 4.4.
+// Works around "sorry, unimplemented: inlining failed" build errors with
+// older compilers.
+# define V8_HAS_ATTRIBUTE_ALWAYS_INLINE (V8_GNUC_PREREQ(4, 4, 0))
# define V8_HAS_ATTRIBUTE_DEPRECATED (V8_GNUC_PREREQ(3, 4, 0))
# define V8_HAS_ATTRIBUTE_VISIBILITY (V8_GNUC_PREREQ(4, 3, 0))
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.