View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001695 | NoesisGUI | C++ SDK | public | 2020-05-24 15:29 | 2020-05-28 14:51 |
| Reporter | steveh | Assigned To | jsantos | ||
| Priority | normal | Severity | major | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.0.0 | ||||
| Target Version | 3.0.1 | Fixed in Version | 3.0.1 | ||
| Summary | 0001695: Noesis does not compile properly with Clang as static libraries | ||||
| Description | Hi guys, I forgot that we had changed this locally in previous Noesis versions. I've just hit this issue again as I overwrote our local slighly tweaked modified version of Noesis with the vanilla 3.0.0 base and ran into this issue again when compiling with Clang. It looks like NS_STATIC_LIBRARY is not respected on GNU / Clang for NS_DLL_IMPORT / NS_DLL_EXPORT. You can see that this definition is only considered on MSVC in CompilerSettings.h. My fix is trivial, just check to make see if NS_STATIC_LIBRARY has been defined, and if so, define the NS_DLL_IMPORT / NS_DLL_EXPORT to empty: | ||||
| Platform | PlayStation4 | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-05-24 15:29 | steveh | New Issue | |
| 2020-05-25 11:17 | jsantos | Assigned To | => jsantos |
| 2020-05-25 11:17 | jsantos | Status | new => assigned |
| 2020-05-25 11:17 | jsantos | Target Version | => 3.0.1 |
| 2020-05-28 14:51 | jsantos | Status | assigned => resolved |
| 2020-05-28 14:51 | jsantos | Resolution | open => fixed |
| 2020-05-28 14:51 | jsantos | Fixed in Version | => 3.0.1 |