Opened 11 years ago

Closed 9 years ago

#1892 closed defect (invalid)

Premake warning with LLVM/Clang and LLVM/GCC on OS X [-Wempty-body]

Reported by: historic_bruno Owned by:
Priority: If Time Permits Milestone:
Component: Build & Packages Keywords:
Cc: Patch:

Description

When running a clean update-workspaces.sh:

../../src/host/lua-5.1.4/src/lauxlib.c:577:61: warning: while loop has empty
      body [-Wempty-body]
   while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ;
                                                            ^
../../src/host/lua-5.1.4/src/lauxlib.c:577:61: note: put the semicolon on a
      separate line to silence this warning

Change History (2)

comment:1 by Echelon9, 10 years ago

As this is in an upstream package (lua-5.1.4) perhaps we should close and wait for upstream to fix?

Note it is still being reported with Clang.

comment:2 by historic_bruno, 9 years ago

Milestone: Backlog
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.