You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/02 18:46:58 UTC
[jira] [Work logged] (TS-4513) Error when building with gcc 6.1.1
with luajit
[ https://issues.apache.org/jira/browse/TS-4513?focusedWorklogId=31464&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-31464 ]
ASF GitHub Bot logged work on TS-4513:
--------------------------------------
Author: ASF GitHub Bot
Created on: 02/Nov/16 18:46
Start Date: 02/Nov/16 18:46
Worklog Time Spent: 10m
Work Description: GitHub user PSUdaemon opened a pull request:
https://github.com/apache/trafficserver/pull/1174
TS-4513: Error when building with gcc 6.1.1 with luajit
(cherry picked from commit 5f91438df0b89865386374ec1363ad8edb2b11cb)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/PSUdaemon/trafficserver luajit_fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/1174.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1174
----
----
Issue Time Tracking
-------------------
Worklog Id: (was: 31464)
Time Spent: 1h (was: 50m)
> Error when building with gcc 6.1.1 with luajit
> ----------------------------------------------
>
> Key: TS-4513
> URL: https://issues.apache.org/jira/browse/TS-4513
> Project: Traffic Server
> Issue Type: Improvement
> Components: Lua
> Affects Versions: 6.2.0
> Reporter: Bryan Call
> Assignee: Bryan Call
> Fix For: 7.0.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Errors that I am seeing:
> {code}
> lj_cparse.c: In function 'cp_next_':
> lj_cparse.c:313:7: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
> if (cp_get(cp) != '|') return '|'; cp_get(cp); return CTOK_OROR;
> ^~
> lj_cparse.c:313:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
> if (cp_get(cp) != '|') return '|'; cp_get(cp); return CTOK_OROR;
> ^~~~~~
> lj_cparse.c:315:7: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
> if (cp_get(cp) != '&') return '&'; cp_get(cp); return CTOK_ANDAND;
> ^~
> lj_cparse.c:315:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
> if (cp_get(cp) != '&') return '&'; cp_get(cp); return CTOK_ANDAND;
> ^~~~~~
> lj_cparse.c:317:7: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
> if (cp_get(cp) != '=') return '='; cp_get(cp); return CTOK_EQ;
> ^~
> lj_cparse.c:317:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
> if (cp_get(cp) != '=') return '='; cp_get(cp); return CTOK_EQ;
> ^~~~~~
> lj_cparse.c:319:7: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
> if (cp_get(cp) != '=') return '!'; cp_get(cp); return CTOK_NE;
> ^~
> lj_cparse.c:319:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
> if (cp_get(cp) != '=') return '!'; cp_get(cp); return CTOK_NE;
> ^~~~~~
> lj_cparse.c:329:7: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
> if (cp_get(cp) != '>') return '-'; cp_get(cp); return CTOK_DEREF;
> ^~
> lj_cparse.c:329:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
> if (cp_get(cp) != '>') return '-'; cp_get(cp); return CTOK_DEREF;
> ^~~~~~
> HOSTCC host/buildvm.o
> In file included from host/buildvm.c:59:0:
> ./../dynasm/dasm_x86.h: In function 'dasm_put':
> ./../dynasm/dasm_x86.h:207:2: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
> if (*p++ == 1 && *p == DASM_DISP) mrm = n; continue;
> ^~
> ./../dynasm/dasm_x86.h:207:45: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
> if (*p++ == 1 && *p == DASM_DISP) mrm = n; continue;
> ^~~~~~~~
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)