Page MenuHomeFreeBSD

Passify a new clang warning
ClosedPublic

Authored by brooks on Sep 29 2020, 8:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 6 2024, 8:05 PM
Unknown Object (File)
Dec 24 2023, 7:55 PM
Unknown Object (File)
Dec 24 2023, 7:55 PM
Unknown Object (File)
Dec 24 2023, 7:55 PM
Unknown Object (File)
Dec 24 2023, 7:43 PM
Unknown Object (File)
Dec 20 2023, 4:39 AM
Unknown Object (File)
Dec 17 2023, 6:10 AM
Unknown Object (File)
Sep 18 2023, 10:55 AM
Subscribers
None

Details

Summary

Clang 12 warns about certain cases of string concatenation in array
initialization. Adding parentheses siliences this warning.

Submitted upstream as https://git.yzena.com/gavin/bc/pulls/6

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

brooks created this revision.

I've submitted here because upstream seems to want me to do that (and also to document the issue if someone else tries building FreeBSD with an up-to-date llvm.

This revision was not accepted when it landed; it landed in state Needs Review.Oct 1 2020, 3:36 PM
Closed by commit rP550844: Update to version 3.1.6 (authored by se). · Explain Why
This revision was automatically updated to reflect the committed changes.

Both the port and the contrib sources in -CURRENT have been updated to version 3.1.6 to fix this issue.
No MFC to 12-STABLE is planned at this time, since the issue does only affect systems with LLVM-12 as the base compiler.