Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

[WebGL] Fix WebGL build on master #1345

Closed
JoshEngebretson opened this issue Jan 11, 2017 · 2 comments
Closed

[WebGL] Fix WebGL build on master #1345

JoshEngebretson opened this issue Jan 11, 2017 · 2 comments

Comments

@JoshEngebretson
Copy link
Contributor

We have PR coverage on Windows, macOS, Linux, Android, and iOS, however WebGL currently does not, it appears I broke the build!

Here's at least the first error when compiling under Emscripten

/Users/jenkins/Home/workspace/Atomic_EditorWebPlayer/Source/Atomic/Metrics/Metrics.cpp:97:9: error: use of undeclared identifier 'snprintf'; did you mean 'vswprintf'?
        snprintf(name, NAME_MAX_LENGTH, "%-20s", metric.classname.CString());

There may be more errors, or this may be the only one, who will find out? 🎱

@JoshEngebretson JoshEngebretson added this to the Atomic Build 3 milestone Jan 11, 2017
@ghost ghost self-assigned this Jan 11, 2017
@ghost ghost removed the help wanted label Jan 11, 2017
@ghost
Copy link

ghost commented Jan 11, 2017

I am able to reproduce this, it appears to be a header file issue with emcc.

@JoshEngebretson
Copy link
Contributor Author

Closed via #1347

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant