Skip to content

axmol compilation fails with C++23 - it looks like real bug in the code #2415

Closed
@crazyhappygame

Description

@crazyhappygame
  • axmol version: latest
  • devices test on: all
  • developing environments
    • NDK version: r23c
    • Xcode version: 14.2+
    • Visual Studio:
      • VS version: 2022 (17.9+)
      • MSVC version: 19.39+
      • Windows SDK version: 10.0.22621.0+
    • cmake version:
      Steps to Reproduce:

branch: dev
#2414
branch: v3
#2413

Sample error:

C/C++: /home/runner/work/axmol/axmol/core/base/Logging.cpp:160:12: error: non-const lvalue reference to type 'LogItem' cannot bind to a temporary of type 'LogItem'
C/C++:   160 |     return item;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions