You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling with Xcode 11 results in this error (7 times):
/obfy/main.cpp:27:5: error: unused variable '__crv' [-Werror,-Wunused-variable]
OBF_BEGIN
^
In file included from /obfy/main.cpp:9:
/obfy/instr.h:816:40: note: expanded from macro 'OBF_BEGIN'
#define OBF_BEGIN try { obf::next_step __crv = obf::next_step::ns_done; std::shared_ptr<obf::base_rvholder> __rvlocal;
^
/obfy/main.cpp:36:2: error: unused variable '__crv' [-Werror,-Wunused-variable]
OBF_BEGIN
^
cmake automatically created the -Werror when creating the Xcode project with cmake -GXcode ..
Should be easy to fix: insert an 'unused expression' for __crv: #define OBF_BEGIN try { obf::next_step __crv = obf::next_step::ns_done; std::shared_ptr<obf::base_rvholder> __rvlocal; (void)__crv;
or #define OBF_END (void)__crv; } catch(std::shared_ptr<...
wherever it makes more sense.
The text was updated successfully, but these errors were encountered:
Yep, FOR, WHILE, REPEAT etc. commands use the __crv.
This is (was) a perfectionist issue which is for those with highest warning levels enabled.
Anyway, thanks for fixing this to make this project even more perfect.
Compiling with Xcode 11 results in this error (7 times):
cmake automatically created the
-Werror
when creating the Xcode project withcmake -GXcode .
.Should be easy to fix: insert an 'unused expression' for
__crv
:#define OBF_BEGIN try { obf::next_step __crv = obf::next_step::ns_done; std::shared_ptr<obf::base_rvholder> __rvlocal; (void)__crv;
or
#define OBF_END (void)__crv; } catch(std::shared_ptr<...
wherever it makes more sense.
The text was updated successfully, but these errors were encountered: