Skip to content

Commit

Permalink
integrates supression fixes in diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
elstehle committed Dec 13, 2024
1 parent fb0ea3b commit e82db88
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions libcudacxx/include/cuda/std/__cccl/diagnostic.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,10 @@
_CCCL_DIAG_SUPPRESS_GCC("-Wdeprecated-declarations")
# define _CCCL_SUPPRESS_DEPRECATED_POP _CCCL_DIAG_POP
#elif _CCCL_COMPILER(NVHPC)
# define _CCCL_SUPPRESS_DEPRECATED_PUSH \
_CCCL_DIAG_PUSH \
_CCCL_DIAG_SUPPRESS_NVHPC(deprecated_entity)
# define _CCCL_SUPPRESS_DEPRECATED_PUSH \
_CCCL_DIAG_PUSH \
_CCCL_DIAG_SUPPRESS_NVHPC(deprecated_entity) \
_CCCL_DIAG_SUPPRESS_NVHPC(deprecated_entity_with_custom_message)
# define _CCCL_SUPPRESS_DEPRECATED_POP _CCCL_DIAG_POP
#elif _CCCL_COMPILER(MSVC)
# define _CCCL_SUPPRESS_DEPRECATED_PUSH \
Expand Down

0 comments on commit e82db88

Please sign in to comment.