mstorsjo wrote:

Also, another less fatal annoyance: If compiling LLDB with GCC, this now 
produces warnings like these:
```
[1/78] Processing file 
/home/martin/code/llvm-project/lldb/include/lldb/API/SBAddress.h.
warning: unknown warning option '-Wno-class-memaccess'; did you mean 
'-Wno-class-varargs'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-stringop-truncation'; did you mean 
'-Wno-format-truncation'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-class-memaccess'; did you mean 
'-Wno-class-varargs'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-stringop-truncation'; did you mean 
'-Wno-format-truncation'? [-Wunknown-warning-option]
2 warnings generated.
```

Whatever processing is done on these flags, seem to be using compiler warning 
flags that aren't recognized in this context. E.g. `-Wno-class-memaccess` 
probably only works for C++ files, but not for files interpreted as C. But 
`-Wno-stringop-truncation` should probably be ok for C compilation, as long as 
this isn't just a preprocessor execution I think?

https://github.com/llvm/llvm-project/pull/148996
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to