[Bug 272531] security/veracrypt: does not compile on FreeBSD 14

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 16 Jul 2023 06:46:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272531

            Bug ID: 272531
           Summary: security/veracrypt: does not compile on FreeBSD 14
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm@FreeBSD.org
          Reporter: Lutz.Bichler@gmail.com
             Flags: maintainer-feedback?(acm@FreeBSD.org)
          Assignee: acm@FreeBSD.org

Created attachment 243417
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243417&action=edit
Add -std=c++11 to CXXFLAGS

std::byte from C++17 conflicts with internal type definitions. Adding
-std=c++11 to the C++ flags fixes the problem (see attached patch).

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