You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Phil Sorber (JIRA)" <ji...@apache.org> on 2014/05/14 00:53:18 UTC

[jira] [Resolved] (TS-2619) TSRecordDump has a bad declaration

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

Phil Sorber resolved TS-2619.
-----------------------------

    Resolution: Fixed

> TSRecordDump has a bad declaration
> ----------------------------------
>
>                 Key: TS-2619
>                 URL: https://issues.apache.org/jira/browse/TS-2619
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: TS API
>            Reporter: James Peach
>            Assignee: Phil Sorber
>            Priority: Blocker
>             Fix For: 5.0.0
>
>
> {{TSRecordDump}} is declared as taking a {{TSRecordType}} constant. However, this API also is defined to be able to operate on a {{TSRecordType}} bit mask. When you do this, you get the following compiler error:
> {code}
> /opt/ats/include/ts/ts.h|3083 col 14| note: candidate function not viable: no known conversion from 'int' to 'TSRecordType' for 1st argument                                                                 
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)