bin/find-unneeded-includes |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3dec69a8b9a3a9c451d3fd4f8fff5f183a1535bf
Author:     Gabor Kelemen <[email protected]>
AuthorDate: Sat Sep 27 15:27:56 2025 +0200
Commit:     Gabor Kelemen <[email protected]>
CommitDate: Tue Oct 7 09:52:29 2025 +0200

    bin/find-unneeded-includes: non-self containedness is just a warning
    
    Change-Id: I31b241942f37d0076c456b4c75ed82322f760035
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191566
    Reviewed-by: Gabor Kelemen <[email protected]>
    Tested-by: Jenkins

diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes
index 9b5afc6d6634..d2874a84a1e0 100755
--- a/bin/find-unneeded-includes
+++ b/bin/find-unneeded-includes
@@ -466,7 +466,7 @@ def run_tool(task_queue, failed_files, dontstop, noexclude, 
checknamespaces, fin
                 if p.returncode == 1:
                     print("Running the IWYU process returned error code:
" + invocation)
             if retcode == -1 and not checknamespaces and not removefwdd:
-                print("ERROR: A file is probably not self contained, check 
this commands output:
" + invocation)
+                print("WARNING: A file is probably not self contained, check 
this commands output:
" + invocation)
             elif retcode > 0:
                 if not removefwdd:
                     print("ERROR: The following command found unused includes:
" + invocation)

Reply via email to