Re: Further news on Clang - spurious warnings

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Further news on Clang - spurious warnings
Дата
Msg-id 1312395453.24208.3.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: Further news on Clang - spurious warnings  ("David E. Wheeler" <david@kineticode.com>)
Ответы Re: Further news on Clang - spurious warnings  ("David E. Wheeler" <david@kineticode.com>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Further news on Clang - spurious warnings
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: cataloguing NOT NULL constraints