Is it invoking emcc or em++? em++ calls clang++, which should then work ok.

I suspect that clang will assume C on .cc files, which seems surprising,
but it's the only explanation I can think of.

- Alon


On Wed, Feb 25, 2015 at 4:20 AM, Richard Turnbull <[email protected]>
wrote:

> Hi,
>
> I'm trying to compile HarfBuzz via VS2010 but am getting the following
> error:
>
> 1>  hb-blob.cc
> 1>GCCCOMPILE : error : invalid argument '-std=c++03' not allowed with
> 'C/ObjC'
> 1>GCCCOMPILE : error root: compiler frontend failed to generate LLVM
> bitcode, halting
>
> It seems it's trying to compile the C++ '.cc' files as C code. If I rename
> the files to '.cpp' this issue goes away. I'd prefer not to have to rename
> the files - is there another solution or am I missing somthing here?
>
> Cheers,
> Richard
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to