Bug 225025 - Base c++ seems to find errors in the /usr/include/c++/v1/type_traits header in base
Summary: Base c++ seems to find errors in the /usr/include/c++/v1/type_traits header i...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 11.0-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: Dimitry Andric
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-09 08:55 UTC by Yuri Victorovich
Modified: 2018-01-09 17:17 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2018-01-09 08:55:00 UTC
I tried to build one project, and got C++ errors, see here: https://github.com/falkTX/los/issues/43

It appears that it finds errors in the headers in base.


Can anybody tell what might be going wrong?
Comment 1 Dimitry Andric freebsd_committer 2018-01-09 15:19:15 UTC
Looks like something is defining `__invoke`, and then including the C++ headers.  That should be avoided, any identifiers starting with `_` are reserved.

Try to find the part of the program that is defining __invoke, and fix that.