> On Sep 25, 2015, at 9:37 AM, Heyi Guo <[email protected]> wrote:
> 
> Hi Liming,
> 
> Below is my gcc information:
> 

Are you getting warnings, but no failures? I seem to remember the C++ throws 
off errors for some compilers, but does not fail the tools build.

Thanks,

Andrew Fish

> gary@iwish:~/git/uefi-dev$ gcc --version
> *gcc (Debian 5.2.1-17) 5.2.1 20150911 *
> Copyright (C) 2015 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> And my system info:
> 
> Linux **** 4.1.0-2-amd64 #1 SMP Debian 4.1.6-1 (2015-08-23) x86_64 GNU/Linux
> 
> Thanks for your help :)
> 
> On 09/24/2015 05:58 PM, Gao, Liming wrote:
>> 
>> Heyi:
>> 
>>  Thanks for your report them. For the first issue, could you let me know 
>> your GCC version? I don’t reproduce it in my local. We will fix the second 
>> one first.
>> 
>> Thanks
>> 
>> Liming
>> 
>> *From:*Heyi Guo [mailto:[email protected]]
>> *Sent:* Friday, September 25, 2015 3:42 AM
>> *To:* [email protected]; Zhu, Yonghong; Gao, Liming
>> *Subject:* Re: [edk2] BaseTools build warnings
>> 
>> Hi Yonghong or Liming,
>> 
>> Could you help to take a look at below issue?
>> 
>> Thanks a lot.
>> 
>> Heyi Guo
>> 
>> On 09/18/2015 05:13 PM, Heyi Guo wrote:
>> 
>>    Hi folks,
>> 
>>    I got below warnings when building BaseTools on Debian X86_64 with
>>    gcc (Debian 5.2.1-17) 5.2.1 20150911), can we fix it in BaseTools
>>    source code? Thanks.
>> 
>>    1. gcc -o ../bin/VolInfo  VolInfo.o -L../libs -lCommon
>>    VolInfo.o: In function `ParseSection':
>>    */home/gary/git/uefi-dev/BaseTools/Source/C/VolInfo/VolInfo.c:1426: 
>> warning:
>>    the use of `tmpnam' is dangerous, better use `mkstemp'*
>>    make[2]: Leaving directory
>>    '/home/gary/git/uefi-dev/BaseTools/Source/C/VolInfo'
>> 
>>    2. Antlr parser generator   Version 1.33MR33   1989-2001
>>    VfrSyntax.g, line 1821: warning: predicate: LT(i) missing, bad, or
>>    with i=0; assuming i=1
>>    VfrSyntax.g, line 1826: warning: predicate: LT(i) missing, bad, or
>>    with i=0; assuming i=1
>> 
>>    3. g++  -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I
>>    ../Include/IndustryStandard -I ../Common/ -I .. -I . -I
>>    ../Include/X64/   -c -o VfrError.o VfrError.cpp
>>    VfrError.cpp: In member function ‘UINT8
>>    CVfrErrorHandle::HandleWarning(EFI_VFR_WARNING_CODE, UINT32, CHAR8*)’:
>>    *VfrError.cpp:283:72: warning: deprecated conversion from string
>>    constant to ‘CHAR8* {aka char*}’ [-Wwrite-strings]*
>>         Error (FileName, FileLine, 0x2220, "warning treated as
>>    error", NULL);
>> 
> 
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.01.org/mailman/listinfo/edk2-devel

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to