GHC_STAGE
Shayne Fletcher
shayne.fletcher at daml.com
Thu Oct 10 17:24:10 UTC 2019
Well, I thought I had but must have got into a funny state since I can't
reproduce today. Sorry for the noise!
On Thu, Oct 10, 2019 at 12:46 PM Stefan Schulze Frielinghaus <ml at stefansf.de>
wrote:
> Hi Shayne,
>
> does commit 35cc5eff fix your problem?
>
> Cheers,
> Stefan
>
> On Thu, Oct 10, 2019 at 07:41:47AM -0400, Shayne Fletcher via ghc-devs
> wrote:
> > Hi Ben,
> >
> > I observed warnings of this kind in a couple of places building head
> > yesterday:
> > ```
> > compiler/utils/FastString.hs:336:5: error:
> > warning: 'GHC_STAGE' is not defined, evaluates to 0 [-Wundef]
> > |
> > 336 | #if GHC_STAGE < 2
> > | ^
> > #if GHC_STAGE < 2
> > ^
> > ```
> >
> > ```
> > compiler/main/DynFlags.hs:323:5: error:
> > warning: 'GHC_STAGE' is not defined, evaluates to 0 [-Wundef]
> > |
> > 323 | #if GHC_STAGE >= 2
> > | ^
> > #if GHC_STAGE >= 2
> > ^
> > ```
> > I was using the `hadrian/build.stack.sh` approach. Figured you'd want to
> > know!
> >
> > --
> > *Shayne Fletcher*
> > Language Engineer */* +1 917 699 7663
> > *Digital Asset* <https://digitalasset.com/>, creators of *DAML
> > <https://daml.com/>*
> >
> > --
> > This message, and any attachments, is for the intended recipient(s)
> only,
> > may contain information that is privileged, confidential and/or
> proprietary
> > and subject to important terms and conditions available at
> > http://www.digitalasset.com/emaildisclaimer.html
> > <http://www.digitalasset.com/emaildisclaimer.html>. If you are not the
> > intended recipient, please delete this message.
>
> > _______________________________________________
> > ghc-devs mailing list
> > ghc-devs at haskell.org
> > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
>
--
*Shayne Fletcher*
Language Engineer */* +1 917 699 7663
*Digital Asset* <https://digitalasset.com/>, creators of *DAML
<https://daml.com/>*
--
This message, and any attachments, is for the intended recipient(s) only,
may contain information that is privileged, confidential and/or proprietary
and subject to important terms and conditions available atÂ
http://www.digitalasset.com/emaildisclaimer.html
<http://www.digitalasset.com/emaildisclaimer.html>. If you are not the
intended recipient, please delete this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20191010/edc4f28c/attachment.html>
More information about the ghc-devs
mailing list