On Thu, 3 Dec 2009, Vijay Sankar wrote: > Good day, > > kdeartwork did not build on amd64 -current and on i386 -current this morning. > My ports tree was updated from CVS yesterday (Dec 2, 2009) at 2:30PM Central > Time. > > I noticed the error > > /usr/local/include/glib-2.0/glib/gmacros.h:90: error: syntax error before '/' > token > > So I deleted > > // __attribute__((unused)) works with gcc3.3 but not g++3.3 > > in /usr/local/include/glib-2.0/glib/gmacros.h and everything built properly. > > Just in case it is useful here is what the full error message looked before > gmacros.h was changed.
Update devel/glib2 to the latest version. When you accounter build issues, *always* make sure you are up to date. -- Antoine
