Skip to content

Feat/deprecate stuff #3354

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

Merged
merged 1 commit into from
Apr 1, 2025
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
2 changes: 2 additions & 0 deletions include/seqan3/argument_parser/argument_parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
#include <seqan3/core/debug_stream/detail/to_string.hpp>
#include <seqan3/core/detail/test_accessor.hpp>

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.");

namespace seqan3
{

Expand Down
2 changes: 2 additions & 0 deletions include/seqan3/argument_parser/auxiliary.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include <seqan3/core/detail/customisation_point.hpp>
#include <seqan3/io/stream/concept.hpp>

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.");

namespace seqan3::custom
{

Expand Down
2 changes: 2 additions & 0 deletions include/seqan3/argument_parser/exceptions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

#include <seqan3/core/platform.hpp>

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.");

namespace seqan3
{
/*!\brief Argument parser exception that is thrown whenever there is an error
Expand Down
2 changes: 2 additions & 0 deletions include/seqan3/argument_parser/validators.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
#include <seqan3/utility/type_traits/basic.hpp>
#include <seqan3/utility/views/join_with.hpp>

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.");

namespace seqan3
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
#include <seqan3/core/concept/cereal.hpp>
#include <seqan3/core/detail/strong_type.hpp>

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.");

namespace seqan3
{
//!\brief Determines if the Interleaved Bloom Filter is compressed.
Expand Down
3 changes: 2 additions & 1 deletion test/documentation/seqan3_doxygen_cfg.in
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,8 @@ PREDEFINED = CEREAL_SERIALIZE_FUNCTION_NAME=serialize \
CEREAL_SAVE_MINIMAL_FUNCTION_NAME=save_minimal \
"SEQAN3_DOXYGEN_ONLY(x)= x" \
${SEQAN3_DOXYGEN_PREDEFINED_NDEBUG} \
SEQAN3_WORKAROUND_LITERAL=constexpr
SEQAN3_WORKAROUND_LITERAL=constexpr \
SEQAN3_DEPRECATED_HEADER(x)=
EXPAND_AS_DEFINED = SEQAN3_CPO_OVERLOAD_BODY \
SEQAN3_CPO_OVERLOAD
SKIP_FUNCTION_MACROS = NO
Expand Down
3 changes: 3 additions & 0 deletions test/seqan3-test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ if (NOT TARGET seqan3::test)
add_library (seqan3_test INTERFACE)
target_compile_options (seqan3_test INTERFACE "-pedantic" "-Wall" "-Wextra")

#!TODO remove after release 3.4.0
target_compile_definitions (seqan3_test INTERFACE -DSEQAN3_DISABLE_DEPRECATED_WARNINGS)

if (SEQAN3_WITH_WERROR)
target_compile_options (seqan3_test INTERFACE "-Werror")
message (STATUS "Building tests with -Werror.")
Expand Down