Build from CVS sources broken after recent "merge from gcc"

James Greenhalgh james.greenhalgh@arm.com
Thu Jan 23 09:48:00 GMT 2014


Hi,

I've been spotting a build error recently on a build-bot which still
tracks the old CVS repository:

/work/gcc/src/binutils/binutils/bucomm.c:130:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘VPARAMS’
/work/gcc/src/binutils/binutils/bucomm.c:141:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘VPARAMS’
make[3]: *** [bucomm.o] Error 1

Some investigation shows this as the culprit:

+2014-01-21  Tom Tromey  <tromey@redhat.com>
+
+	* ansidecl.h (ANSI_PROTOTYPES, PTRCONST, LONG_DOUBLE, PARAMS)
+	(VPARAMS, VA_START, VA_OPEN, VA_CLOSE, VA_FIXEDARG, CONST)
+	(VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, AND, DOTS)
+	(NOARGS): Don't define.
+	* libiberty.h (expandargv, writeargv): Don't use PARAMS.
+

Which comes in through this commit:

CVSROOT:	/cvs/src
Module name:	src
Changes by:	dj@sourceware.org	2014-01-21 16:09:25

Modified files:
	include        : ChangeLog ansidecl.h libiberty.h 

Log message:
	merge from gcc

https://sourceware.org/ml/binutils-cvs/2014-01/msg00107.html

I know I should update my build-bot but I thought I would notify you
of the breakage just in case this is a misfiring script.

Thanks,
James Greenhalgh



More information about the Binutils mailing list