Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jan 2018 11:43:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 224988] games/iortcw: fails to build with clang 6.0
Message-ID:  <bug-224988-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 224988
           Summary: games/iortcw: fails to build with clang 6.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: tobik@freebsd.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 224669
             Flags: maintainer-feedback?(tobik@freebsd.org)
          Assignee: tobik@freebsd.org

FreeBSD -CURRENT plans to update base Clang to 6.0.0 soon. While testing th=
is
port failed to build.

code/splines/util_str.cpp:477:11: error: reinterpret_cast from 'nullptr_t' =
to
'const char *' is not allowed
        idStr e( reinterpret_cast<const char *>( NULL ) );
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
code/splines/util_str.cpp:491:10: error: reinterpret_cast from 'nullptr_t' =
to
'const char *' is not allowed
        a =3D c + reinterpret_cast<const char *>( NULL );
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
code/splines/util_str.cpp:494:6: error: reinterpret_cast from 'nullptr_t' to
'const char *' is not allowed
        a =3D reinterpret_cast<const char *>( NULL ) + d;
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
code/splines/util_str.cpp:498:7: error: reinterpret_cast from 'nullptr_t' to
'const char *' is not allowed
        a +=3D reinterpret_cast<const char *>( NULL );
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To reproduce:
$ poudriere jail -cj clang6-amd64 -a amd64 -v projects/clang600-import -m
svn+https
$ poudriere bulk -Ctj clang6-amd64 games/iortcw

http://package18.nyi.freebsd.org/data/headamd64PR224669-default/2018-01-02_=
08h32m49s/logs/errors/iortcw-1.51,1.log
http://package18.nyi.freebsd.org/data/headi386PR224669-default/2018-01-07_2=
2h53m03s/logs/errors/iortcw-1.51,1.log


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224669
[Bug 224669] [exp-run] Against projects/clang600-import branch
--=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-224988-13>