Deprecate Windows support which has become increasingly difficult to
maintain.

As discussed at OVS+OVN Conference 2025.

Signed-off-by: Simon Horman <[email protected]>
---
Windows build, featuring deprecation warning message, here:
https://ci.appveyor.com/project/horms/ovs/builds/53224365
---
 NEWS                           | 2 ++
 include/openvswitch/compiler.h | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/NEWS b/NEWS
index 
f9a74df1ad52aaadf94925b34c12b3dbc028bf7d..944f047a8b1e017adfd0675996b45a7cb5c1eb38
 100644
--- a/NEWS
+++ b/NEWS
@@ -16,6 +16,8 @@ Post-v3.6.0
      * New ovsdb_idl_txn_assert_read_only() interface to mark transactions
        as read-only and trigger assertion failure when application attempts
        to modify the database data through this transaction.
+   - Windows Support
+     * Support for compiling for and running on Windows has been deprecated.
 
 
 v3.6.0 - 18 Aug 2025
diff --git a/include/openvswitch/compiler.h b/include/openvswitch/compiler.h
index 
bd30369a78eeded10f78815b5c4bfe08a5e9c675..7dee9ec7a63ad27c7b3851f10eeeeed37427a338
 100644
--- a/include/openvswitch/compiler.h
+++ b/include/openvswitch/compiler.h
@@ -283,6 +283,10 @@
     ((size_t)((char *)&(((type *)0)->member) - (char *)0))
 #endif
 
+#if _MSC_VER
+#pragma message ("warning: Windows support is deprecated.")
+#endif
+
 /* Build assertions.
  *
  * Use BUILD_ASSERT_DECL as a declaration or a statement, or BUILD_ASSERT as



_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to