On Fri, Oct 03, 2008 at 01:47:55PM +0200, Olivier Boudeville wrote:
> Hi again,
> 
> I am still stuck with the Visual 2008 build, still no luck figuring out
> how a .LIB could be generated from the Agar 1.3.2 sources. Any hint on
> that topic or the others I raised two months ago?

As I said in my original response, Visual Studio 2008 is a defective,
non-standard C compiler. It fails because of an empty macro argument.
The workaround would be trivial - remove the first argument to
AG_TAILQ_HEAD(), but instead I'd recommend that you try a supported
version of Visual Studio, such as 2005.

> On the Linux side, there is a typo in include/agar/agar/core/rcs.h. No
> comma should exist after AG_RCS_DESYNCH, the compiler complains:
> 
> enum ag_rcs_status {
>     AG_RCS_ERROR,     /* Status unavailable */
>     AG_RCS_UNKNOWN,     /* Not on the repository */
>     AG_RCS_UPTODATE, /* Working copy = last rev and checksum matches */
>     AG_RCS_LOCALMOD, /* Working copy = last rev and checksum mismatch */
>     AG_RCS_DESYNCH,     /* Working copy < last rev */
> };

Out of curiosity, what compiler are you using? I'll remove it, but I've
never had any problems with this code, it has been there for years and
tested under many different compilers.


_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to