<div dir="ltr">Probably just what it says -- plugins is calling ghc and passing the -fglasgow-exts flag. I would try just removing that flag.<div><br></div><div>- jeremy</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Sep 17, 2013 at 2:08 AM, Petr Pudlák <span dir="ltr">&lt;<a href="mailto:petr.mvd@gmail.com" target="_blank">petr.mvd@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Any ideas what could be causing the
      problem? I could try creating a patch, but I have no clue where to
      start.<br>
      <br>
        Best regards,<br>
        Petr<br>
      <br>
      Dne 09/16/2013 11:12 PM, Jeremy Shaw napsal(a):<br>
    </div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">plugins probably needs to be patched[1]. I&#39;ll
        happily apply such a patch.
        <div><br>
        </div>
        <div>- jeremy</div>
        <div>[1] or rewritten from the ground up</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">
          On Mon, Sep 16, 2013 at 2:49 AM, Petr Pudlák <span dir="ltr">&lt;<a href="mailto:petr.mvd@gmail.com" target="_blank">petr.mvd@gmail.com</a>&gt;</span> wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div>
                <p style="margin:1.2em 0px!important">Hi,</p>
                <p style="margin:1.2em 0px!important">I&#39;m playing with
                  “plugins”, trying to evaluate a simple expression:</p>
                <pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;overflow:auto;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:nowrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px 3px 3px 3px;display:inline;white-space:pre-wrap;border-radius:3px 3px 3px 3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block;padding:0.5em;color:rgb(51,51,51);background:none repeat scroll 0% 0% rgb(248,248,255)"><span><span style="color:rgb(51,51,51);font-weight:bold">import</span> Control.Monad</span>
<span><span style="color:rgb(51,51,51);font-weight:bold">import</span> System.Eval.Haskell</span>

<span style="color:rgb(153,0,0);font-weight:bold">main</span> = <span style="color:rgb(51,51,51);font-weight:bold">do</span>
    <span style="color:rgb(51,51,51);font-weight:bold">let</span> fExpr = <span style="color:rgb(221,17,68)">&quot;1 + 2 :: Int&quot;</span>
    r &lt;- eval_ fExpr [<span style="color:rgb(221,17,68)">&quot;Prelude&quot;</span>] [] [] []
            :: <span>IO</span> (<span>Either</span> [<span>String</span>] (<span>Maybe</span> <span>Int</span>))
    <span style="color:rgb(51,51,51);font-weight:bold">case</span> r <span style="color:rgb(51,51,51);font-weight:bold">of</span>
        <span>Right</span> (<span>Just</span> f)  -&gt; <span style="color:rgb(51,51,51);font-weight:bold">do</span>
            print $ f
        <span>Left</span> err -&gt; putStrLn $ <span style="color:rgb(221,17,68)">&quot;Error: &quot;</span> ++ unlines err
        _ -&gt; putStrLn $ <span style="color:rgb(221,17,68)">&quot;Unknown error.&quot;</span></code></pre>
                <p style="margin:1.2em 0px!important">However, it fails
                  with</p>
                <pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;overflow:auto;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:nowrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px 3px 3px 3px;display:inline;white-space:pre-wrap;border-radius:3px 3px 3px 3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block;padding:0.5em;color:rgb(51,51,51);background:none repeat scroll 0% 0% rgb(248,248,255)">Error: 
on the commandline: Warning:
    -fglasgow-exts is deprecated: Use individual extensions instead</code></pre>
                <p style="margin:1.2em 0px!important">Am I doing
                  something wrong? How can I turn off the flag?</p>
                <p style="margin:1.2em 0px!important">I&#39;m using GHC
                  7.6.3.</p>
                <p style="margin:1.2em 0px!important"> Thanks,<br>
                  Petr</p>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            Haskell-Cafe mailing list<br>
            <a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
            <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>