[ https://issues.apache.org/jira/browse/TS-3637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom resolved TS-3637. ------------------------------- Resolution: Won't Fix > Build errors on OS X / clang in I_Lock.h asserts. > ------------------------------------------------- > > Key: TS-3637 > URL: https://issues.apache.org/jira/browse/TS-3637 > Project: Traffic Server > Issue Type: Bug > Components: Core > Reporter: Leif Hedstrom > > Seems some compilers complain on the volatility of thread_holding not being > loaded in an ink_assert. > {code} > In file included from ./I_Continuation.h:40: > ./I_Lock.h:350:15: error: expression result unused; assign into a variable to > force a volatile load [-Werror,-Wunused-volatile-lvalue] > (void)(m->thread_holding); > ~ ^~~~~~~~~~~~~~ > ./I_Lock.h:383:15: error: expression result unused; assign into a variable to > force a volatile load [-Werror,-Wunused-volatile-lvalue] > (void)(m->thread_holding); > ~ ^~~~~~~~~~~~~~ > ./I_Lock.h:421:17: error: expression result unused; assign into a variable to > force a volatile load [-Werror,-Wunused-volatile-lvalue] > (void)(m->thread_holding); > ~ ^~~~~~~~~~~~~~ > 3 errors generated. > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)