https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110092
--- Comment #5 from Piotr Nycz ---
(In reply to Jonathan Wakely from comment #2)
> (In reply to Piotr Nycz from comment #0)
> > So, probably it is doable to add warning like: "bist/shared_ptr.h is an
> > internal header file, included by other
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110092
--- Comment #4 from Andrew Pinski ---
(In reply to Jonathan Wakely from comment #1)
> This seems more like a bug in the IDE than in GCC. If you don't include the
> header at all then GCC tells you the right header:
>
> sp.cc: In function ‘int
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110092
--- Comment #3 from Piotr Nycz ---
(In reply to Jonathan Wakely from comment #2)
> (In reply to Piotr Nycz from comment #0)
> > So, probably it is doable to add warning like: "bist/shared_ptr.h is an
> > internal header file, included by other
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110092
Jonathan Wakely changed:
What|Removed |Added
Severity|normal |enhancement
--- Comment #2 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110092
--- Comment #1 from Jonathan Wakely ---
This seems more like a bug in the IDE than in GCC. If you don't include the
header at all then GCC tells you the right header:
sp.cc: In function ‘int main()’:
sp.cc:2:8: error: ‘shared_ptr’ is not a