Perl warnings when building contrib on RHEL 9 beta

Поиск
Список
Период
Сортировка
От Daniel Westermann (DWE)
Тема Perl warnings when building contrib on RHEL 9 beta
Дата
Msg-id ZR0P278MB0920FF59B7570984BD86E0D2D28C9@ZR0P278MB0920.CHEP278.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответы Re: Perl warnings when building contrib on RHEL 9 beta  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi list,

just compiled PostgreSQL head on RedHat 9 beta. Generally seems to be fine but when building contrib, a lot of these
warningspop up: 

/usr/lib64/perl5/CORE/inline.h:2635:5: warning: '}' and ')' tokens terminating statement expression appear in different
macroexpansion contexts [-Wcompound-token-split-by-macro] 
    ENV_UNLOCK;
    ^~~~~~~~~~
/usr/lib64/perl5/CORE/perl.h:2925:31: note: expanded from macro 'ENV_UNLOCK'
#  define ENV_UNLOCK          MUTEX_UNLOCK(&PL_env_mutex)
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib64/perl5/CORE/thread.h:227:5: note: expanded from macro 'MUTEX_UNLOCK'
    } STMT_END
    ^
/usr/lib64/perl5/CORE/inline.h:2635:5: note: ')' token is here
    ENV_UNLOCK;
    ^~~~~~~~~~

Full log attached.

Note: I had to install two different packages compared to RHEL 7 and 8:
perl-FindBin and perl-Opcode

Regards
Daniel
Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Parallelize correlated subqueries that execute within each worker
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: PITR: enhance getRecordTimestamp()