Hi

Trying to compile the latest svn and got the following error on two
different machines.

What i did:
cd device/lib/pic16/
./configure
make

What i get:
[  CC   ] ==> build/libc/stdlib/rand.o
rand.c:46: warning 154: converting integral to pointer without a cast
from type 'literal-unsigned-long-int'
to type 'unsigned-long-int generic* '
sdcc: gen.c:4600: genDiv: Assertion `rightVal >= -128 && rightVal < 256'
failed.

The problem seems to be with the % in the do_rand function in the rand.c
file. If i comment out everything just before the % sind in this
function everything compiles fine.

Any hints how to fix this?

thx allot

P.S. One machine was a complete svn co on the other i made a "make
distclean"


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to