Bobby Bruce has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/54543 )

Change subject: scons: Remove the '-Wno-c99-designator' Cxx clang flag
......................................................................

scons: Remove the '-Wno-c99-designator' Cxx clang flag

The following warning was being generated when using clang-9:

```
warning: unknown warning option '-Wno-c99-designator'; did you mean '-Wno-gnu-designator'? [-Wunknown-warning-option]
```

The simplest solution, for the gem5 21-2 release was to remove this
flag.

Change-Id: I87b460388a1af6e6b72d36caf32b2fb949fdc8ca
---
M SConstruct
1 file changed, 18 insertions(+), 1 deletion(-)



diff --git a/SConstruct b/SConstruct
index ceeb1ba..3e7a593 100755
--- a/SConstruct
+++ b/SConstruct
@@ -403,7 +403,6 @@

     # clang has a few additional warnings that we disable.
     with gem5_scons.Configure(main) as conf:
-        conf.CheckCxxFlag('-Wno-c99-designator')
         conf.CheckCxxFlag('-Wno-defaulted-function-deleted')

     main.Append(TCMALLOC_CCFLAGS=['-fno-builtin'])

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

Gerrit-Project: public/gem5
Gerrit-Branch: release-staging-v21-2
Gerrit-Change-Id: I87b460388a1af6e6b72d36caf32b2fb949fdc8ca
Gerrit-Change-Number: 54543
Gerrit-PatchSet: 1
Gerrit-Owner: Bobby Bruce <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to