Skip to content

Commit 1590dcc

Browse files
authored
Merge pull request #3354 from SGSSGene/feat/deprecate_stuff
Feat/deprecate stuff
2 parents e456fcb + 7a7860e commit 1590dcc

File tree

7 files changed

+15
-1
lines changed

7 files changed

+15
-1
lines changed

include/seqan3/argument_parser/argument_parser.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
#include <seqan3/core/debug_stream/detail/to_string.hpp>
2929
#include <seqan3/core/detail/test_accessor.hpp>
3030

31+
SEQAN3_DEPRECATED_HEADER("This header and its functionality is deprecated and will be removed in a future version of SeqAn. Please use the sharg-parser (url: https://github.com/seqan/sharg-parser) instead.");
32+
3133
namespace seqan3
3234
{
3335

include/seqan3/argument_parser/auxiliary.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#include <seqan3/core/detail/customisation_point.hpp>
2020
#include <seqan3/io/stream/concept.hpp>
2121

22+
SEQAN3_DEPRECATED_HEADER("This header and its functionality is deprecated and will be removed in a future version of SeqAn. Please use the sharg-parser (url: https://github.com/seqan/sharg-parser) instead.");
23+
2224
namespace seqan3::custom
2325
{
2426

include/seqan3/argument_parser/exceptions.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
#include <seqan3/core/platform.hpp>
1515

16+
SEQAN3_DEPRECATED_HEADER("This header and its functionality is deprecated and will be removed in a future version of SeqAn. Please use the sharg-parser (url: https://github.com/seqan/sharg-parser) instead.");
17+
1618
namespace seqan3
1719
{
1820
/*!\brief Argument parser exception that is thrown whenever there is an error

include/seqan3/argument_parser/validators.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
#include <seqan3/utility/type_traits/basic.hpp>
3030
#include <seqan3/utility/views/join_with.hpp>
3131

32+
SEQAN3_DEPRECATED_HEADER("This header and its functionality is deprecated and will be removed in a future version of SeqAn. Please use the sharg-parser (url: https://github.com/seqan/sharg-parser) instead.");
33+
3234
namespace seqan3
3335
{
3436

include/seqan3/search/dream_index/interleaved_bloom_filter.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
#include <seqan3/core/concept/cereal.hpp>
1717
#include <seqan3/core/detail/strong_type.hpp>
1818

19+
SEQAN3_DEPRECATED_HEADER("This header and its functionality is deprecated and will be removed in a future version of SeqAn. Please use the hibf-library (url: https://github.com/seqan/hibf) instead.");
20+
1921
namespace seqan3
2022
{
2123
//!\brief Determines if the Interleaved Bloom Filter is compressed.

test/documentation/seqan3_doxygen_cfg.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,8 @@ PREDEFINED = CEREAL_SERIALIZE_FUNCTION_NAME=serialize \
352352
CEREAL_SAVE_MINIMAL_FUNCTION_NAME=save_minimal \
353353
"SEQAN3_DOXYGEN_ONLY(x)= x" \
354354
${SEQAN3_DOXYGEN_PREDEFINED_NDEBUG} \
355-
SEQAN3_WORKAROUND_LITERAL=constexpr
355+
SEQAN3_WORKAROUND_LITERAL=constexpr \
356+
SEQAN3_DEPRECATED_HEADER(x)=
356357
EXPAND_AS_DEFINED = SEQAN3_CPO_OVERLOAD_BODY \
357358
SEQAN3_CPO_OVERLOAD
358359
SKIP_FUNCTION_MACROS = NO

test/seqan3-test.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ if (NOT TARGET seqan3::test)
106106
add_library (seqan3_test INTERFACE)
107107
target_compile_options (seqan3_test INTERFACE "-pedantic" "-Wall" "-Wextra")
108108

109+
#!TODO remove after release 3.4.0
110+
target_compile_definitions (seqan3_test INTERFACE -DSEQAN3_DISABLE_DEPRECATED_WARNINGS)
111+
109112
if (SEQAN3_WITH_WERROR)
110113
target_compile_options (seqan3_test INTERFACE "-Werror")
111114
message (STATUS "Building tests with -Werror.")

0 commit comments

Comments
 (0)