[Bug 287003] security/wazuh-manager: a couple of omissions in src/shared_modules/utils/rocksDBQueueCF.hpp blocks a successful build

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 22 May 2025 19:20:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287003

            Bug ID: 287003
           Summary: security/wazuh-manager: a couple of omissions in
                    src/shared_modules/utils/rocksDBQueueCF.hpp blocks a
                    successful build
           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: Trond.Endrestol@ximalas.info
             Flags: maintainer-feedback?(acm@FreeBSD.org)
          Assignee: acm@FreeBSD.org

/construction/xports/security/wazuh-manager/work/wazuh-4.12.0/src/shared_modules/utils/rocksDBQueueCF.hpp:195:72:
note: use array indexing to silence this warning
  195 |                 throw std::runtime_error("Failed to dequeue element: "
+ index);
      |                                                                       
^
      |                                          &                            
[      ]

/construction/xports/security/wazuh-manager/work/wazuh-4.12.0/src/shared_modules/utils/rocksDBQueueCF.hpp:294:84:
note: use array indexing to silence this warning
  294 |                         throw std::runtime_error("Failed to get
elements, error: " + status.code());
      |                                                                        
           ^
      |                                                  &                     
           [              ]

And it turns out this is just the tip of the iceberg. Does this port specify
the correct C++ standard?

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