[Bug 237868] biology/jellyfish: fix build with GCC-based architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 13 07:55:00 UTC 2019


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

            Bug ID: 237868
           Summary: biology/jellyfish: fix build with GCC-based
                    architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jwb at freebsd.org
          Reporter: pkubaj at FreeBSD.org
          Assignee: jwb at freebsd.org
             Flags: maintainer-feedback?(jwb at freebsd.org)

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

Add -faligned-new for support for alignment parameter in new when using GCC:
sub_commands/count_main.cc:285:71: note: uses 'void* operator
new(std::size_t)', which does not have an alignment parameter
sub_commands/count_main.cc:285:71: note: use '-faligned-new' to enable C++17
over-aligned new support

Replace couple of exceptions from using value to references:
sub_commands/count_main.cc:333:28: error: catching polymorphic type 'class
MergeError' by value [-Werror=catch-value=]
         } catch(MergeError e) {

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


More information about the freebsd-ports-bugs mailing list