[Bug 242825] devel/spdlog: fix build on GCC architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 23 05:11:44 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242825

            Bug ID: 242825
           Summary: devel/spdlog: fix build on GCC architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: vanilla at FreeBSD.org
          Reporter: pkubaj at FreeBSD.org
             Flags: maintainer-feedback?(vanilla at FreeBSD.org)
          Assignee: vanilla at FreeBSD.org

Created attachment 210169
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=210169&action=edit
patch

assert() is not declared by default:
In file included from
/wrkdirs/usr/ports/devel/spdlog/work/spdlog-1.4.2/src/async.cpp:11:
/wrkdirs/usr/ports/devel/spdlog/work/spdlog-1.4.2/include/spdlog/details/thread_pool-inl.h:
In member function 'bool spdlog::details::thread_pool::process_next_msg_()':
/wrkdirs/usr/ports/devel/spdlog/work/spdlog-1.4.2/include/spdlog/details/thread_pool-inl.h:119:9:
error: 'assert' was not declared in this scope
  119 |         assert(false && "Unexpected async_msg_type");
      |         ^~~~~~

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list