sysutils/xsi not building on -CURRENT with new gcc

Joe Marcus Clarke marcus at marcuscom.com
Sat Jul 7 19:42:49 UTC 2007


On Sat, 2007-07-07 at 14:32 -0400, Tom McLaughlin wrote:
> Hi all,
> 
> I updated sysutils/xsi to a new version and I just found it will not
> build on -CURRENT (July 2nd) in my tinderbox.  I'm getting the following
> fail:
> 
> 
> if c++ -DHAVE_CONFIG_H -I. -I. -I. -I../lib -I/usr/local/include/libxml2
> -I/usr/local/include -O1 -pipe -MT freebsd.o -MD -MP -MF
> ".deps/freebsd.Tpo" -c -o freebsd.o freebsd.cpp;  then mv -f
> ".deps/freebsd.Tpo" ".deps/freebsd.Po"; else rm -f ".deps/freebsd.Tpo";
> exit 1; fi
> In file included from /usr/include/sys/sx.h:37,
>                  from /usr/include/sys/filedesc.h:40,
>                  from /usr/include/sys/proc.h:44,
>                  from /usr/include/sys/user.h:47,
>                  from freebsd.cpp:35:
> /usr/include/sys/lock_profile.h:156: error: expected ',' or '...' before 'class'

Seems like a bug in lock_profile.h to me.  We should not be using
reserved words like "class".  kmacy added this function to
lock_profile.h in rev 1.6.  You might want to ping him about it.

> 
> 
> I'm trying to avoid setting USE_GCC on this port.  How can I get around
> this issue?

I don't see any way around this on -CURRENT.  Other compiler versions
should complain equally as loud.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070707/b7699b09/attachment.pgp


More information about the freebsd-current mailing list