From 043c82d9a82ea53f54ac0e6df4efc9d87eeef786 Mon Sep 17 00:00:00 2001 From: Laurent Rene de Cotret Date: Wed, 8 Jan 2025 16:44:57 -0500 Subject: [PATCH] Enable -Wunused-packages for all packages --- .../distributed-process-async/distributed-process-async.cabal | 1 + .../distributed-process-client-server.cabal | 1 + .../distributed-process-execution.cabal | 1 + .../distributed-process-simplelocalnet.cabal | 1 + .../distributed-process-supervisor.cabal | 1 + .../distributed-process-systest.cabal | 1 + packages/distributed-process/distributed-process.cabal | 1 + packages/distributed-static/distributed-static.cabal | 1 + .../network-transport-inmemory/network-transport-inmemory.cabal | 1 + packages/network-transport-tcp/network-transport-tcp.cabal | 1 + packages/network-transport-tests/network-transport-tests.cabal | 1 + packages/network-transport/network-transport.cabal | 1 + packages/rank1dynamic/rank1dynamic.cabal | 1 + 13 files changed, 13 insertions(+) diff --git a/packages/distributed-process-async/distributed-process-async.cabal b/packages/distributed-process-async/distributed-process-async.cabal index 106fe605..13b65d5e 100644 --- a/packages/distributed-process-async/distributed-process-async.cabal +++ b/packages/distributed-process-async/distributed-process-async.cabal @@ -32,6 +32,7 @@ common warnings -Wredundant-constraints -fhide-source-paths -Wpartial-fields + -Wunused-packages library import: warnings diff --git a/packages/distributed-process-client-server/distributed-process-client-server.cabal b/packages/distributed-process-client-server/distributed-process-client-server.cabal index f47b6106..49f5e775 100644 --- a/packages/distributed-process-client-server/distributed-process-client-server.cabal +++ b/packages/distributed-process-client-server/distributed-process-client-server.cabal @@ -33,6 +33,7 @@ common warnings -Wredundant-constraints -fhide-source-paths -Wpartial-fields + -Wunused-packages library import: warnings diff --git a/packages/distributed-process-execution/distributed-process-execution.cabal b/packages/distributed-process-execution/distributed-process-execution.cabal index 5c25c37b..f4c77e55 100644 --- a/packages/distributed-process-execution/distributed-process-execution.cabal +++ b/packages/distributed-process-execution/distributed-process-execution.cabal @@ -33,6 +33,7 @@ common warnings -Wredundant-constraints -fhide-source-paths -Wpartial-fields + -Wunused-packages library import: warnings diff --git a/packages/distributed-process-simplelocalnet/distributed-process-simplelocalnet.cabal b/packages/distributed-process-simplelocalnet/distributed-process-simplelocalnet.cabal index 7818857c..589a1c79 100644 --- a/packages/distributed-process-simplelocalnet/distributed-process-simplelocalnet.cabal +++ b/packages/distributed-process-simplelocalnet/distributed-process-simplelocalnet.cabal @@ -33,6 +33,7 @@ common warnings -Wredundant-constraints -fhide-source-paths -Wpartial-fields + -Wunused-packages Library import: warnings diff --git a/packages/distributed-process-supervisor/distributed-process-supervisor.cabal b/packages/distributed-process-supervisor/distributed-process-supervisor.cabal index 34872ebb..fe1d0d6f 100644 --- a/packages/distributed-process-supervisor/distributed-process-supervisor.cabal +++ b/packages/distributed-process-supervisor/distributed-process-supervisor.cabal @@ -37,6 +37,7 @@ common warnings -Wredundant-constraints -fhide-source-paths -Wpartial-fields + -Wunused-packages library import: warnings diff --git a/packages/distributed-process-systest/distributed-process-systest.cabal b/packages/distributed-process-systest/distributed-process-systest.cabal index f30fdc82..7ea7dd68 100644 --- a/packages/distributed-process-systest/distributed-process-systest.cabal +++ b/packages/distributed-process-systest/distributed-process-systest.cabal @@ -27,6 +27,7 @@ common warnings -Wredundant-constraints -fhide-source-paths -Wpartial-fields + -Wunused-packages library import: warnings diff --git a/packages/distributed-process/distributed-process.cabal b/packages/distributed-process/distributed-process.cabal index 0bd03eeb..f6323d75 100644 --- a/packages/distributed-process/distributed-process.cabal +++ b/packages/distributed-process/distributed-process.cabal @@ -34,6 +34,7 @@ common warnings -Wredundant-constraints -fhide-source-paths -Wpartial-fields + -Wunused-packages source-repository head Type: git diff --git a/packages/distributed-static/distributed-static.cabal b/packages/distributed-static/distributed-static.cabal index 52dade4d..a70686c5 100644 --- a/packages/distributed-static/distributed-static.cabal +++ b/packages/distributed-static/distributed-static.cabal @@ -41,6 +41,7 @@ common warnings -Wredundant-constraints -fhide-source-paths -Wpartial-fields + -Wunused-packages Library import: warnings diff --git a/packages/network-transport-inmemory/network-transport-inmemory.cabal b/packages/network-transport-inmemory/network-transport-inmemory.cabal index e2974b3e..d3bc720d 100644 --- a/packages/network-transport-inmemory/network-transport-inmemory.cabal +++ b/packages/network-transport-inmemory/network-transport-inmemory.cabal @@ -39,6 +39,7 @@ common warnings -Wredundant-constraints -fhide-source-paths -Wpartial-fields + -Wunused-packages Library import: warnings diff --git a/packages/network-transport-tcp/network-transport-tcp.cabal b/packages/network-transport-tcp/network-transport-tcp.cabal index 7fcae14b..6aa50cb2 100644 --- a/packages/network-transport-tcp/network-transport-tcp.cabal +++ b/packages/network-transport-tcp/network-transport-tcp.cabal @@ -30,6 +30,7 @@ common warnings -Wredundant-constraints -fhide-source-paths -Wpartial-fields + -Wunused-packages Flag use-mock-network Description: Use mock network implementation (for testing) diff --git a/packages/network-transport-tests/network-transport-tests.cabal b/packages/network-transport-tests/network-transport-tests.cabal index 24a38d85..e9abc369 100644 --- a/packages/network-transport-tests/network-transport-tests.cabal +++ b/packages/network-transport-tests/network-transport-tests.cabal @@ -27,6 +27,7 @@ common warnings -Wredundant-constraints -fhide-source-paths -Wpartial-fields + -Wunused-packages library import: warnings diff --git a/packages/network-transport/network-transport.cabal b/packages/network-transport/network-transport.cabal index 94636eff..e458792a 100644 --- a/packages/network-transport/network-transport.cabal +++ b/packages/network-transport/network-transport.cabal @@ -73,6 +73,7 @@ common warnings -Wredundant-constraints -fhide-source-paths -Wpartial-fields + -Wunused-packages Library import: warnings diff --git a/packages/rank1dynamic/rank1dynamic.cabal b/packages/rank1dynamic/rank1dynamic.cabal index efa8f5db..84f8f9b8 100644 --- a/packages/rank1dynamic/rank1dynamic.cabal +++ b/packages/rank1dynamic/rank1dynamic.cabal @@ -30,6 +30,7 @@ common warnings -Wredundant-constraints -fhide-source-paths -Wpartial-fields + -Wunused-packages Library import: warnings