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

GHC ghc-devs at haskell.org
Sat Nov 15 13:23:06 UTC 2014


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

Comment (by asr):

 You can reproduce the issue by installing Agda (sorry I know this is not a
 simple package). Note that Agda uses cpphs as the default C preprocessor.

 {{{cabal install Agda-2.4.2.1}}}
 {{{...}}}

 {{{Preprocessing library Agda-2.4.2.1...}}}
 {{{Warning: trailing characters after #if directive in file
 /usr/local/stow/ghc-7.8.3-bin/lib/ghc-7.8.3/include/ghcautoconf.h  at line
 383 col 1:  AC_APPLE_UNIVERSAL_BUILD}}}

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


More information about the ghc-tickets mailing list