DescriptionMake compile without ICE_THREAD_LOCAL_HACK (avoid "Type *TLS = TLS;")
Otherwise you get:
In file included from src/IceGlobalContext.cpp:21:
In file included from src/IceCfg.h:21:
src/IceGlobalContext.h:257:44: error: variable 'TLS' is uninitialized when used within its own initialization [-Werror,-Wuninitialized]
ThreadContext *TLS = ICE_TLS_GET_FIELD(TLS);
~~~ ^~~
src/IceTLS.h:95:39: note: expanded from macro 'ICE_TLS_GET_FIELD'
^
So rename the local var to Tls.
BUG=none
R=stichnot@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=3e5009f643a931184cf3437e7204e40c7a61d4d1
Patch Set 1 #
Created: 5 years, 9 months ago
Messages
Total messages: 4 (1 generated)
|