On Thu, Aug 07, 2014 at 02:28:47PM -0700, Chris Wright wrote: > * Vincent JARDIN (vincent.jardin at 6wind.com) wrote: > > What's about using function versioning attributes too: > > > > https://gcc.gnu.org/wiki/FunctionMultiVersioning > > > > ? > > Neat, hadn't seen that gcc feature before, but: > > "This support is available in GCC 4.8 and later. Support is only > available in C++ for i386 targets." > > I have 4.8.2, gcc errors, g++ works. And entirely unclear re: > icc (which was a supported compiler). Seems like it's not > really an option. > I agree, nice idea, probably not pragmatic until its supported in all generally available compilers (from distributions). Its also a bit questionable as to how this works on alternate arches.
Neil > thanks, > -chris >