[petsc-dev] Clang Analyzer

Lisandro Dalcin dalcinl at gmail.com
Mon Apr 13 04:16:14 CDT 2015


On 13 April 2015 at 11:58, Jed Brown <jed at jedbrown.org> wrote:
> Lisandro Dalcin <dalcinl at gmail.com> writes:
>
>> Jed, hold on. I think this will not work. Does GCC or other compilers
>> that do support __attribute__((something)) have support for
>> __has_attribute(something) ?
>
> Yes, it has been added to gcc-5 (due out within a week or so).

OK, but then what about previous GCC versions or the Intel compiler? I
mean, we cannot use __has_attribute to remove configure checks.


-- 
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



More information about the petsc-dev mailing list