Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Can not build with gcc13 because suggestion warning #1132

@VictorEijkhout

Description

@VictorEijkhout
/work2/00434/eijkhout/msgsl/msgsl-4.0.0/tests/span_tests.cpp:333:33: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
    int arr3d[2][3][2] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12};
                                ^~~~
                                {   }

Can I turn off the Werror? Alternatively, this seems to be non-essential testing code, so can I not build the tests?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions