Branch: refs/heads/master
Home: https://github.com/dyninst/dyninst
Commit: b39e7a837b16cd56f400c46be247a874ac088675
https://github.com/dyninst/dyninst/commit/b39e7a837b16cd56f400c46be247a874ac088675
Author: kupsch <kupsch@xxxxxxxxxxx>
Date: 2023-10-10 (Tue, 10 Oct 2023)
Changed paths:
M common/h/compiler_annotations.h
Log Message:
-----------
fix gcc 6's broken __has_x_attribute (#1569)
- gcc 6's __has_c_attribute and __has_cpp_attribute return true if
an attribute is supported as a non-standard extension, but if used
produces a warning if the language standard is earlier than the
attribute's standardization; treat gcc 6 like clang and only allow
if the language standard is after the introduction.
- refactor the conditional compilation tests into common macros
|