Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2021 17:38:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 256007] www/spidermonkey185: Fix build with clang 12
Message-ID:  <bug-256007-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 256007
           Summary: www/spidermonkey185: Fix build with clang 12
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dim@FreeBSD.org

Created attachment 225091
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D225091&action=
=3Dedit
Fix www/spidermonkey185 build with clang 12

During an exp-run for llvm 12 (see bug 255570), it turned out that
www/spidermonkey185 does not build with clang 12.0.0 [1]:

jsiter.cpp:270:16: error: cannot initialize return object of type 'bool' wi=
th
an rvalue of type 'nullptr_t'
        return NULL;
               ^~~~

There are a few more of these cases scattered over the source. The attached
patch fixes them.

[1]
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_=
16h02m24s/logs/errors/spidermonkey185-1.8.5_5.log

--=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-256007-7788>