bogus unixware compiler warnings

From: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
To: Patches <pgsql-patches(at)postgresql(dot)org>
Cc: ohp(at)pyrenet(dot)fr
Subject: bogus unixware compiler warnings
Date: 2007-07-16 11:11:18
Message-ID: 469B5256.8020000@kaltenbrunner.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

I'm slowly working on submitting patches to reduce the amount of (bogus)
compiler warnings generated by various buildfarm members.

Warthog(the unixware box) generates some 1140 lines of:

UX:cc: WARNING: debugging and optimization mutually exclusive; -O disabled
UX:cc: WARNING: debugging and optimization mutually exclusive; -O disabled

which seems to be a result of having both -g and -O in CFLAGS - Olivier
was so kind to test the attached patch which get's rid of all those
bogus warnings (and seems to be in line with what we are doing on other
platforms like solaris).

Stefan

Attachment Content-Type Size
unixware_warnings.diff text/plain 834 bytes

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2007-07-16 16:57:45 Async Commit, v21
Previous Message Gregory Stark 2007-07-16 10:48:24 Re: Deferred RI trigger for non-key UPDATEs and subxacts