Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639512 - dev-lang/yap-6.3.3 : HorusCli.cpp:124:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Summary: dev-lang/yap-6.3.3 : HorusCli.cpp:124:23: error: ISO C++ forbids comparison b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prolog project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-02 14:38 UTC by Toralf Förster
Modified: 2018-07-16 11:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.49 KB, text/plain)
2017-12-02 14:38 UTC, Toralf Förster
Details
dev-lang:yap-6.3.3:20171202-125901.log (dev-lang:yap-6.3.3:20171202-125901.log,455.45 KB, text/plain)
2017-12-02 14:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,159.90 KB, text/plain)
2017-12-02 14:38 UTC, Toralf Förster
Details
environment (environment,150.78 KB, text/plain)
2017-12-02 14:38 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.53 KB, application/x-bzip)
2017-12-02 14:38 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,18.75 KB, application/x-bzip)
2017-12-02 14:38 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,56.79 KB, application/x-bzip)
2017-12-02 14:38 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-12-02 14:38:06 UTC
x86_64-pc-linux-gnu-g++ -c -std=c++0x -shared -fPIC -Wall -O2 -pipe -march=native -fno-strict-aliasing   -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include  -I/usr/include -DNDEBUG HorusCli.cpp -o HorusCli.o
HorusCli.cpp: In function ‘VarIds readQueryAndEvidence(FactorGraph&, int, const char**, int)’:
HorusCli.cpp:124:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
       if (queryVar == false) {
                       ^~~~~
HorusCli.cpp:146:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-systemd_20171129-195001

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python3.5 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-lang/yap
[ebuild  N    ] dev-lang/yap-6.3.3  USE="readline -R -debug -doc -examples -gmp -java -mpi -mysql -odbc -static -threads"
Comment 1 Toralf Förster gentoo-dev 2017-12-02 14:38:09 UTC
Created attachment 507712 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-12-02 14:38:12 UTC
Created attachment 507714 [details]
dev-lang:yap-6.3.3:20171202-125901.log
Comment 3 Toralf Förster gentoo-dev 2017-12-02 14:38:15 UTC
Created attachment 507716 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-12-02 14:38:18 UTC
Created attachment 507718 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-12-02 14:38:21 UTC
Created attachment 507720 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-12-02 14:38:24 UTC
Created attachment 507722 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-12-02 14:38:27 UTC
Created attachment 507724 [details]
temp.tbz2
Comment 8 Keri Harris gentoo-dev 2018-07-16 11:12:49 UTC
This is now fixed in git. Thanks for reporting this bug.