Hi,

>> #include <string.h>  
>>   
>> char str1[10];  
>>   
>> void main(void) {  
>>   strcpy(str1, "testing");  
>> }
> Can we make certain by f.e. passing the problematic source
> to a checksum utility (md5sum, sha1sum, sha256sum)
> and appending the snippet to this mail that we are talking
> about the same code?

Proposal: Check
   sdcc -E test.c
on your box and post the longish output (reveals names/content of 
included files, possibly also path names...).
I guess SDCC reads include files it should better not have seen (i.e. 
system include files from /usr/include and stuff.

Even better, try
   sdcc -I /path/to/sdcc/include test.c
to prevent SDCC from guessing about its include files (string.h must 
reside in /path/to/sdcc/include, obviously...).

HTH,
Raphael

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to