| От | Dagfinn Ilmari Mannsåker |
|---|---|
| Тема | Re: Windows build warnings |
| Дата | |
| Msg-id | 877dcxpoc6.fsf@wibble.ilmari.org обсуждение исходный текст |
| Ответ на | Re: Windows build warnings (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
Tom Lane <tgl@sss.pgh.pa.us> writes: > =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= <ilmari@ilmari.org> writes: >> Should we change the compiler checks for attributes in c.h to include >> `|| __has_attribute(…)`, so that we automatically get them on compilers >> that support that (particularly clang)? > > clang already #defines GCC, no? __GNUC__, but yes, I didn't realise that. Clang 11 seems to claim to be GCC 4.2 by default, but that can be overridden usng the -fgnuc-version (and turned off by setting it to zero). Do any other compilers support __has_attribute()? > regards, tom lane - ilmari
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера