Skip to content

Warnings with g++ #2391

Open
Open
@goto40

Description

@goto40

I just tried xtensor. Gread work!

However, I found some warnings when compiling with my g++ (gcc 9.3.0) for different warnings configurations (e.g. Weffc++, pedantic, ...).
E.g.

[build] /.../xtensor/xoperation.hpp:86:35: warning: extra ‘;’ [-Wpedantic]
[build]    86 |         DEFINE_COMPLEX_OVERLOAD(+);

Is there already some work going on for such issues (I searched the github issues and did not found anything)? Else we could use this ticket for PRs concerning warnings cleanups (and I could add some findings)?

Or is there a specific warning setting to be used/ignored for some reason?

(I am aware of -isystem, which could help me out in that case by ignoring those warnings.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions