https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96521
Bug ID: 96521 Summary: Suggest signal.h missing include Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jg at jguk dot org Target Milestone: --- Hello Could g++ suggest signal.h? int main() { raise(SIGSEGV); } #1 with x86-64 gcc (trunk) <source>: In function 'int main()': <source>:3:11: error: 'SIGSEGV' was not declared in this scope 3 | raise(SIGSEGV); | ^~~~~~~ <source>:3:5: error: 'raise' was not declared in this scope 3 | raise(SIGSEGV); | ^~~~~ Compiler returned: 1