Hi again,
any news about the Windows build ? With Visual Express 2008 and the Agar
vanilla 2005 project files (converted automatically to 2008), I was
unable with to build Agar 1.3.2 (compilation was failing in Windows
headers), and with a project file I made by myself, compilation and
linking succeeded, a non-empty DLL was produced, but no LIB was
generated. After some study of the project files I was able even to
figure out how they could be generated with either version of Visual
C++. Any hint would help a lot!
In the Agar FAQ, one can see that a "class-based C++ interface is
currently under development". Is it still the case ? If yes, is there a
planned release date ?
Finally, according to the compiler on Linux (gcc 4.2.3), in
agar-1.3.2/include/agar/agar/core/string_compat.h, in function
AG_Strncasecmp(const char *s1, const char *s2, size_t n), line 167,
since size_t is an *unsigned* integral type, --n >= 0 will always be
true and n < 0 will always be false, in:
while (--n >= 0 && cm[*us1] == cm[*us2++]) {
if (*us1++ == '\0')
return (0);
}
return (n < 0 ? 0 : cm[*us1] - cm[*--us2]);
Thanks in advance for any hint,
best regards,
Olivier.
_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html