public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/96521] New: Suggest signal.h missing include
@ 2020-08-07 14:16 jg at jguk dot org
2020-08-09 20:44 ` [Bug c++/96521] " pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: jg at jguk dot org @ 2020-08-07 14:16 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/96521] Suggest signal.h missing include
2020-08-07 14:16 [Bug c++/96521] New: Suggest signal.h missing include jg at jguk dot org
@ 2020-08-09 20:44 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2020-08-09 20:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96521
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-09 20:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-07 14:16 [Bug c++/96521] New: Suggest signal.h missing include jg at jguk dot org
2020-08-09 20:44 ` [Bug c++/96521] " pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).