View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002387 | NoesisGUI | C++ SDK | public | 2022-07-26 15:51 | 2022-07-28 20:22 |
| Reporter | pdx_lysannschlegel | Assigned To | jsantos | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.1.4 | ||||
| Target Version | 3.1.6 | Fixed in Version | 3.1.6 | ||
| Summary | 0002387: clang warnings in NsMath/Vector.h and NsMath/Transform.h (deprecated-copy) | ||||
| Description | When building anything that includes NsMath/Vector.h or NsMath/Transform.h with Xcode clang version at least 14, and -Wdeprecated-copy enabled, the warning is triggered in several places: NsMath/Vector.h:30:5: error: definition of implicit copy assignment operator for 'Vector2' is deprecated because it has a user-declared copy constructor [-Werror,-Wdeprecated-copy] The above output is when building with version 3.1.4, but I did a quick check and looks like 3.1.5 headers still look the same, I just haven't tested it. This issue is especially annoying when building with -Werror. Of course, we can work around it by disabling the warning before including these, but would be nice if it wasn't required. | ||||
| 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 or non Xcode clang as well, but I cannot currently test this. | ||||
| Platform | macOS | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2022-07-26 15:51 | pdx_lysannschlegel | New Issue | |
| 2022-07-27 09:14 | jsantos | Assigned To | => jsantos |
| 2022-07-27 09:14 | jsantos | Status | new => assigned |
| 2022-07-27 09:14 | jsantos | Target Version | => 3.1.6 |
| 2022-07-28 20:22 | jsantos | Status | assigned => resolved |
| 2022-07-28 20:22 | jsantos | Resolution | open => fixed |
| 2022-07-28 20:22 | jsantos | Fixed in Version | => 3.1.6 |
| 2022-07-28 20:22 | jsantos | Note Added: 0008036 |