Re: BUG #15414: extension compilation fails when c++ files are named with .cc

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #15414: extension compilation fails when c++ files are named with .cc
Дата
Msg-id 29555.1538428566@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #15414: extension compilation fails when c++ files are namedwith .cc  (Jerry Sievert <jerry@legitimatesounding.com>)
Список pgsql-bugs
Jerry Sievert <jerry@legitimatesounding.com> writes:
>> On Oct 1, 2018, at 1:25 PM, Andres Freund <andres@anarazel.de> wrote:
>> 1) Add rules for ".cpp", ".cc", ".C", ".cxx", and ".c++" and whatever
>> else we can think of. Add additional variants whenever somebody
>> presents one (and backpatch it).

> This is a rather disingenuous choice.  Perhaps a better approach would be to do a quick survey of the existing c++
extensions(there aren’t very many), 

Andres just named five, which is about four too many.  I wouldn't mind
adding one more, but it's not very clear where to stop.  Most of the ones
he mentioned do seem to have some currency, with the possible exception
of '.C' which as you say is a hazardous choice.

            regards, tom lane


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: BUG #15414: extension compilation fails when c++ files are namedwith .cc
Следующее
От: Jerry Sievert
Дата:
Сообщение: Re: BUG #15414: extension compilation fails when c++ files are namedwith .cc