I am trying to install gcc-2.7.2 after reading the requirements for installing Festival
here. On my workstation, I have gcc 4.4.1 installed. I am running into problems while running make
. Here is how I am running make
:
make |& tee make.log
The error message is as follows:
decl.c: In function ‘push_class_level_binding’:
decl.c:3606: error: lvalue required as increment operand
The offending line from decl.c
is: obstack_ptr_grow (&decl_obstack, x);
The above function returns void
. A look at the function definition in the file obstack.h
shows:
#define obstack_ptr_grow(OBSTACK,datum) \
__extension__ \
({ struct obstack *__o = (OBSTACK); \
if (__o->next_free + sizeof (void *) > __o->chunk_limit) \
_obstack_newchunk (__o, sizeof (void *)); \
if (!__o->alloc_failed) \
*((void **)__o->next_free)++ = ((void *)datum); \
(void) 0; })
There is only one increment operation happening here. I am not sure how to change it to make the error go away. Or am I looking in the wrong place?
Any help is most welcome.
P.S: Please let me know in case more information is needed.