View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002171 | NoesisGUI | C++ SDK | public | 2021-10-27 17:04 | 2021-11-23 17:00 |
| Reporter | pdx_lysannschlegel | Assigned To | jsantos | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.1 | ||||
| Target Version | 3.1.2 | Fixed in Version | 3.1.2 | ||
| Summary | 0002171: clang warning in NsMath/Vector.h (ignored-qualifiers) | ||||
| Description | When building anything that includes NsMath/Vector.h with clang version at least 10, and -Wignored-qualifiers enabled, the warning is triggered in several places: Include/NsMath/Vector.h:36:5: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] Similar in NsMath/Vector.inl: Include/NsMath/Vector.inl:33:8: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] The above output is when building with version 3.0, but I did a quick check and looks like 3.1 headers still look the same, so I am setting the version to 3.1. This issue is espacially annoying when building with -Werror. | ||||
| Steps To Reproduce | I don't have very easy steps to reproduce but the warning should be pretty clear as to what's wrong.
Potentially this can be reproduced with older clang versions as well, but I cannot currently test this. | ||||
| Platform | Any | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-10-27 17:04 | pdx_lysannschlegel | New Issue | |
| 2021-10-27 18:20 | sfernandez | Assigned To | => jsantos |
| 2021-10-27 18:20 | sfernandez | Status | new => assigned |
| 2021-10-27 18:20 | sfernandez | Target Version | => 3.1.2 |
| 2021-10-27 18:54 | jsantos | Note Added: 0007546 | |
| 2021-11-23 17:00 | jsantos | Note Added: 0007605 | |
| 2021-11-23 17:00 | jsantos | Status | assigned => resolved |
| 2021-11-23 17:00 | jsantos | Resolution | open => fixed |
| 2021-11-23 17:00 | jsantos | Fixed in Version | => 3.1.2 |