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

--- Comment #8 from Jonny Grant <jg at jguk dot org> ---


Another example - would be good if it could suggest <stdbool.h>

$ gcc -o undef undef.c
undef.c: In function ‘main’:
undef.c:4:5: error: unknown type name ‘bool’; did you mean ‘_Bool’?
     bool a;
     ^~~~
     _Bool




int main ()
{
    bool a;
    a = 98;
    return 0;
}

Reply via email to