FYI: I figured out the problem.  I had some .c files in my build and
emscripten did not like that.  The emcc file is hard-wired to not allow .c
files.  The fix is to find `use_cxx = True` in emcc and change it to false.


On Sat, Feb 15, 2014 at 12:15 AM, Mark Hahn <[email protected]> wrote:

> I just repeated this compile on a normal ubuntu toolchain and got the same
> results.  So the problem is in my source.
>
> Can anything think what could cause this result from this command-line?
>
> emcc -o Emscripten/Debug/PGBASICS.o -DWIN32EMUL_COMPILE -D_WIN32 -D_X86_
> -DEMSCRIPTEN -D__STDC__ -MD -MF "Emscripten/Debug/PGBASICS.d" -O0
> -I../../../Headers -I../../../Headers/win32-hdrs -Wno-parentheses
> -Wno-deprecated-declarations -Wno-typedef-redefinition
> -Wno-ignored-attributes -Wno-unused-value -x c ../../../Source/PGBASICS.C
>
> error: invalid argument '-std=c++03' not allowed with 'C/ObjC'
> ERROR    root: compiler frontend failed to generate LLVM bitcode, halting
> :
>
>
>
>
> On Fri, Feb 14, 2014 at 2:22 PM, Mark Hahn <[email protected]> wrote:
>
>> > Why is there another compile happening?
>>
>> Forget I asked this question.  I had forgotten I switched the config from
>> release to debug.
>>
>>  --
>> 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/groups/opt_out.
>>
>
>

-- 
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/groups/opt_out.

Reply via email to