Hello,

I upgraded my SDCC to the latest snapshot and after fixing all the deprecated functions it came up with an error about multiple declaration of a function.
After fixing the error it compiled, so the latest version works correct.

Thanks for the help.

Regards,
Gerard

On Mon, Dec 26, 2011 at 4:31 PM, Maarten Brock <sourceforge.brock@dse.nl> wrote:
Hi Gerard,

gen.c is part of the SDCC sources. Please file this as a
bug report in our bug tracker at sourceforge. Include
source code to reproduce it and the version of SDCC you
use. But before you do this first verify this is still
present in a recent snapshot.

Merry Christmas,
Maarten Brock

> Hello,
>
> When I am trying to compile my project the following error appears:
>
> sdcc -Iinclude -V --xram-loc 0xF000  application.c cc1111rf.rel global.rel
> cc1111usb.rel cc1111usbdebug.rel -DCHRONOSDONGLE
> + "/usr/bin/sdcpp" -nostdinc -Wall -I"include" -DCHRONOSDONGLE
> -obj-ext=.rel -DSDCC_MODEL_SMALL -DSDCC_FLOAT_REENT -DSDCC=290
> -DSDCC_REVISION=5416 -DSDCC_mcs51 -D__mcs51 -isystem
> "/usr/bin/../share/sdcc/include/mcs51" -isystem
> "/usr/share/sdcc/include/mcs51" -isystem "/usr/bin/../share/sdcc/include"
> -isystem "/usr/share/sdcc/include"  "application.c"
> Internal error: validateOpType failed in OP_SYMBOL(left) @ gen.c:10475:
> expected symbol, got value
> make: *** [chronosapplication.hex] Error 1
>
> How can I locate the origins of this error?  gen.c doesn't seems to exist
> on my system and I haven't got a clue where it fails in my own code with
> this error message.
>
> Regards,
> Gerard
>



------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user