gem5-dev@gem5.org

The gem5 Developer List

View all threads

[XS] Change in gem5/gem5[release-staging-v23-0]: scons: Remove -Werror for the gem5 v23.0 release

BB
Bobby Bruce (Gerrit)
Fri, Jul 7, 2023 3:47 PM

Bobby Bruce has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/72178?usp=email )

Change subject: scons: Remove -Werror for the gem5 v23.0 release
......................................................................

scons: Remove -Werror for the gem5 v23.0 release

While gem5 compiles on all our supported compilers, removing the -Werror
flag on the stable branch ensures that, as new compilers are released
with stricter warnings, gem5 remains compilable.

Change-Id: Ie32a5c526a17cc584bce3b71d27b8f052caf612b

M SConstruct
1 file changed, 0 insertions(+), 6 deletions(-)

diff --git a/SConstruct b/SConstruct
index 9b25b33..4fe2f64 100755
--- a/SConstruct
+++ b/SConstruct
@@ -447,12 +447,6 @@
conf.CheckLinkFlag(
'-Wl,--thread-count=%d' %
GetOption('num_jobs'))

  •    # Treat warnings as errors but white list some warnings that we
    
  •    # want to allow (e.g., deprecation warnings).
    
  •    env.Append(CCFLAGS=['-Werror',
    
  •                         '-Wno-error=deprecated-declarations',
    
  •                         '-Wno-error=deprecated',
    
  •                        ])
    
    else:
        error('\n'.join((
    

--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/72178?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: public/gem5
Gerrit-Branch: release-staging-v23-0
Gerrit-Change-Id: Ie32a5c526a17cc584bce3b71d27b8f052caf612b
Gerrit-Change-Number: 72178
Gerrit-PatchSet: 1
Gerrit-Owner: Bobby Bruce bbruce@ucdavis.edu

Bobby Bruce has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/72178?usp=email ) Change subject: scons: Remove -Werror for the gem5 v23.0 release ...................................................................... scons: Remove -Werror for the gem5 v23.0 release While gem5 compiles on all our supported compilers, removing the -Werror flag on the stable branch ensures that, as new compilers are released with stricter warnings, gem5 remains compilable. Change-Id: Ie32a5c526a17cc584bce3b71d27b8f052caf612b --- M SConstruct 1 file changed, 0 insertions(+), 6 deletions(-) diff --git a/SConstruct b/SConstruct index 9b25b33..4fe2f64 100755 --- a/SConstruct +++ b/SConstruct @@ -447,12 +447,6 @@ conf.CheckLinkFlag( '-Wl,--thread-count=%d' % GetOption('num_jobs')) - # Treat warnings as errors but white list some warnings that we - # want to allow (e.g., deprecation warnings). - env.Append(CCFLAGS=['-Werror', - '-Wno-error=deprecated-declarations', - '-Wno-error=deprecated', - ]) else: error('\n'.join(( -- To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/72178?usp=email To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: public/gem5 Gerrit-Branch: release-staging-v23-0 Gerrit-Change-Id: Ie32a5c526a17cc584bce3b71d27b8f052caf612b Gerrit-Change-Number: 72178 Gerrit-PatchSet: 1 Gerrit-Owner: Bobby Bruce <bbruce@ucdavis.edu>