Skip to contentSkip to conversation

parse error before `{', stray '\' in program

DISCUSSION Wolfgang Denk 2 participants 2 messages Apr 11, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 6 lines · In message <[email protected]> you wrote:

Good you please post the URL to the list if you find one! I am facing this problem from time to time ...

Does anyone know if the ppc_8xx-gcc 2.95.4 from DENX ELDK has this patch applied?

No, it has not, and will not.

I see no sense in a modification that supports violations of the C standard.

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] Work 8 hours, sleep 8 hours; but not the same 8 hours.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw
Quoted 5 lines · Wolfgang Denk
Quoted 3 lines · In message <[email protected]> you wrote:

Good you please post the URL to the list if you find one! I am facing this problem from time to time ...

Quoted 8 lines
Quoted 2 lines

Does anyone know if the ppc_8xx-gcc 2.95.4 from DENX ELDK has this patch applied?

No, it has not, and will not.

I see no sense in a modification that supports violations of the C standard.

especially when its so easy to cleanup text files by piping them
through 'tr':

cat "$src_file" | tr -d \\015 > "$tmp_file"
mv -f $tmp_file $src_file

which removes those funky MsDos carriage returns.

(depending on your shell, you may be able to skip the tmp_file above)

Just write a small shell-script that iterates through your source
files, applying this filter.

Like you, I also develop on several platforms. I find it convenient
to add a new 'fix' target to the makefiles, then run the above filter on all source and header files in the project.

<import file from MsDos/windoze>
make fix # with implied 'make clean'
make

works great, on lots and lots of projects...

ron

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/