Hi,

On 4 Apr 2003, Soumyadip Modak wrote:

> One of my friends has developed his assignment programs in Turbo C, and
> requested my help in porting it to the GCC. All the necessary
> conversions have been made, but when I try to compile it, GCC says :
>
> baseconv.c:137: stray '\240' in program
> baseconv.c:137: stray '\302' in program
>

Was the original source written in windows/dos mode ?
Was there cut and paste from a web page involved  ?

I had slight problems with code I was writing in kwrite when I copy and
pasted soem QT code from their help pages (I was using konqueror), the
spaces turned out to have soem weird invisible (non printing) character
that gcc didn't like.

I used vi to get rid of them.

Perhaps thats the problem...
-kg


> The above errors are shown for almost all the lines of the  program. No
> other errors are shown even with the -Wall switch.Is it due to stray
> CR-LF  in the code ? If so is there any way to remove them other than
> manually doing it ?
> --
> Soumyadip Modak
> RCCIIT
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
>
> --
> To unsubscribe, send mail to [EMAIL PROTECTED] with the body
> "unsubscribe ilug-cal" and an empty subject line.
> FAQ: http://www.ilug-cal.org/node.php?id=3
>


--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/node.php?id=3

Reply via email to