Boost logo

Boost :

Subject: Re: [boost] Using Clang compiler in place of GCC
From: Peter Dimov (lists_at_[hidden])
Date: 2015-06-23 08:00:56


Paul A. Bristow wrote:
> I:\modular-boost\libs\fixed_point\example>clang++ --version
> clang version 3.6.1 (tags/RELEASE_361/final)
> Target: i686-pc-windows-gnu
> Thread model: posix
...

> This suggests that it is not finding the system file <iostream> ...

clang++ under Windows uses the MinGW installation of libstdc++ and has a
list of hardcoded paths in which it looks for it. If you have MingGW in
c:\mingw it usually works, but try compiling a source file with clang++ -v
test.cpp and it should output its search list and you would hopefully be
able to see what's wrong.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk