Skip to content

luaconf.h warning when building #27

@josellausas

Description

@josellausas

When trying to build from source I repeatedly get the following warning:

torch-ios/exe/lua/src/luaconf.c:146:18: warning:
address of 'sb.buffer' will always evaluate to 'true'
[-Wpointer-bool-conversion]
while (&sb.buffer && sb.len>0 && sb.buffer[sb.len-1]=='/')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions