Re: quiet inline configure check misses a step for clang
От | Andres Freund |
---|---|
Тема | Re: quiet inline configure check misses a step for clang |
Дата | |
Msg-id | 20140501141256.GC14243@awork2.anarazel.de обсуждение исходный текст |
Ответ на | Re: quiet inline configure check misses a step for clang (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
On 2014-05-01 10:10:46 -0400, Tom Lane wrote: > Andres Freund <andres@2ndquadrant.com> writes: > > I still think we really need to fix this. I have three possible > > solutions: > > > a) Add an external file (in the source tree) that's included in the > > configure test. > > b) Have a compiler specific override and specify USE_INLINE there. > > c) Drop the requirement of quiet inlines. > > > a) would probably the best, but I haven't yet found a non ugly solution :( > > Why is (a) so hard again? > > (If you're wondering where to put the file, I'd vote for the config/ > directory.) If we accept that the test includes a external file that's included in the source tree, it's not hard. What'd be hard is to generate a second file via autoconf. I looked at doing the latter and it seemed far to complex. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: