Hello,
In Agar-1.3.4, in agar/core/class.h line 39 (line 40 in current SVN) the
AG_TAILQ_HEAD macro has no first argument specified, which makes gcc
(version 4.4.1 on Ubuntu, with some warnings enabled) complain:
'''error: invoking macro AG_TAILQ_HEAD argument 1: empty macro arguments
are undefined in ISO C90 and ISO C++98"
This is true also for:
- agar/core/object.h line 62, 63 and 68
- agar/core/dso.h line 20
- agar/gui/widget.h line 98
- window.h line 94
- label.h line 65
- tlist.h line 72
- file_dlg.h line 47, 78
- graph.h line 79, 80
- notebook.h line 43
Same thing for the AG_SLIST_HEAD macro:
- table.h line 147
- text_cache.h line 14
Finally, in agar/gui/graph.h, in the ag_graph_vertex_style enum there is
a comma after AG_GRAPH_CIRCLE which should preferably be removed
(otherwise: "error: comma at end of enumerator list").
Could all these minor points be fixed? I am volunteering to test any
pre-release of Agar archive, to iron out these small compilation issues,
if it can help.
Thanks in advance,
Best regards,
Olivier Boudeville.
_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html