Re: Further news on Clang - spurious warnings - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Further news on Clang - spurious warnings
Date
Msg-id 1312395453.24208.3.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: Further news on Clang - spurious warnings  ("David E. Wheeler" <david@kineticode.com>)
Responses Re: Further news on Clang - spurious warnings
List pgsql-hackers
On ons, 2011-08-03 at 10:33 -0700, David E. Wheeler wrote:
> I haven't been paying attention to warnings, but FWIW 9.1beta3 has
> been building with LLVM by default with Xcode 4. Both on Snow Leopard
> and on Lion I saw something like this:
> 
> try=# select version();
> 
> version                                                                                   
>
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>  PostgreSQL 9.1beta3 on x86_64-apple-darwin11.0.0, compiled by
> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc.
> build 5658) (LLVM build 2335.15.00), 64-bit
> (1 row)
> 
> Which is just awesome. Things seem to work great.

Note that what you are using there is a GCC frontend with a LLVM
backend.  (So I suppose you would get mostly GCC warnings.)  Clang is a
new/different compiler frontend using the LLVM backend.




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Further news on Clang - spurious warnings
Next
From: Alvaro Herrera
Date:
Subject: Re: cataloguing NOT NULL constraints