Closed brianmoose closed 6 years ago
Seems to work on my mac, so this appears to be linux only
So I narrowed it down, the following code will cause the clang python bindings to generate the error:
#include <complex>
#include <mpi.h>
#include <iomanip>
This is with using -std=c++11
. The error doesn't occur when that flag isn't present.
Not including any 1 of them will cause the clang python parser to work, or reordering them causes it to work.
This sequence of includes showed up in a sequence of libmesh headers. @permcody Do you want to roll back the new package?
Just to be able to check this in the future, writing the above 3 lines into a file bad.C
.
Then:
python /opt/moose/llvm-5.0.0/bindings/python/examples/cindex/cindex-dump.py bad.C -std=c++11
produces the error.
Rationale
Documentation fails to build
Description
Also causes one of the MooseDocs tests to fail.
Impact
Get documentation building again.