Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# cpp11 (development version)

* Silenced an unknown attribute warning specific to the Intel compiler
(r-lib/systemfonts#98).

# cpp11 0.4.3

* Modernized the GitHub Actions workflows and updated some internal tests to
Expand Down
8 changes: 6 additions & 2 deletions inst/include/cpp11/R.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@
#include "Rinternals.h"

// clang-format off
#ifdef __clang__
#if defined(__INTEL_COMPILER)
# pragma warning(disable : 3924)
#endif

#if defined(__clang__)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wattributes"
#endif

#ifdef __GNUC__
#if defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wattributes"
#endif
Expand Down