C compilation error

3 Messages Forum Options Options
Permalink
Arno Fiva
C compilation error
Reply Threaded More
Print post
Permalink

Hi all,

I am currently getting a C compilation error with code I was able to
compile before. I tried compiling `ec' from our cdd branch at two
revisions HEAD and 69241 (last working) with the latest 6.0 build from
the origo and also the last working one (69201). I always get following
error message:

Compiling C code in C155
Compiling C code in C154
Compiling C code in C153
Compiling C code in C152
In file included from big_file_C153_c.c:48:
fu5016.c: In function 'inline_Ft64txh':
fu5016.c:41: error: expected expression before ')' token
fu5016.c:41: error: called object 'EIF_TYPED_VALUE(<erroneous-expression>)' is not a function
fu5016.c:41: error: expected ')' before 'arg1'
make[1]: *** [big_file_C153_c.o] Error 1
make: *** [C153/Cobj153.o] Error 2
make: *** Waiting for unfinished jobs....

Any idea were this error could come from? Please note that we have not
updated any changes done for 6.1, since we want to stay on the Eiffel_60
branch.

Thanks for any help!

Arno Fiva


_______________________________________________
Es-devel mailing list
Es-devel@...
http://rock.inf.ethz.ch/cgi-bin/mailman/listinfo/es-devel
Emmanuel Stapf
RE: C compilation error
Reply Threaded More
Print post
Permalink
> I am currently getting a C compilation error with code I was
> able to compile before. I tried compiling `ec' from our cdd
> branch at two revisions HEAD and 69241 (last working) with
> the latest 6.0 build from the origo and also the last working
> one (69201). I always get following error message:

Yes I see what is wrong. In your cdd branch you should stick to the revision
99 of the FreeELKS release since the later revision requires a 6.1 compiler.
For the moment, simply update $EIFFEL_SRC/library/base/elks to the 99
revision by doing `svn up -r 99'. I'll do some testing so that it can be
done automatically.

Regards,
Manu

_______________________________________________
Es-devel mailing list
Es-devel@...
http://rock.inf.ethz.ch/cgi-bin/mailman/listinfo/es-devel
------------------------------------------------------------------------  
Eiffel Software
805-685-1006
http://www.eiffel.com       
Customer support: http://support.eiffel.com       
User group: http://groups.eiffel.com/join       
------------------------------------------------------------------------  
Emmanuel Stapf
RE: C compilation error
Reply Threaded More
Print post
Permalink
In reply to this post by Arno Fiva
The solution is the following. Go to your branch in $EIFFEL_SRC/library/base
and do:
        svn propedit svn:externals .
And editor should show up and you simply need to replace the content with
the following
elks
https://freeelks.svn.sourceforge.net/svnroot/freeelks/tags/Eiffel_60/library


Regards,
Manu

> -----Original Message-----
> From: Emmanuel Stapf [ES] [mailto:manus@...]
> Sent: Thursday, August 16, 2007 9:54 AM
> To: 'Arno Fiva'; 'es-devel@...'
> Subject: RE: [Es-devel] C compilation error
>
> > I am currently getting a C compilation error with code I
> was able to
> > compile before. I tried compiling `ec' from our cdd branch at two
> > revisions HEAD and 69241 (last working) with the latest 6.0
> build from
> > the origo and also the last working one (69201). I always get
> > following error message:
>
> Yes I see what is wrong. In your cdd branch you should stick
> to the revision 99 of the FreeELKS release since the later
> revision requires a 6.1 compiler. For the moment, simply
> update $EIFFEL_SRC/library/base/elks to the 99 revision by
> doing `svn up -r 99'. I'll do some testing so that it can be
> done automatically.
>
> Regards,
> Manu
>

_______________________________________________
Es-devel mailing list
Es-devel@...
http://rock.inf.ethz.ch/cgi-bin/mailman/listinfo/es-devel
------------------------------------------------------------------------  
Eiffel Software
805-685-1006
http://www.eiffel.com       
Customer support: http://support.eiffel.com       
User group: http://groups.eiffel.com/join       
------------------------------------------------------------------------