Skip to content

Recent commit broke my windows build #6388

Description

@jabamaus

32a527a

Using Visual Studio 2022 (17.11.5) I get the following build error. If I undo that commit it builds fine.

CXX build/host/mrbc/mrbgems/mruby-compiler/core/y.tab-cxx.cxx -> build/host/mrbc/mrbgems/mruby-compiler/core/y.tab-cxx.obj
y.tab-cxx.cxx
C:/james_projects/GitHub/mruby_fork/mrbgems/mruby-compiler/core/y.tab.c(6364): warning C4065: switch statement contains 'default' but no 'case' labels
C:/james_projects/GitHub/mruby_fork/mrbgems/mruby-compiler/core/y.tab.c(6524): error C2440: 'static_cast': cannot convert from 'unsigned int' to 'yyalloc *'
C:/james_projects/GitHub/mruby_fork/mrbgems/mruby-compiler/core/y.tab.c(6524): note: Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or parenthesized function-style cast
C:/james_projects/GitHub/mruby_fork/mrbgems/mruby-compiler/core/y.tab.c(10760): error C2440: 'static_cast': cannot convert from 'unsigned int' to 'char *'
C:/james_projects/GitHub/mruby_fork/mrbgems/mruby-compiler/core/y.tab.c(10760): note: Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or parenthesized function-style cast
mrbgems/mruby-compiler/core/keywords(58): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss of data
rake aborted!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions