[GHC] #14472: error __STDC_VERSION__ does not advertise C99 or later

#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

#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 Resolution: | 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: | -------------------------------------+------------------------------------- Changes (by kaldiroglu): * Attachment "Screen Shot 2017-11-16 at 12.01.51.png" added. Screen shot. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14472 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC