-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Tutorial contains error #6079
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Note: it did work when I compiled with |
The default was recently changed: #5878. The docs need an update, and maybe the tutorial code should be tested as is to prevent this kind of thing in the future? |
@zwhitchcox Which part of the tutorial caused this? It seems like the printfs do have newlines in them, so I'm not sure how that could happen. Although the files example does use putchar, was it there? @curiousdannii Good idea about testing, hopefully there's a way. |
For me it happened with printf, even with the new lines Idk, might just be my machine though...running galliumOS (a chromebook version of linux) |
Very strange, printf with a newline should work, and we do test that heavily. So maybe it is something on your local system. What node.js version was used? (or was it another shell?) |
I didn't know you could use node.js for that. I was just using em++ |
This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant. |
So, the tutorial contains an error when I first run emscripten (1.37.28), it gives the error
It didn't say anything about the error in the tutorial, so it doesn't seem like that was intended, but if so, I can see where I can build with the
-s
flag, but that seems like a lot for "hello, world", so just wanted to be sure.The text was updated successfully, but these errors were encountered: