clang warnings

Kazu Yamamoto (=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=) kazu at iij.ad.jp
Fri Jun 20 20:57:43 UTC 2014


Hi Richard,

> Would this fix #9047?  Yay!

I believe so.

But currently "validate" itself fails:

----
for i in  driver/ghc-usage.txt driver/ghci-usage.txt includes/dist-derivedconsta
nts/header/platformConstants settings; do case $i in *.a) /usr/bin/install -c -m
 644  $i  "/Users/kazu/work/ghc/bindisttest/install   dir/lib/ghc-7.9.20140619";
 ranlib  "/Users/kazu/work/ghc/bindisttest/install   dir/lib/ghc-7.9.20140619"/`
basename $i` ;; *.dll) /usr/bin/install -c -m 755  $i  "/Users/kazu/work/ghc/bin
disttest/install   dir/lib/ghc-7.9.20140619" ; :  "/Users/kazu/work/ghc/bindistt
est/install   dir/lib/ghc-7.9.20140619"/`basename $i` ;; *.so) /usr/bin/install 
-c -m 755  $i  "/Users/kazu/work/ghc/bindisttest/install   dir/lib/ghc-7.9.20140
619" ;; *.dylib) /usr/bin/install -c -m 755  $i  "/Users/kazu/work/ghc/bindistte
st/install   dir/lib/ghc-7.9.20140619";; *) /usr/bin/install -c -m 644  $i  "/Us
ers/kazu/work/ghc/bindisttest/install   dir/lib/ghc-7.9.20140619"; esac; done
/usr/local/bin/gcc -E  -m64 -undef -traditional -Wno-invalid-pp-token -Wno-unico
de -Wno-trigraphs -P -DINSTALLING -DLIB_DIR='"/Users/kazu/work/ghc/bindisttest/i
nstall   dir/lib/ghc-7.9.20140619"' -DINCLUDE_DIR='"/Users/kazu/work/ghc/bindist
test/install   dir/lib/ghc-7.9.20140619/include"' -DPAPI_INCLUDE_DIR="" -DPAPI_L
IB_DIR="" -DFFI_INCLUDE_DIR= -DFFI_LIB_DIR= '-DFFI_LIB="Cffi"' -x c -Iincludes -
Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconsta
nts/header rts/package.conf.in -o rts/dist/package.conf.install.raw
clang: error: no such file or directory: 'dir/lib/ghc-7.9.20140619"'
clang: error: no such file or directory: 'dir/lib/ghc-7.9.20140619/include"'
----

In the bindisttest directory, the "dir" directory does not exist.
Strangely "install    dir" directory exist instead.

P.S.

Yesterday I could not "validate" for GHC HEAD on Linux either for
another reason.

--Kazu


More information about the ghc-devs mailing list