[cfe-dev] about the "Attempt to fix stdint/cstdint modules try 2" commit

René J.V. Bertin via cfe-dev cfe-dev at lists.llvm.org
Thu May 25 12:22:21 PDT 2017


On Thursday May 25 2017 05:22:27 Eric Fiselier wrote:

I think you may have missed something. In my case the error compiling a Boost file was not caused by an issue in clang or libc++. It was caused by the fact that Boost did not take the fact into consideration that it was building with libc++ and the corresponding headerfiles. I didn't know that yet when I posted this thread.

The error was almost exactly the same (and about the same file) as the one reported in the StackOverflow post linked to in my original post (https://stackoverflow.com/questions/41050942/clang-modules-interaction-with-std-iterator-and-boost-move-iterator-hpp) except formatted the way GCC does. 

I don't know if it's a coincidence that treating the libc++ headers as if they were libstdc++ headers leads to the same error , nor if it's important to figure that out.

R.

> Please provide the full and exact error text you're encountering, and the
> exact (and verbose) compiler invocation that caused it.
> 
> On Thu, May 25, 2017 at 4:34 AM, René J.V. Bertin <rjvbertin at gmail.com>
> wrote:
> 
> > On Thursday May 25 2017 01:51:04 Eric Fiselier wrote:
> >
> > >Are you sure you were using g++ and not clang++ (via c++ or some other
> > >weird symlink)?
> >
> > Yes, and even if I had been, why would that have caused trouble if none of
> > the clang versions I have on my system had any issue?
> >
> > R
> >




More information about the cfe-dev mailing list