https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118308

--- Comment #3 from Raffaello Bertini <raffaellobertini at gmail dot com> ---
ok thanks for the reply. btw it is enough to enable the warnigs.

```
bool f()
{
    printf("f");
}

int main(int argc, char* argv[])
{
    if (f())
        printf("y");
    else
        printf("n");
    return 0;
}
```

but something like this that is compiling smoothly even with C17 and on
win-mingw printing 'fy' always due to a code bug of missing the return in the
function made me wander if that warning should be enabled by default.

ok thanks for the quick reply, i will follow on the other ticket.

Reply via email to