Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2017 16:34:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216078] games/valyriatear: fails to build with libc++ 4.0
Message-ID:  <bug-216078-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216078

            Bug ID: 216078
           Summary: games/valyriatear: fails to build with libc++ 4.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: amdmi3@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 216008
             Flags: maintainer-feedback?(amdmi3@FreeBSD.org)
          Assignee: amdmi3@FreeBSD.org

src/main.cpp:508:53: warning:
      comparison between NULL and non-pointer ('std::ifstream' (aka
'basic_ifstream<char>') and NULL)
      [-Wnull-arithmetic]
        if(std::ifstream("dat/config/settings.lua") =3D=3D NULL) {
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
src/main.cpp:508:53: error: invalid
      operands to binary expression ('std::ifstream' (aka
'basic_ifstream<char>') and 'long')
        if(std::ifstream("dat/config/settings.lua") =3D=3D NULL) {
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~

build log: http://sprunge.us/eYWc
regressed by: https://github.com/llvm-mirror/libcxx/commit/3a1b90a866b6


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216008
[Bug 216008] [exp-run] Update llvm/clang/compiler-rt/libc++/lld/lldb in bas=
e to
4.0.0
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216078-13>