Bug 225025

Summary: Base c++ seems to find errors in the /usr/include/c++/v1/type_traits header in base
Product: Base System Reporter: Yuri Victorovich <yuri>
Component: miscAssignee: Dimitry Andric <dim>
Status: Open ---    
Severity: Affects Only Me CC: dim, linimon
Priority: ---    
Version: 11.0-STABLE   
Hardware: Any   
OS: Any   

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.