[GHC] #9213: Maybe important CPP warnings on ghcautoconf.h from cpphs

GHC ghc-devs at haskell.org
Tue Jan 13 20:27:48 UTC 2015


#9213: Maybe important CPP warnings on ghcautoconf.h from cpphs
-------------------------------------+-------------------------------------
        Reporter:  asr               |                   Owner:
            Type:  bug               |                  Status:  infoneeded
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1-rc1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by asr):

 * version:  7.8.4 => 7.10.1-rc1


Comment:

 And using GHC 7.10.1 RC1, I got an additional warning:

 {{{
 $ ghc --version
 The Glorious Glasgow Haskell Compilation System, version 7.10.0.20141222

 $ ghc -pgmPcpphs -optP--cpp Tokens.hs
 Warning: Can't find file
 "/usr/local/stow/ghc-7.10.0.20141222-bin/lib/ghc-7.10.0.20141222/include/ghcversion.h"
 in directories
         .
 /usr/local/stow/ghc-7.10.0.20141222-bin/lib/ghc-7.10.0.20141222/base_469rOtLAqwTGFEOGWxSUiQ/include
 /usr/local/stow/ghc-7.10.0.20141222-bin/lib/ghc-7.10.0.20141222/integ_21cuTlnn00eFNd4GMrxOMi/include
 /usr/local/stow/ghc-7.10.0.20141222-bin/lib/ghc-7.10.0.20141222/include
   Asked for by: Tokens.hs  at line 1 col 1
 Warning: trailing characters after #if directive in file
 /usr/local/stow/ghc-7.10.0.20141222-bin/lib/ghc-7.10.0.20141222/include/ghcautoconf.h
 at line 379 col 1:  AC_APPLE_UNIVERSAL_BUILD

 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9213#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list