Branch: refs/heads/kupsch/fix_broken_has_x_attribute Home: https://github.com/dyninst/dyninst Commit: e97f51b6f0ef59b0b6a1252fa72d327df4e73daa https://github.com/dyninst/dyninst/commit/e97f51b6f0ef59b0b6a1252fa72d327df4e73daa Author: James A. Kupsch <kup...@cs.wisc.edu> Date: 2023-10-06 (Fri, 06 Oct 2023)
Changed paths: M common/h/compiler_annotations.h Log Message: ----------- fix gcc 6's broken __has_x_attribute - 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 preprocessor tests into common macros _______________________________________________ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api