[
https://issues.apache.org/jira/browse/TS-1682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13569769#comment-13569769
]
ASF subversion and git services commented on TS-1682:
-----------------------------------------------------
Commit c905616be44a70d8c81b1bee2b0210990cfd0db6 from [~i.galic]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=c905616 ]
TS-1682 lua plugin compile breaks on FreeBSD.
add a static_cast to fix this "warning: comparison between signed and
unsigned integer expressions"
> Lua plugin doesn't compile on some older versions of GCC
> --------------------------------------------------------
>
> Key: TS-1682
> URL: https://issues.apache.org/jira/browse/TS-1682
> Project: Traffic Server
> Issue Type: Bug
> Components: Plugins
> Reporter: Igor Galić
> Attachments: lua_cast_tshttphookid.patch
>
>
> {noformat}
> gmake[2]: Entering directory
> `/tmp/org.apache.trafficserver.7634/obj/plugins/experimental/lua'
> CXX lua_la-hook.lo
> cc1plus: warnings being treated as errors
> /home/igalic/src/asf/trafficserver/plugins/experimental/lua/hook.cc: In
> function 'const char* HttpHookName(TSHttpHookID)':
> /home/igalic/src/asf/trafficserver/plugins/experimental/lua/hook.cc:62:
> warning: comparison between signed and unsigned integer expressions
> gmake[2]: *** [lua_la-hook.lo] Error 1
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira