hb-blob.cc
1>  INFO     root: (Emscripten: Running sanity checks)
1>  clang version 3.4 
1>  Target: asmjs-unknown-emscripten
1>  Thread model: posix
1>   
"D:\Development\Platform\Web\Emscripten\clang\e1.29.0_64bit\clang++.exe ..."

Interestingly, I see '-x c 
../../../Libraries/Render/harfbuzz-0.9.35/src/hb-blob.cc' at the end of the 
command line.

Cheers,
Richard

On Wednesday, 25 February 2015 19:43:42 UTC, Alon Zakai wrote:
>
> 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] 
> <javascript:>> 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] <javascript:>.
>> 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