Alcaro

Results 150 comments of Alcaro

isn't that the assert command? assert 2+2 == 4, "your math sucks"

oh right, you're writing a function. can't put asserts in that we could add an assert() function, though

> 128-bit Legacy SSE version: The first source operand and the destination operand are the same. Bits (MAXVL-1:32) of the corresponding YMM destination register remain unchanged. "remain unchanged" means the...

you forgot saying that this issue exists only in asar 2

the issue reproduces with realbase(), !rb as19, or both it does not reproduce with !rb as, but that's just because it's 1.81 and pc() and realbase() aren't implemented yet

[does #ifdef count as portable?](https://github.com/Alcaro/Arlib/blob/master/arlib/file-exepath.cpp)

Yes, passing NULL gets the current EXE's path. That is not necessarily the path Asar is in, if it's compiled as a DLL. That's what that first argument does. MAX_PATH,...

what are you talking about. there's nothing inconsistent there, GetModuleFileName returns the exe's path just fine if called from a dll with hmodule=null it's just that that's not the path...

Fixed in C++ mode. Still broken in C mode.

While that would indeed be a useful feature, it would also open a huge can of gnarly edge cases. The obvious implementation would be expanding macros in if 0 -...