godotengine / godotengine/godot-cpp

Compile error ResourceFormatLoader (Windows, MSVC)

Open
#309 4 comments 0 reactions 0 assignees View on GitHub
bug platform:windows
Dominant language
C++
Stars
2.7k
Forks
809
Avg merge
1d 3h
Merged PRs (30d)
8

Description

On windows VisualStudio:

`cl /Fosrc\gen\ResourceFormatLoader.obj /c src\gen\ResourceFormatLoader.cpp /TP /nologo /EHsc /D_DEBUG /MDd /I. /Igodot_headers /Iinclude /Iinclude\gen /Iinclude\core
ResourceFormatLoader.cpp
src\gen\ResourceFormatLoader.cpp(50): error C2059: syntax error: ''
scons: *** [src\gen\ResourceFormatLoader.obj] Error 2
scons: building terminated because of errors.
`

Changing "typename" to "type_name" after the "scons ... generate_bindings=yes ..." and
running a "scons" without generate_bindings works... So looks like typename is a reserved keyword.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.