You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2014/03/05 17:03:50 UTC

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

James Peach created TS-2619:
-------------------------------

             Summary: 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


{{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)