From c80d356ddb9b441f82dce30e7edacb64473564e8 Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Fri, 13 Mar 2026 07:51:16 +0000 Subject: [PATCH] Add a deprecation warning to tl_expected --- tl_expected/include/tl_expected/expected.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tl_expected/include/tl_expected/expected.hpp b/tl_expected/include/tl_expected/expected.hpp index ae90975..9a2c653 100644 --- a/tl_expected/include/tl_expected/expected.hpp +++ b/tl_expected/include/tl_expected/expected.hpp @@ -16,6 +16,9 @@ #ifndef TL_EXPECTED_HPP #define TL_EXPECTED_HPP +#warning "tl_expected/expected.hpp is deprecated and will be removed by the ROS 2 Lyrical Luth release. \ + Use from libexpected-dev, or if the system header is not available." + #define TL_EXPECTED_VERSION_MAJOR 1 #define TL_EXPECTED_VERSION_MINOR 2 #define TL_EXPECTED_VERSION_PATCH 0