Comment #12 on issue 2149 by subb...@gmail.com: STATIC_ASSERT fails to
compile with GCC 4.8 due to -Werror=unused-local-typedefs
http://code.google.com/p/v8/issues/detail?id=2149
Same issue encountered. gcc 4.8.1, Fedora 19, ia32.
../src/ia32/macro-assembler-ia32.h: In member function ‘void
v8::internal::MacroAssembler::SmiTag(v8::internal::Register)’:
../src/ia32/macro-assembler-ia32.h:501:95: error: typedef
‘__StaticAssertTypedef__501’ locally defined but not used
[-Werror=unused-local-typedefs]
STATIC_ASSERT(kSmiTag == 0);
^
../src/ia32/macro-assembler-ia32.h:502:99: error: typedef
‘__StaticAssertTypedef__502’ locally defined but not used
[-Werror=unused-local-typedefs]
STATIC_ASSERT(kSmiTagSize == 1);
^
../src/ia32/macro-assembler-ia32.h: In member function ‘void
v8::internal::MacroAssembler::SmiUntag(v8::internal::Register,
v8::internal::Label*)’:
../src/ia32/macro-assembler-ia32.h:511:99: error: typedef
‘__StaticAssertTypedef__511’ locally defined but not used
[-Werror=unused-local-typedefs]
STATIC_ASSERT(kSmiTagSize == 1);
^
../src/ia32/macro-assembler-ia32.h:513:95: error: typedef
‘__StaticAssertTypedef__513’ locally defined but not used
[-Werror=unused-local-typedefs]
STATIC_ASSERT(kSmiTag == 0);
^
cc1plus: all warnings being treated as errors
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.