User forums > General (but related to Code::Blocks)

LLVM Clang 3.8.0 on CodeBlocks - Strange errors

<< < (5/5)

devhobby:

--- Quote from: stahta01 on July 03, 2016, 12:17:05 am ---Looks like at least the 32 bit version of LLVM does NOT include the compiler headers like "iostream".

Going to get the laptop out of my car; likely the 64 bit versions also do NOT include the headers; but, somehow it worked earlier in the day on the laptop. I am guessing you will need to do research on where the headers are supposed to be downloaded from.

--- End quote ---

If you have news, I'd be glad to hear

Otherwise I guess I will let bygones be bygones with Clang on Windows

stahta01:
From trying option of "-v" suggested here http://clang.llvm.org/docs/LibTooling.html#libtooling-builtin-includes

I found the the Windows system variable of "INCLUDE" changes the clang operation.

Likely my laptop has a "good"  "INCLUDE" value; and my desktop does NOT.
Note: I have no idea where the headers are supposed to be found.

I suggest once more finding a CLang support site.

Tim S.

yvesdm3000:
Clang is a *compiler* and <iostreams> is a header of the STL *library*. The 2 are separate things although very often shipped together. Clang's implementation is here:  http://libcxx.llvm.org/   and doesn't seem to include a Windows port. You'll have to download and install another implementation of the STL library, like the gnu one (libstdc++)

Yves

stahta01:

--- Quote from: yvesdm3000 on July 03, 2016, 05:22:19 am ---Clang is a *compiler* and <iostreams> is a header of the STL *library*. The 2 are separate things although very often shipped together. Clang's implementation is here:  http://libcxx.llvm.org/   and doesn't seem to include a Windows port. You'll have to download and install another implementation of the STL library, like the gnu one (libstdc++)

Yves

--- End quote ---

Thank you for that info on Clang.

Tim S.

devhobby:
Nevermind...

Navigation

[0] Message Index

[*] Previous page

Go to full version