On 2014-05-01 10:10:46 -0400, Tom Lane wrote: > Andres Freund <and...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers