You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Rely on inline functions even if that causes warnings in older compilers.
So far we have worked around the fact that some very old compilers donot support 'inline' functions by only using inline functionsconditionally (or not at all). Since such compilers are very rare bynow, we have decided to rely on inline functions from 9.6 onwards.To avoid breaking these old compilers inline is defined away when notsupported. That'll cause "function x defined but not used" type ofwarnings, but since nobody develops on such compilers anymore that'sok.This change in policy will allow us to more easily employ inlinefunctions.I chose to remove code previously conditional on PG_USE_INLINE as itseemed confusing to have code dependent on a define that's alwaysdefined.Blacklisting of compilers, like inc53f738, now has to be donedifferently. A platform template can define PG_FORCE_DISABLE_INLINE toforce inline to be defined empty.Discussion: 20150701161447.GB30708@awork2.anarazel.de