You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2015/05/26 23:28:20 UTC

[jira] [Updated] (TS-3638) Build errors on OS X / clang in I_Lock.h asserts.

     [ https://issues.apache.org/jira/browse/TS-3638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-3638:
------------------------------
    Fix Version/s: 6.0.0

> Build errors on OS X / clang in I_Lock.h asserts.
> -------------------------------------------------
>
>                 Key: TS-3638
>                 URL: https://issues.apache.org/jira/browse/TS-3638
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 6.0.0
>
>
> 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)