On Sat, 2014-11-08 at 16:29 +0330, Siavash Eliasi wrote: > I rather to not use compiler specific hacks in mesa. If it was a > personal pet project it would make sense. > > Best regards, > Siavash Eliasi.
Having to work around compiler differences is a real world problem. As has been pointed out before msvc handles function specific optimisations using intrinsics automatically. GCC and Clang don't so to avoid the multiple issues cause by having to move things to a different file we need to work around it. Thankfully macros allow the impact to be minimised. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev