Skip to content

Broken Lua bindings with GCC #613

Open
Open

Description

@adriengivry

Description

It seems like Lua bindings are broken with GCC.
After compiling Overload with GCC, and playing Sponza, it seems like functions like: Scenes.GetCurrentScene() would return a Vector3 instead of a Scene?? That's odd.

Expected behavior

GCC should work with sol2 I guess? Possible that we won't be able to solve that without modifying sol2.

Screenshots

If applicable, add screenshots to help explain your problem.

Activity

  1. added theissue type on Nov 18, 2025
  2. adriengivry commented on Apr 14, 2026

    @adriengivry
    MemberAuthor

    I saw that Sol2 has a bunch of defines related to the GCC compiler, so that might explain that. For now it's not critical, as we target clang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions