clangupc / upc2c

Clang based UPC to C Translator
https://clangupc.github.io/clang-upc2c
Other
4 stars 3 forks source link

error on 'upc2c --version' #70

Closed PHHargrove closed 10 years ago

PHHargrove commented 10 years ago

I assume the following is related to how options processing is handled.

$ bin/upc2c --version && echo PASS || echo FAIL
clang version 3.4  (UPC 20140225)
Target: x86_64-unknown-linux-gnu
Thread model: posix
error: unable to handle compilation, expected exactly one compiler job in ''
FAIL

Of course no such problem with clang or clangupc:

$ bin/clang --version && echo PASS || echo FAIL
clang version 3.4  (UPC 20140225)
Target: x86_64-unknown-linux-gnu
Thread model: posix
PASS
$ bin/clangupc --version && echo PASS || echo FAIL
clang version 3.4  (UPC 20140225)
Target: x86_64-unknown-linux-gnu
Thread model: posix
PASS
nenadv commented 10 years ago

Fixed by this commit - https://github.com/Intrepid/clang-upc/commit/169825179aa20802ea6014881daed9dfb9db0960

PHHargrove commented 10 years ago

Same problem still exists with -help:

$ bin/clang-upc2c -help >/dev/null && echo PASS || echo FAIL
error: unable to handle compilation, expected exactly one compiler job in ''
FAIL
nenadv commented 10 years ago

Fixed by this commit https://github.com/Intrepid/clang-upc/commit/de6a23ce84134f2b520b57fb88e8d04eaf351aff