what version of clang do you have on your machine? It works fine on my Mac
with the following version
  $clang --version
  Apple LLVM version 8.1.0 (clang-802.0.42)
You may need to update if yours is older


Hieu Hoang
http://moses-smt.org/


On 24 August 2017 at 09:18, Aileen Joan Vicente <[email protected]> wrote:

> Hi all! I tried to compile moses again and found this error:
>
> error: invalid argument '-std=c++0x' not allowed with 'C/ObjC'
>
>
>     "clang++" -x c -O3 -std=c++0x -O3 -finline-functions -Wno-inline
> -Wall -DKENLM_MAX_ORDER=6 -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-2766-g23cf6c4\"
> -DNDEBUG -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILES -I"." -c -o "symal/bin/clang-darwin-4.2.1/
> release/link-static/threading-multi/cmd.o" "symal/cmd.c"
>
>
> What does this mean?
>
> I am on Mac OS X Sierra.
>
>
> Thank you.
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to