Re: New error on linux

2015-10-27 Thread Ben Gamari
Simon Peyton Jones  writes:

> Clean build on HEAD on Linux is now giving a new error.
>
> Actual stderr output differs from expected:
>
> --- ./driver/T10970a.stderr.normalised2015-10-27 09:44:02.279188078 +
>
> +++ ./driver/T10970a.comp.stderr.normalised 2015-10-27 09:44:02.279188078 
> +
>
> @@ -1,6 +1,4 @@
>
>  T10970a.hs:4:0:
>
>   missing binary operator before token "("
>
> - #if MIN_VERSION_base(3,0,0)
>
> - ^
>
> `gcc' failed in phase `C pre-processor'. (Exit code: 1)
>
Hmm, it is possible that the output produced by this test is
gcc-version dependent. What GCC version are you using?

I believe Edward must have been using 5.2.* as `master` currently
validates for me and this is the version I am using.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


RE: New error on linux

2015-10-27 Thread Simon Peyton Jones
gcc 4.6.3

|  -Original Message-
|  From: Ben Gamari [mailto:b...@smart-cactus.org]
|  Sent: 27 October 2015 10:31
|  To: Simon Peyton Jones; ghc-devs@haskell.org
|  Subject: Re: New error on linux
|  
|  Simon Peyton Jones <simo...@microsoft.com> writes:
|  
|  > Clean build on HEAD on Linux is now giving a new error.
|  >
|  > Actual stderr output differs from expected:
|  >
|  > --- ./driver/T10970a.stderr.normalised2015-10-27 09:44:02.279188078
|  +
|  >
|  > +++ ./driver/T10970a.comp.stderr.normalised 2015-10-27
|  09:44:02.279188078 +
|  >
|  > @@ -1,6 +1,4 @@
|  >
|  >  T10970a.hs:4:0:
|  >
|  >   missing binary operator before token "("
|  >
|  > - #if MIN_VERSION_base(3,0,0)
|  >
|  > - ^
|  >
|  > `gcc' failed in phase `C pre-processor'. (Exit code: 1)
|  >
|  Hmm, it is possible that the output produced by this test is gcc-version
|  dependent. What GCC version are you using?
|  
|  I believe Edward must have been using 5.2.* as `master` currently validates
|  for me and this is the version I am using.
|  
|  Cheers,
|  
|  - Ben
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


RE: New error on linux

2015-10-27 Thread Ben Gamari
Simon Peyton Jones  writes:

> gcc 4.6.3
>
Alright, we'll need to figure out what to do about these differences.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


RE: New error on linux

2015-10-27 Thread Ben Gamari
"Edward Z. Yang"  writes:

> OK fixed.
>
Thanks Edward!

Cheers,

- Ben


signature.asc
Description: PGP signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


RE: New error on linux

2015-10-27 Thread Edward Z. Yang
That's simple, we can just use ifdef to test for macro appearance.
I'll commit a fix.

Edward

Excerpts from Ben Gamari's message of 2015-10-27 04:04:42 -0700:
> Simon Peyton Jones  writes:
> 
> > gcc 4.6.3
> >
> Alright, we'll need to figure out what to do about these differences.
> 
> Cheers,
> 
> - Ben
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


RE: New error on linux

2015-10-27 Thread Edward Z. Yang
OK fixed.

Edward

Excerpts from Edward Z. Yang's message of 2015-10-27 10:36:36 -0700:
> That's simple, we can just use ifdef to test for macro appearance.
> I'll commit a fix.
> 
> Edward
> 
> Excerpts from Ben Gamari's message of 2015-10-27 04:04:42 -0700:
> > Simon Peyton Jones  writes:
> > 
> > > gcc 4.6.3
> > >
> > Alright, we'll need to figure out what to do about these differences.
> > 
> > Cheers,
> > 
> > - Ben
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs