Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define ACE_DEPRECATED as [[deprecated]] #2232

Merged
merged 1 commit into from
Apr 30, 2024
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
8 changes: 0 additions & 8 deletions ACE/ace/config-g++-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@
#define ACE_HAS_GCC_DESTRUCTOR_ATTRIBUTE 1
#endif

#if !defined (ACE_HAS_GCC_DEPRECATED_ATTRIBUTE)
#define ACE_HAS_GCC_DEPRECATED_ATTRIBUTE 1
#endif

#if !defined (ACE_HAS_GCC_FORMAT_ATTRIBUTE)
#define ACE_HAS_GCC_FORMAT_ATTRIBUTE 1
#endif
Expand All @@ -76,10 +72,6 @@
# define ACE_GCC_DESTRUCTOR_ATTRIBUTE __attribute__ ((destructor))
#endif

#if (ACE_HAS_GCC_DEPRECATED_ATTRIBUTE == 1)
#define ACE_DEPRECATED __attribute__ ((deprecated))
#endif

#if (ACE_HAS_GCC_FORMAT_ATTRIBUTE == 1)
# define ACE_GCC_FORMAT_ATTRIBUTE(TYPE, STR_INDEX, FIRST_INDEX) \
__attribute__ ((format (TYPE, STR_INDEX, FIRST_INDEX)))
Expand Down
2 changes: 1 addition & 1 deletion ACE/ace/config-macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ extern "C" u_long CLS##_Export _get_dll_unload_policy () \
#endif

#ifndef ACE_DEPRECATED
# define ACE_DEPRECATED
# define ACE_DEPRECATED [[deprecated]]
#endif

#ifndef ACE_HAS_REACTOR_NOTIFICATION_QUEUE
Expand Down