Skip to content

compiler build warning #21

@bondhugula

Description

@bondhugula

With GCC 8.3.1 and -Wextra and git commit 'bump to 0.8.1' (379eead), I see the following warning:

source/scanner.c: In function ‘yy_get_next_buffer’:
source/scanner.c:921:18: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
for ( n = 0; n < max_size &&
^
source/scanner.c:2031:3: note: in expansion of macro ‘YY_INPUT’
YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),

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