Closed Bug 1897487 Opened 6 months ago Closed 6 months ago

NSS fuzz build fails due to variable length arrays

Categories

(NSS :: Build, defect, P1)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mdauer, Assigned: mdauer)

Details

Attachments

(1 file)

Running ./build.sh --fuzz results in the following error:

../../fuzz/mpi_helper.cc:24:14: error: variable length arrays in C++ are a Clang extension [-Werror,-Wvla-cxx-extension]

This can be fixed by passing -Wno-vla-extension and effectively suppressing warnings for variable length arrays.

Assignee: nobody → mdauer

clang enabled warnings for variable-length arrays with version 18.1.0 by default,
causing builds with `--fuzz`` to fail.

Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Severity: -- → S4
Priority: -- → P1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: