<div dir="ltr">Done. Thanks!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 7, 2015 at 9:33 AM, Alois Cochard <span dir="ltr"><<a href="mailto:alois.cochard@gmail.com" target="_blank">alois.cochard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi deech,<div><br></div><div>If I were you I would try to report the issue directly on c2hs issue tracker:</div><div><a href="https://github.com/haskell/c2hs/issues" target="_blank">https://github.com/haskell/c2hs/issues</a><br></div><div><br></div><div>The developer is very reactive there!</div><div><br></div><div>Cheers</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 7 March 2015 at 16:29, aditya siram <span dir="ltr"><<a href="mailto:aditya.siram@gmail.com" target="_blank">aditya.siram@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div>Hi all,<br></div>I could still use some help here.<br></div>Thanks!<br></div>-deech<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 2, 2015 at 6:13 PM, aditya siram <span dir="ltr"><<a href="mailto:aditya.siram@gmail.com" target="_blank">aditya.siram@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi all,<br></div>c2hs runs into the following error on all of my .chs files, but only on Windows:<br>c:\\program files\\haskell platform\\2014.2.0.0\\mingw\\bin\\../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/include/stddef.h:20: (column 11)<br> [ERROR] >>> Syntax error !<br> The symbol `__attribute__' does not fit here.<br><br>My c2hs version is:<br>C->Haskell Compiler, version 0.23.1 Snowbounder, 31 Oct 2014<br> build platform is "x86_64-mingw32" <1, True, True, 1><br><br>This is the command being run:<br>"c:\Users\deech\AppData\Roaming\cabal\bin\c2hs.exe" <br> "--cpp=c:\Program Files\Haskell Platform\2014.2.0.0\mingw\bin\gcc.exe" <br> "--cppopts=-E" "--cppopts=-D__GLASGOW_HASKELL__=708" <br> "--cppopts=-Dmingw32_BUILD_OS=1" <br> "--cppopts=-Dx86_64_BUILD_ARCH=1" <br> "--cppopts=-Dmingw32_HOST_OS=1" <br> "--cppopts=-Dx86_64_HOST_ARCH=1" <br> "--cppopts=-I./c-src" <br> "--cppopts=-I./" <br> "--cppopts=-IC:/MinGW/include" <br> "--cppopts=-IC:\Users\deech\Downloads\fltkhs-0.1.0.1/c-src" <br> "--cppopts=-IC:\Users\deech\Downloads\fltkhs-0.1.0.1" <br> "--include=dist\build" <br> "--cppopts=-IC:\Program Files\Haskell Platform\2014.2.0.0\lib\process-1.2.0.0\include" <br> "--cppopts=-IC:\Program Files\Haskell Platform\2014.2.0.0\lib\directory-1.2.1.0\include" <br> "--cppopts=-IC:\Program Files\Haskell Platform\2014.2.0.0\lib\time-1.4.2\include" <br> "--cppopts=-IC:\ProgramFiles\Haskell Platform\2014.2.0.0\lib\Win32-2.3.0.2\include" <br> "--cppopts=-IC:\Program Files\Haskell Platform\2014.2.0.0\lib\bytestring-0.10.4.0\include" <br> "--cppopts=-IC:\Program Files\Haskell Platform\2014.2.0.0\lib\base-4.7.0.1\include" <br> "--cppopts=-IC:\Program Files\Haskell Platform\2014.2.0.0\lib\integer-gmp-0.5.1.0\include" <br> "--cppopts=-IC:\Program Files\Haskell Platform\2014.2.0.0\lib/include" <br> "--output-dir=dist\build" "--output=Graphics\UI\FLTK\LowLevel\HorValueSlider.hs" <br> "src\Graphics\UI\FLTK\LowLevel\HorValueSlider.chs"<br><br></div><div>A little Googling turned up this thread: <a href="http://haskell.1045720.n5.nabble.com/BUG-string-h-FC4-x86-64-td3196369.html" target="_blank">http://haskell.1045720.n5.nabble.com/BUG-string-h-FC4-x86-64-td3196369.html</a> which suggested I pass -D__attribute__(A)= to c2hs's opts. I tried it and it led to other errors. I didn't pursue any further because it's an old thread. I'm not sure what stddef.h is and I'm unfamiliar with Windows. <br><br>Any help is appreciated.<br></div></div>Thanks!<br></div>-deech<br></div>
</blockquote></div><br></div>
</div></div><br></div></div><span class="">_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
<br></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><b>Λ\ois</b></div><div><div><a href="http://twitter.com/aloiscochard" target="_blank">http://twitter.com/aloiscochard</a></div><div><a href="http://github.com/aloiscochard" target="_blank">http://github.com/aloiscochard</a></div></div></div></div>
</font></span></div>
</blockquote></div><br></div>