[GHC] #14472: error __STDC_VERSION__ does not advertise C99 or later
GHC
ghc-devs at haskell.org
Thu Nov 16 09:08:02 UTC 2017
#14472: error __STDC_VERSION__ does not advertise C99 or later
-------------------------------------+-------------------------------------
Reporter: kaldiroglu | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.1
Keywords: | Operating System: MacOS X
Architecture: x86_64 | Type of failure: GHC rejects
(amd64) | valid program
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
Hi,
I am using Mac OS highSierra 10.13.1 and downloaded and installed Haskell
Platform 8.2.1 Full 64bit-signed.pkg. Then as a first program I created a
file called Selam.hs that includes followng one line:
"main = putStrLn "Hello, world!""
When I compiled the code using ghc -o Selam Selam.hs at the linking phase
I am having "error __STDC_VERSION__ does not advertise C99 or later"
error.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14472>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list