Re: Further news on Clang - spurious warnings

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: Further news on Clang - spurious warnings
Дата
Msg-id 3CD001EE-447A-4526-AEE8-7716FC745029@kineticode.com
обсуждение исходный текст
Ответ на Re: Further news on Clang - spurious warnings  ("David E. Wheeler" <david@kineticode.com>)
Ответы Re: Further news on Clang - spurious warnings  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Aug 3, 2011, at 12:21 PM, David E. Wheeler wrote:

> On Aug 3, 2011, at 11:28 AM, Grzegorz Jaskiewicz wrote:
>
>> export CC=clang
>> ./configure
>> ...
>
> Thanks, I'll give that a try the next time I build (RC1 I guess).

FYI, I just built Beta3 using Clang on Mac OS X 10.7 (Darwin 11). The build script looks like this:

    export VERSION=9.1beta3
    export PERL=/usr/local/bin/perl
    export BASE=/usr/local/pgsql

    export CC=clang
     # For debugging: --enable-cassert --enable-debug
    ./configure --with-bonjour --with-perl PERL=$PERL \
    --with-openssl --with-pam --with-krb5 --with-libxml \
    --with-ossp-uuid --with-includes=/usr/local/include \
    --enable-integer-datetimes --with-zlib \
    --with-libs=/usr/local/lib --prefix=$BASE || exit $?

    make world -j3 # || exit $?
    make install-world || exit $?

    mkdir $BASE/data
    chmod 0700 $BASE/data
    chown -R postgres:postgres $BASE/data
    sudo -u postgres $BASE/bin/initdb --locale en_US.UTF-8 --encoding utf-8 -D $BASE/data
    mkdir $BASE/data/logs
    chown -R postgres:postgres $BASE/data/logs

I figure there might be warnings you haven't seen if you haven't been building with bonjour, perl, openssl, pam,
libxml,or ossp-uuid, so I've attached the output. Pity you can't see the pretty colors the Clang sends to the terminal.
:-)

Best,

David


Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Reworking the writing of WAL
Следующее
От: Robert Haas
Дата:
Сообщение: Re: VACUUM FULL versus system catalog cache invalidation