Bug 31421 - Use __has_include
Summary: Use __has_include
Status: NEW
Alias: None
Product: gdb
Classification: Unclassified
Component: gdb (show other bugs)
Version: HEAD
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks: 31419
  Show dependency treegraph
 
Reported: 2024-02-27 17:03 UTC by Tom Tromey
Modified: 2024-02-27 17:03 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Tromey 2024-02-27 17:03:03 UTC
Right now gdb uses configure to check for header
files that are then conditionally included.
With C++17, we can use __has_include instead and
remove the checks.