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)
Sat, Nov 23, 1:28 PM
Unknown Object (File)
Tue, Nov 5, 7:13 PM
Unknown Object (File)
Tue, Nov 5, 7:13 PM
Unknown Object (File)
Sun, Nov 3, 2:14 PM
Unknown Object (File)
Sun, Nov 3, 2:06 PM
Unknown Object (File)
Sep 9 2024, 5:08 AM
Unknown Object (File)
Sep 9 2024, 2:24 AM
Unknown Object (File)
Aug 15 2024, 4:16 PM
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.