compile errors

Lists: pgsql-hackers-win32
From: <Tom(dot)Zschockelt(at)flender(dot)com>
To: pgsql-hackers-win32(at)postgresql(dot)org
Subject: compile errors
Date: 2004-03-22 06:42:08
Message-ID: OF6B251075.A8E0FD9A-ONC1256E5F.0023E4F4-C1256E5F.0024C8FF@flender.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers-win32

Hi,

on the current win32 snapshot I get a compiler error while compiling

pg_resetxlog

Error message :

pg_resetxlog.c : In function `main':
pg_resetxlog.c: 193: `optind' undeclared (first use in this function)

To solve this problem temporary on my system, I declared optind as extern
int.

Is there a config issue or is this a bug ?

Bye

tom


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tom(dot)Zschockelt(at)flender(dot)com
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: compile errors
Date: 2004-03-22 16:47:32
Message-ID: 1692.1079974052@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers-win32

<Tom(dot)Zschockelt(at)flender(dot)com> writes:
> on the current win32 snapshot I get a compiler error while compiling
> pg_resetxlog

Fixed. Interesting that this hasn't come up on any other platforms...

regards, tom lane