On 10/22/2016 12:20 AM, Orion Poplawski wrote:
FYI -
I'm starting to see more builds fail with errors like the following in rawhide:
In file included from /usr/include/c++/6.2.1/cmath:45:0,
from /usr/include/c++/6.2.1/math.h:36,
from /usr/include/cubew/cubew_report_layouts_types.h:28,
from /usr/include/cubew/cubew_types.h:31,
from /usr/include/cubew/cubew_metric.h:28,
from ../../build-backend/../src/scout/Pattern.h:24,
from ../../build-backend/../src/scout/OmpPattern.h:21,
from ../../build-backend/../src/scout/OmpPattern.cpp:20:
/usr/include/math.h:346:1: error: template with C linkage
template <class __T> inline bool
^~~~~~~~
The problem seems to be in various C libraries wrapping system #includes
inside of extern "C" {} blocks. I've just fixed cube and grib_api, but there
may be others out there.
Ugh, I had no idea that anyone was still doing this to system headers.
I'm going to add an extern "C++" wrapper, instead of temporarily
dropping from the extern "C" wrapper built into the glibc header files.
Thanks,
Florian
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx