Problem configuring PostgreSQL 8.1.4 on Mac OS X

Поиск
Список
Период
Сортировка
От Adam
Тема Problem configuring PostgreSQL 8.1.4 on Mac OS X
Дата
Msg-id D2995129-49B2-4E7B-8A1F-8F4A224DB014@albedo.art.pl
обсуждение исходный текст
Ответы Re: Problem configuring PostgreSQL 8.1.4 on Mac OS X  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Problem configuring PostgreSQL 8.1.4 on Mac OS X  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Greetings,

There is a problem with PostgreSQL 8.1.4 on Mac OS X (PowerPC).

The 'configure --enable-thread-safety' script fails when CFLAGS
contain "-mcpu=7400", "-mcpu=970" or "-maltivec". With these flags,
the GCC compiler enables AltiVec instructions for the PowerPC
processor, and defines:

#define __ALTIVEC__ 1
#define __VEC__ 10206
#define __vector __attribute__((altivec(vector__)))
#define __pixel __attribute__((altivec(pixel__))) unsigned short
#define __bool __attribute__((altivec(bool__))) unsigned
#define vector vector
#define pixel pixel
#define _Bool _Bool
#define bool bool

src/tools/thread/thread_test.c, fired for '--enable-thread-safety',
failes for not having the correct definition for 'bool'.

I would suggest using 'BOOL' for you boolean variables, instead of
'bool'.

Please, fix. :)

Kind regards,
Adam

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

Предыдущее
От: "Boris"
Дата:
Сообщение: BUG #2472: Incorrect ILIKE, ~* for Cyrilic symbols.
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: reindexdb command utlility