[darcs-devel] announcing darcs 2.0.0pre1, the first prerelease for darcs 2

Dmitry Kurochkin dmitry.kurochkin at gmail.com
Wed Dec 19 16:15:15 UTC 2007


The problem is that ghc eats -DHAVE_CONFIG_H option from libwww-config --cflags.
If I run:

% ghc  -c hslibwww.c `libwww-config --cflags` -optc-DHAVE_CONFIG_H

It compiles fine. I guess this should be dealt with in configure step?

For now I will just put needed flags into makefile.

Regards,
  Dmitry

2007/12/19, Dmitry Kurochkin <dmitry.kurochkin at gmail.com>:
> Debian testing. I will try it on unstable when get home.
> I'll see if I can make ghc to print commands it runs.
>
> Regards,
>   Dmitry
>
> 2007/12/19, David Roundy <daveroundy at gmail.com>:
> > This is puzzling.  What OS are you using? It seems like ghc should be
> > calling the same gcc you've got on the system...  :(
> >
> > David
> >
> > On Dec 19, 2007 10:51 AM, Dmitry Kurochkin <dmitry.kurochkin at gmail.com> wrote:
> > > Copied too fast. Here is what I get:
> > >
> > > % ghc -c hslibwww.c `libwww-config --cflags`
> > > In file included from /usr/include/w3c-libwww/WWWLib.h:50,
> > >
> > >                  from hslibwww.c:5:0:
> > >
> > > /usr/include/w3c-libwww/wwwsys.h:1324:0:
> > >      error: conflicting types for 'sys_errlist'
> >
>


More information about the darcs-devel mailing list