View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004580 | NoesisGUI | Unreal | public | 2025-11-26 17:52 | 2025-11-27 00:23 |
| Reporter | JinFox | Assigned To | hcpizzi | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.2.10 | ||||
| Target Version | 3.2.11 | ||||
| Summary | 0004580: Rive.cpp line 1444 causing compilation issue in case of -Werror compilation flag ([nodiscard] rule not being respected | ||||
| Description | Hello, At line 1444, the NS_LOG_WARNING macro has some specificities that might be discarding the result of filename.c_str(). As a result of that, any building process that require strict enforcement of the nodiscard rule will fail. This is the line with the issue : NS_LOG_WARNING("Ignoring embedded asset '%s' (%zu bytes)", filename.c_str(), bytes.size()); Either storing the result of c_str() or using "&*filename.c_str()" were two solutions that worked for me to "ignore" this compilation error and make the compiler believe that I wasn't discarding the return value of c_str(). | ||||
| Platform | Any | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-11-26 17:52 | JinFox | New Issue | |
| 2025-11-26 17:53 | JinFox | Description Updated | |
| 2025-11-27 00:23 | jsantos | Assigned To | => hcpizzi |
| 2025-11-27 00:23 | jsantos | Status | new => assigned |
| 2025-11-27 00:23 | jsantos | Target Version | => 3.2.11 |
| 2025-11-27 00:23 | jsantos | Status | assigned => resolved |
| 2025-11-27 00:23 | jsantos | Resolution | open => fixed |
| 2025-11-27 00:23 | jsantos | Note Added: 0011481 |