windows consolidated cleanup

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: windows consolidated cleanup
Date: 2011-04-24 05:29:42
Message-ID: 4DB3B546.9080508@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


The attached patch is intended to clean up a bunch of compiler warnings
seen on Windows due to mismatches of signedness or constness, unused
variables, redefined macros and a missing prototype.

It doesn't clean up all the warnings by any means, but it fixes quite a few.

One thing I'm a bit confused about is this type of warning:

src\backend\utils\misc\guc-file.c(977): warning C4003: not enough actual parameters for macro 'GUC_yywrap'

If someone can suggest a good fix That would be nice.

cheers

andrew

Attachment Content-Type Size
w32cleanup.patch text/x-patch 11.6 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Chernow 2011-04-24 13:11:41 Re: windows consolidated cleanup
Previous Message David E. Wheeler 2011-04-24 04:27:52 Re: Extension Packaging