hi
COMPUTER:~/FOLDER/FOLDER myname$ ~/FOLDER/FOLDER/sdcc/bin/sdcc -E test.c
# 1 "test.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "test.c"
{\rtf1\mac\ansicpg10000\cocoartf102
{\fonttbl\f0\fmodern\fcharset77 Courier;\f1\froman\fcharset77
Times-Roman;}
{\colortbl;\red255\green255\blue255;}
\margl1440\margr1440\vieww9000\viewh9000\viewkind0
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx560
0\tx6160\tx6720\ql\qnatural
\cf0
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx560
0\tx6160\tx6720\ql\qnatural
\f0\fs26 \cf0 #include <string.h>
\f1\fs32 \'ca \'ca
\f0\fs26 char str1[10];
\f1\fs32 \'ca \'ca
\f0\fs26 void main(void) \{
\f1\fs32 \'ca
\f0\fs26 \'ca\'castrcpy(str1, "testing");
\f1\fs32 \'ca
\f0\fs26 \}
test.c:24:10: warning: backslash-newline at end of file
\f1\fs32 }
--
and for the include thing:
COMPUTER:~/FOLDER/FOLDER myname$ ~/FOLDER/FOLDER/sdcc/bin/sdcc -I
~/FOLDER/FOLDER/sdcc/share/sdcc/include test.c
test.c:24:10: warning: backslash-newline at end of file
test.c:1: warning 190: ISO C forbids an empty source file
test.c:1: parse error: token -> '{' ; column 1
i'm thinking if there are any ways that I can try to resolve this
________________________________________________________________________
AOL now offers free email to everyone. Find out more about what's free
from AOL at AOL.com.
-------------------------------------------------------------------------
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