Hi Amos,

At 03.13 01/06/2009, Amos Jeffries wrote:
Serassio Guido wrote:
> Hi,
>
> This is from acl/Ident.c:
>
> #include "acl/Ident.h"
> #include "ident.h"
>
> This cannot work on Windows, because the acl/Ident.h file will be
> included two times ...
>
> What rule should be used to rename one of the conflicting files ?


Best long-term bet is to not have -I. anywhere in the paths if you can
remove it. I have cleared it out for the non-windows builders already.
Everything is referenced relative to ~/src/ and ~/ paths now.

MinGW uses the standard autotools based builder, the only difference is the case insensitive file system, and -I. is not present in the compile command (IntRange.cc was the first failing source file):

guido.seras...@titano /c/work/mgw-3.nt/src/acl
$ make IntRange.o
if g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../../include -I/mingw/include -I/usr/include/libxml2 -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -D_FILE_OFFSET_BITS=64 -g -O2 -mthreads -MT IntRange.o -MD -MP -MF ".deps/IntRange.Tpo" -c -o IntRange.o IntRange.cc; \ then mv -f ".deps/IntRange.Tpo" ".deps/IntRange.Po"; else rm -f ".deps/IntRange.Tpo"; exit 1; fi

guido.seras...@titano /c/work/mgw-3.nt/src/acl

I'm thinking initially a src/ident/ folder with all the ident stuff
inside it was planned. http://wiki.squid-cache.org/Features/SourceLayout

That would make them ident/ident.h and ident/AclIdent.h

OK, for now I will fix the problem renaming src/acl/Ident.h in src/acl/AclIdent.h

Regards

Guido



-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1           10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: [email protected]
WWW: http://www.acmeconsulting.it/

Reply via email to