i'm starting to hate this 80 char limit...
There is a bug in window.h line 75, it reads
AG_TAILQ_HEAD(,ag_window) subwins;
and the macro definition says:
/*
* Tail queue definitions.
*/
#define AG_TAILQ_HEAD(name, t) \
struct name { \
struct t *tqh_first; /* first element */ \
struct t **tqh_last; /* addr of last next element */ \
}
AND
in windows.h line 39 we have this:
typedef struct ag_window {
which continues into line 81. So we have a macro that's trying to
define a struct inside the declaration of a struct of the same name.
So either the compiler is doing something wrong
(there could be subtle things of compilers i'm not aware of)
or this is an error, i modified the .h to read
AG_TAILQ_HEAD(ag_windowq,ag_window) subwins; like other references to
AG_TAILQ_HEAD i found, and it compiles.
next is tableview.h line 188 has this:
#define AG_TableviewRowAdd(...) AG_TableviewRowAddFn(__VA_ARGS__, -1)
and as far as i know those 3 dots in the argument section are wrong,
taking those out eliminates the remaining error and allows compilation,
then comes the
linking nightmare (i'm no expert at linking, like i said i'm used to uC
enviroments).
I had to add Pthread libs because the intructions didnt mention them.
Finally i get to this point:
A lot of warnings about manifests (which i know are harmless since VC6
doesnt use manifests, am i right?)
and this:
PART NOT INCLUDED DUE TO GODDAMED 80 LINE LIMIT, i cant figure out how
to format it
google told me that i'm using mixed types of libraries and that i have
to ignore all std libraries and complete the linking libraries by hand,
is that correct or is there a better way?
Well, nothing more, hope i get this right soon
_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html