Closed mingodad closed 1 year ago
The issues are deliberately not enabled on cheerp-compiler. We want to make sure all bugs are reported in a centralized location since it might be difficult for the user to isolate what component is causing the problem.
About the warnings, it is unlikely that we will be able to commit developer work to fixing these sort of "cosmetic" issues for the build. Feel free about sending a PR though.
Thanks !
The thing is that these sort of "cosmetic" issues
make the output noisy and can hide real important issues.
Anyway again thanks !
By the way even after changing the order of installing:
ninja -C build_runtimes_genericjs install
ninja -C build_runtimes_wasm install
I'm not able to get a success build of cheerp
.
Please provide an update log in the other issue then
I was going to report some issues on
cheerp-compiler
but theIssues
functionality is not enabled on that github project.Anyway it's about eliminating several warnings due to only using some variables inside
assert()
like the ones shown bellow that can be wraped around#ifndef NDEBUG
;In
cheerp-compiler/llvm/include/llvm/Cheerp/PointerAnalyzer.h:432:23: warning: variable 'modulePtr' set but not used [-Wunused-but-set-variable]
In
cheerp-compiler/llvm/include/llvm/Cheerp/Registerize.h:116:14: warning: variable 'C' set but not used [-Wunused-but-set-variable]
In
cheerp-compiler/llvm/lib/CheerpUtils/IdenticalCodeFolding.cpp:973:16: warning: unused variable 'GType' [-Wunused-variable]