Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 680262

Summary: sys-boot/udk-2015 : VfrUtilityLib.cpp:3287:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Stéphane Veyret <sveyret>
Status: RESOLVED DUPLICATE    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
sys-boot:udk-2015:20190313-171139.log
temp.tbz2

Description Toralf Förster gentoo-dev 2019-03-13 17:13:40 UTC
x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/   -c -o VfrUtilityLib.o VfrUtilityLib.cpp
VfrUtilityLib.cpp: In member function ‘CHAR8* CVfrStringDB::GetVarStoreNameFormStringId(EFI_STRING_ID)’:
VfrUtilityLib.cpp:3287:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if (mStringFileName == '\0' ) {
                          ^~~~
VfrUtilityLib.cpp:3310:9: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-no-multilib-hardened_20190313-002617

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *




emerge -qpvO sys-boot/udk
[ebuild  N    ] sys-boot/udk-2015  USE="-doc -examples" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2019-03-13 17:13:43 UTC
Created attachment 569038 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-03-13 17:13:46 UTC
Created attachment 569040 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-03-13 17:13:49 UTC
Created attachment 569042 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-03-13 17:13:51 UTC
Created attachment 569044 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-03-13 17:13:55 UTC
Created attachment 569046 [details]
sys-boot:udk-2015:20190313-171139.log
Comment 6 Toralf Förster gentoo-dev 2019-03-13 17:13:57 UTC
Created attachment 569048 [details]
temp.tbz2
Comment 7 Stéphane Veyret 2019-04-04 17:04:16 UTC
Duplicate of https://bugs.gentoo.org/639080
Comment 8 Toralf Förster gentoo-dev 2019-04-04 21:51:46 UTC

*** This bug has been marked as a duplicate of bug 639080 ***