emscripten-core / emscripten-core/emscripten

fflush() regression

Open
#20,622 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

`a.cpp`

```c++
#include

int main () {
printf("ok");
fflush(stdout);
}
```

Results in

![image](https://github.com/emscripten-core/emscripten/assets/225351/b3f98727-1043-4d5a-9bcd-fc7d181c5f55)

should have printed `ok`, but instead gave a warning about not having fflushed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.