From 74c746e1dbe09710f4f150f6e4f45f5439e25fde Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Wed, 26 Feb 2025 13:17:33 +0100 Subject: [PATCH 1/4] [skip-ci] mention auto deprecation in release notes as discussed in https://github.com/root-project/root/pull/16410#issuecomment-2345647671 --- README/ReleaseNotes/v632/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README/ReleaseNotes/v632/index.md b/README/ReleaseNotes/v632/index.md index d214396e04f06..5fd5b7091463f 100644 --- a/README/ReleaseNotes/v632/index.md +++ b/README/ReleaseNotes/v632/index.md @@ -34,7 +34,7 @@ The following people have contributed to this new version: Bernhard Manfred Gruber,\ Enrico Guiraud, Jonas Hahnfeld, CERN/Goethe University Frankfurt,\ - Fernando Hueso Gonzalez, University of Valencia\ + Fernando Hueso Gonzalez, CSIC/University of Valencia\ Attila Krasznahorkay, CERN/EP-ADP-OS,\ Wim Lavrijsen, LBL,\ Dennis Klein, GSI,\ @@ -79,6 +79,7 @@ The following people have contributed to this new version: - Support for external (ie. non-builtin) libAfterImage is now deprecated and it will be removed in next release 6.34. - The `TList::TList(TObject*)` constructor is deprecated and will be removed in ROOT 6.34 - The deprecated `TProofOutputList::TProofOutputList(TObject *o)` constructor was removed +- In the ROOT terminal, CINT-like declarations `i=0` are now deprecated and might be no longer supported in future ROOT releases. Please use instead `auto i=0`. In the meantime, you can still use it and this warning will be emitted: `declaration without the 'auto' keyword is deprecated`. ## Core Libraries From 0af956a16477b898271602b35ef5b52d4905ca8c Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Thu, 27 Feb 2025 12:04:55 +0100 Subject: [PATCH 2/4] [skip-ci] clarify sentence Co-authored-by: Vincenzo Eduardo Padulano --- README/ReleaseNotes/v632/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README/ReleaseNotes/v632/index.md b/README/ReleaseNotes/v632/index.md index 5fd5b7091463f..8a6fb336acda9 100644 --- a/README/ReleaseNotes/v632/index.md +++ b/README/ReleaseNotes/v632/index.md @@ -79,7 +79,7 @@ The following people have contributed to this new version: - Support for external (ie. non-builtin) libAfterImage is now deprecated and it will be removed in next release 6.34. - The `TList::TList(TObject*)` constructor is deprecated and will be removed in ROOT 6.34 - The deprecated `TProofOutputList::TProofOutputList(TObject *o)` constructor was removed -- In the ROOT terminal, CINT-like declarations `i=0` are now deprecated and might be no longer supported in future ROOT releases. Please use instead `auto i=0`. In the meantime, you can still use it and this warning will be emitted: `declaration without the 'auto' keyword is deprecated`. +- In the ROOT terminal, CINT-like declarations such as `i=0` are now deprecated and might be no longer supported in future ROOT releases. Please use instead the correct C++ syntax `auto i=0`. In the meantime, you can still use it and this warning will be emitted: `declaration without the 'auto' keyword is deprecated`. ## Core Libraries From 6207527a1d9ca18de922ec2bbb66d0f22e9864b4 Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Thu, 27 Feb 2025 12:06:10 +0100 Subject: [PATCH 3/4] [skip-ci] mention also scripts --- README/ReleaseNotes/v632/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README/ReleaseNotes/v632/index.md b/README/ReleaseNotes/v632/index.md index 8a6fb336acda9..4e42ac78158eb 100644 --- a/README/ReleaseNotes/v632/index.md +++ b/README/ReleaseNotes/v632/index.md @@ -79,7 +79,7 @@ The following people have contributed to this new version: - Support for external (ie. non-builtin) libAfterImage is now deprecated and it will be removed in next release 6.34. - The `TList::TList(TObject*)` constructor is deprecated and will be removed in ROOT 6.34 - The deprecated `TProofOutputList::TProofOutputList(TObject *o)` constructor was removed -- In the ROOT terminal, CINT-like declarations such as `i=0` are now deprecated and might be no longer supported in future ROOT releases. Please use instead the correct C++ syntax `auto i=0`. In the meantime, you can still use it and this warning will be emitted: `declaration without the 'auto' keyword is deprecated`. +- In the ROOT terminal or in interpreted scripts, CINT-like declarations such as `i=0` are now deprecated and might be no longer supported in future ROOT releases. Please use instead the correct C++ syntax `auto i=0`. In the meantime, you can still use it and this warning will be emitted: `declaration without the 'auto' keyword is deprecated`. ## Core Libraries From f460b65b6cdb4bb36d0b52b2651449499bf5286e Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Thu, 6 Mar 2025 08:31:17 +0100 Subject: [PATCH 4/4] [skip-ci] clarify message Co-authored-by: Philippe Canal --- README/ReleaseNotes/v632/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README/ReleaseNotes/v632/index.md b/README/ReleaseNotes/v632/index.md index 4e42ac78158eb..d885bfe46e545 100644 --- a/README/ReleaseNotes/v632/index.md +++ b/README/ReleaseNotes/v632/index.md @@ -79,7 +79,7 @@ The following people have contributed to this new version: - Support for external (ie. non-builtin) libAfterImage is now deprecated and it will be removed in next release 6.34. - The `TList::TList(TObject*)` constructor is deprecated and will be removed in ROOT 6.34 - The deprecated `TProofOutputList::TProofOutputList(TObject *o)` constructor was removed -- In the ROOT terminal or in interpreted scripts, CINT-like declarations such as `i=0` are now deprecated and might be no longer supported in future ROOT releases. Please use instead the correct C++ syntax `auto i=0`. In the meantime, you can still use it and this warning will be emitted: `declaration without the 'auto' keyword is deprecated`. +- On the ROOT prompt or in interpreted scripts, CINT-like implicit declarations such as `i = 0;` are now deprecated and might no longer be supported in future ROOT releases. Update those declarations by explicitly using the `auto` keyword: `auto i=0`. The deprecation is marked by printing this kind of warning: `declaration without the 'auto' keyword is deprecated`. ## Core Libraries