[HACKERS] MSVC build broken

2008-05-08 Thread Andrew Dunstan
The recent xml2 build changes have broken MSVC builds. The problem is this fragment (that appears twice) from src/tools/msvc/Mkvcbuild.pm: foreach my $o (split /\s+/, $1) { $o =~ s/\.o$/.c/; $proj->AddFile('contrib\\' . $n . '\\' . $o); } which gets

Re: [HACKERS] MSVC build broken with perl 5.10

2008-04-15 Thread Andrew Dunstan
Zeugswetter Andreas OSB SD wrote: Magnus Hagander wrote: I just tried the MSVC build on a system with ActiveState Perl 5.10, and it doesn't work. Some quick debugging before I downgraded to 5.8 showed that this regexp in Project.pm line 262: my $replace_re = qr{^([^:

Re: [HACKERS] MSVC build broken with perl 5.10

2008-04-15 Thread Zeugswetter Andreas OSB SD
Magnus Hagander wrote: > I just tried the MSVC build on a system with ActiveState Perl 5.10, and > it doesn't work. Some quick debugging before I downgraded to 5.8 showed > that this regexp in Project.pm line 262: > my $replace_re = qr{^([^:\n\$]+\.c)\s*:\s*(?:%\s*: )?\$(\([^\)]+\))\/(.*)\/[^\

Re: [HACKERS] MSVC build broken with perl 5.10

2008-04-10 Thread Martijn van Oosterhout
On Thu, Apr 10, 2008 at 04:12:56PM +0200, Magnus Hagander wrote: > > > my $replace_re = > > > qr{^([^:\n\$]+\.c)\s*:\s*(?:%\s*: )?\$(\([^\)]+\))\/(.*)\/[^\/]+$}; > > Perhaps you would like to comment it using the x format, so that it > > doesn't just look like white noise. > > That would be

Re: [HACKERS] MSVC build broken with perl 5.10

2008-04-10 Thread Magnus Hagander
Andrew Dunstan wrote: > > > Magnus Hagander wrote: > > I just tried the MSVC build on a system with ActiveState Perl 5.10, > > and it doesn't work. Some quick debugging before I downgraded to > > 5.8 showed that this regexp in Project.pm line 262: > > my $replace_re = > > qr{^([^:\n\$]+\.c)\s

Re: [HACKERS] MSVC build broken with perl 5.10

2008-04-08 Thread Andrew Dunstan
Magnus Hagander wrote: I just tried the MSVC build on a system with ActiveState Perl 5.10, and it doesn't work. Some quick debugging before I downgraded to 5.8 showed that this regexp in Project.pm line 262: my $replace_re = qr{^([^:\n\$]+\.c)\s*:\s*(?:%\s*: )?\$(\([^\)]+\))\/(.*)\/[^\/]+$}

[HACKERS] MSVC build broken with perl 5.10

2008-04-08 Thread Magnus Hagander
I just tried the MSVC build on a system with ActiveState Perl 5.10, and it doesn't work. Some quick debugging before I downgraded to 5.8 showed that this regexp in Project.pm line 262: my $replace_re = qr{^([^:\n\$]+\.c)\s*:\s*(?:%\s*: )?\$(\([^\)]+\))\/(.*)\/[^\/]+$}; matches things properly

Re: [HACKERS] msvc build broken for ecpg

2007-03-18 Thread Magnus Hagander
>> It's intended to parse as much as possible out of the existing files. >> Unfortunately, the makefiles aren't consistent enough to make this >> always work, which is why each project in /bin/ for example is added >> manually. In /contrib/ they're a lot more consistent, so they're >> auto-parsed.

Re: [HACKERS] msvc build broken for ecpg

2007-03-18 Thread Andrew Dunstan
Magnus Hagander wrote: Perhaps Magnus could give some precise details about the requirements of the buildsystem he's constructed. It's intended to parse as much as possible out of the existing files. Unfortunately, the makefiles aren't consistent enough to make this always work, which is

Re: [HACKERS] msvc build broken for ecpg

2007-03-18 Thread Magnus Hagander
Andrew Dunstan wrote: > > The recent ecpg commit seems to have broken MSVC builds: > > > descriptor.obj : error LNK2019: unresolved external symbol _pg_snprintf > referenced in function _ECPGget_desc > error.obj : error LNK2001: unresolved external symbol _pg_snprintf > misc.obj : error LNK2001:

[HACKERS] msvc build broken for ecpg

2007-03-18 Thread Andrew Dunstan
The recent ecpg commit seems to have broken MSVC builds: descriptor.obj : error LNK2019: unresolved external symbol _pg_snprintf referenced in function _ECPGget_desc error.obj : error LNK2001: unresolved external symbol _pg_snprintf misc.obj : error LNK2001: unresolved external symbol _pg_snp