From 3f7e03643d5437ec494956f2678c7b3c905d8250 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 11 Aug 2011 00:18:33 +0200 Subject: [PATCH] Export deprecated free methods too. That way they can be linked to even after being deprecated. --- .../lib_shared_and_static/libshared_and_static.h | 2 +- Tests/Module/GenerateExportHeader/libstatic/libstatic.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/Module/GenerateExportHeader/lib_shared_and_static/libshared_and_static.h b/Tests/Module/GenerateExportHeader/lib_shared_and_static/libshared_and_static.h index 7df769460..400d66471 100644 --- a/Tests/Module/GenerateExportHeader/lib_shared_and_static/libshared_and_static.h +++ b/Tests/Module/GenerateExportHeader/lib_shared_and_static/libshared_and_static.h @@ -49,7 +49,7 @@ public: LIBSHARED_AND_STATIC_EXPORT int libshared_and_static_exported(); -LIBSHARED_AND_STATIC_DEPRECATED int libshared_and_static_deprecated(); +LIBSHARED_AND_STATIC_DEPRECATED_EXPORT int libshared_and_static_deprecated(); int libshared_and_static_not_exported(); diff --git a/Tests/Module/GenerateExportHeader/libstatic/libstatic.h b/Tests/Module/GenerateExportHeader/libstatic/libstatic.h index c6562ecb6..cd68cdc78 100644 --- a/Tests/Module/GenerateExportHeader/libstatic/libstatic.h +++ b/Tests/Module/GenerateExportHeader/libstatic/libstatic.h @@ -45,7 +45,7 @@ public: LIBSTATIC_EXPORT int libstatic_exported(); -LIBSTATIC_DEPRECATED int libstatic_deprecated(); +LIBSTATIC_DEPRECATED_EXPORT int libstatic_deprecated(); int libstatic_not_exported();