Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Mar 2019 12:43:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236206] devel/rapidjson: fails to build with clang 8
Message-ID:  <bug-236206-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 236206
           Summary: devel/rapidjson: fails to build with clang 8
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 236062
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@freebsd.org)

$ poudriere jail -cj clang8 -v projects/clang800-import -m svn+https
$ poudriere testport -j clang8 devel/rapidjson
[...]
In file included from example/schemavalidator/schemavalidator.cpp:7:
include/rapidjson/schema.h:1701:72: error: empty expression statement has no
effect; remove unnecessary ';' to silence this warning
[-Werror,-Wextra-semi-stmt]
        RAPIDJSON_SCHEMA_HANDLE_BEGIN_(StartObject, (CurrentContext()));
                                                                       ^
include/rapidjson/schema.h:1702:59: error: empty expression statement has no
effect; remove unnecessary ';' to silence this warning
[-Werror,-Wextra-semi-stmt]
        RAPIDJSON_SCHEMA_HANDLE_PARALLEL_(StartObject, ());
                                                          ^
include/rapidjson/schema.h:1710:65: error: empty expression statement has no
effect; remove unnecessary ';' to silence this warning
[-Werror,-Wextra-semi-stmt]
        RAPIDJSON_SCHEMA_HANDLE_PARALLEL_(Key, (str, len, copy));
                                                                ^
include/rapidjson/schema.h:1716:68: error: empty expression statement has no
effect; remove unnecessary ';' to silence this warning
[-Werror,-Wextra-semi-stmt]
        RAPIDJSON_SCHEMA_HANDLE_PARALLEL_(EndObject, (memberCount));
                                                                   ^
include/rapidjson/schema.h:1722:71: error: empty expression statement has no
effect; remove unnecessary ';' to silence this warning
[-Werror,-Wextra-semi-stmt]
        RAPIDJSON_SCHEMA_HANDLE_BEGIN_(StartArray, (CurrentContext()));
                                                                      ^
include/rapidjson/schema.h:1723:58: error: empty expression statement has no
effect; remove unnecessary ';' to silence this warning
[-Werror,-Wextra-semi-stmt]
        RAPIDJSON_SCHEMA_HANDLE_PARALLEL_(StartArray, ());
                                                         ^
include/rapidjson/schema.h:1729:68: error: empty expression statement has no
effect; remove unnecessary ';' to silence this warning
[-Werror,-Wextra-semi-stmt]
        RAPIDJSON_SCHEMA_HANDLE_PARALLEL_(EndArray, (elementCount));
                                                                   ^
7 errors generated.

http://package18.nyi.freebsd.org/data/headamd64PR236062-default/2019-03-01_=
06h42m53s/logs/errors/rapidjson-1.1.0_5.log


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236062
[Bug 236062] [exp-run] Against projects/clang800-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-236206-7788>