clangupc / clang-upc

Clang UPC Front-End
https://clangupc.github.io/
Other
17 stars 5 forks source link

warning: argument unused during compilation: '-fupc-pts-packed' #15

Closed gary-funck closed 11 years ago

gary-funck commented 11 years ago

When compiling programs with Clang UPC 3.2, we're seeing the following spurious warning:

/usr/local/clang-upc/bin/clangupc -fupc-pts-packed -g  -I. -Wno-implicit-functi
on-declaration -Wno-deprecated -fno-caret-diagnostics -Wno-logical-op-parenthes
es -Wno-unused-comparison -Wno-unused-value -Wno-dangling-else -g   -lm -fupc-t
hreads-4 -o issue64_st04 issue64.upc
clang-3: warning: argument unused during compilation: '-fupc-pts-packed'
swatanabe commented 11 years ago

The argument should be -fupc-pts=packed

gary-funck commented 11 years ago

Good catch. I have fixed this in our test set up, so it shouldn't happen again.