You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2010/04/23 01:52:50 UTC

[jira] Updated: (TS-322) fix the code so we don't have to compile with -Wno-char-subscripts and -Wno-write-strings

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

Bryan Call updated TS-322:
--------------------------

    Attachment: const_char-bcall-001.patch

Patch so we don't have to compile with -Wno-char-subscripts -Wno-write-strings any more.

1. Only changed internal APIs to use const char* where need and didn't mess around with changing the external APIs.
2. Casting char to inku8 to index into arrays.

I tested this out on Fedora Core 12 x86_64 without any problems.

> fix the code so we don't have to compile with -Wno-char-subscripts and -Wno-write-strings
> -----------------------------------------------------------------------------------------
>
>                 Key: TS-322
>                 URL: https://issues.apache.org/jira/browse/TS-322
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Cleanup
>    Affects Versions: 2.1.0
>            Reporter: Bryan Call
>            Assignee: Bryan Call
>         Attachments: const_char-bcall-001.patch
>
>
> This will require some changes to the internal APIs to accept const char* instead of char*.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.