Comments (4)
It is already possible to disable sanitizer flags in phoenix. You can just set(PHOENIX_DISABLE_SANITIZERS ON)
and define your own sanitizers globally if you'd like.
from zenkit.
Yeah I've had that problem it my GitHub Workflow too. GCC and Clang both compile and run fine with sanitizers so I doubt there is anything wrong at all. I'm not sure about that though, so if you'd like to it would help if you could debug it and see if it's actually a bigger issue. Otherwise I'll just assume it's a problem with sanitizer support on Apple Clang (since this issue can occur if parts of the app are instrumented and others are not).
from zenkit.
Hit possibly another sanitizer issue:
// MSVC
error LNK2038: mismatch detected for 'annotate_vector': value '1' doesn't match value '0' in
Apparently MSVC+Jom cannot link project if different sanitize options were in use, by different submodules. MSVC+Ninja somehow works, not sure why.
Suggestion: advice top-level application(OpenGothc) to use global settings instead:
add_compile_options(-fsanitize=address)
add_compile_options(-fsanitize=leak)
add_link_options (-fsanitize=address)
add_link_options (-fsanitize=leak)
from zenkit.
Tested on mac after switching to global-level sanitizers. Setup in OpenGothic cmake:
# in debug mode, enable sanitizers
set(PHOENIX_DISABLE_SANITIZERS ON CACHE INTERNAL "")
...
if(${CMAKE_BUILD_TYPE} MATCHES "Debug")
add_compile_options(-fsanitize=address)
add_compile_options(-fsanitize=leak)
add_link_options (-fsanitize=address)
add_link_options (-fsanitize=leak)
endif()
Now warning are gone
from zenkit.
Related Issues (20)
- Suspicious call to destructor HOT 5
- Multiple "not fully parsed" messages in Gothic 1 HOT 6
- Issues with TheChroniclesOfMyrtana mod HOT 23
- Procedure entry point failure at runtime when linking phoenix HOT 6
- Out of memory crash while parsing `ORCGRAVEYARD.ZEN` HOT 3
- [v1.1.1] Missing catch/re-throw on `sto_` calls
- DaedalusVM - external_function call - shared_ptr seems to point to nowhere any longer HOT 2
- `npc_type` mismatch between G1 and G2 HOT 5
- Syntax error while pasrsing `orctempel.zen` HOT 2
- Parse of "JustWhite" lighting preset resulting in wrong color HOT 3
- Parse of empty model-source HOT 7
- Reconsider usage of `unordered_set/map` HOT 4
- Incorrect parsing of `mds::event_tag`
- `Vfs::child` : Name comparison fails due to extra whitespace HOT 6
- Vfs: Node names may be cut off if the contain spaces HOT 2
- CI tests fail after 9e8458ed
- High order functions HOT 5
- Improvals to function calls HOT 4
- Support `-flto` HOT 2
- Performance consern regardless `zenkit::Polygon` HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zenkit.