On 13 April 2015 at 17:45, Jed Brown <[email protected]> wrote: > Of course not every compiler defines it, so that's why we check:
What I meant is the following: assume you are using a not so old GCC version that supports __attribute__((something)) however it does not support the __has_attribute(something) in the preprocessor. Then we will endup not using the attribute despite the compiler actually supporting it. -- Lisandro Dalcin ============ Research Scientist Computer, Electrical and Mathematical Sciences & Engineering (CEMSE) Numerical Porous Media Center (NumPor) King Abdullah University of Science and Technology (KAUST) http://numpor.kaust.edu.sa/ 4700 King Abdullah University of Science and Technology al-Khawarizmi Bldg (Bldg 1), Office # 4332 Thuwal 23955-6900, Kingdom of Saudi Arabia http://www.kaust.edu.sa Office Phone: +966 12 808-0459
