Re: [edk2-devel] [Patch] BaseTools: Add GCC flags to Basetool build.

2019-04-30 Thread Bob Feng
Laszlo, thanks for your comments. I sent new patches for review. Thanks, Bob -Original Message- From: Laszlo Ersek [mailto:ler...@redhat.com] Sent: Tuesday, April 30, 2019 2:44 AM To: devel@edk2.groups.io; Feng, Bob C Cc: Gao, Liming Subject: Re: [edk2-devel] [Patch] BaseTools: Add

Re: [edk2-devel] [Patch] BaseTools: Add GCC flags to Basetool build.

2019-04-29 Thread Laszlo Ersek
Hi Bob, On 04/29/19 10:01, Bob Feng wrote: > BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1764 > > Some compiler flags restrict the compiler from making > arbitrary decisions while handling undefined C/C++ behaviors. > Therefore they can be used to fix some issues caused by undefined behavio

[edk2-devel] [Patch] BaseTools: Add GCC flags to Basetool build.

2019-04-29 Thread Bob Feng
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1764 Some compiler flags restrict the compiler from making arbitrary decisions while handling undefined C/C++ behaviors. Therefore they can be used to fix some issues caused by undefined behavior. For example, for GCC, the following flags are avai