linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
[parent not found: <5.1.0.14.2.20030411103728.03024f68@mail.ebshome.net>]
[parent not found: <791B3205DB661A42B4BFE5464A7D1D02010E44F3@chzugexch02.zug.c h.abatos.com>]
* parse error before `{', stray '\' in program
@ 2003-04-10  9:23 Graf Alex
  2003-04-10  9:48 ` Wolfgang Denk
  0 siblings, 1 reply; 7+ messages in thread
From: Graf Alex @ 2003-04-10  9:23 UTC (permalink / raw)
  To: linuxppc-embedded


Hello,

If I have some defines which have '\' inside ...

#define BIND_DESC_ALM \
{ \
	CAlmSourceProp::IdxBindingGrp; \
}

my cross compiler produce following output:

ppc_8xx-gcc -fPIC -DPIC -D_DEBUG -Wall -ansi -g3 -O0
-I/home/projects/Nscu/_Inc -I/home/projects/Nscu/_Inc_PC -c -o main.o
main.cpp
main.cpp:15: parse error before `{'
main.cpp:15: stray '\' in program
main.cpp:16: stray '\' in program

I have have SuSE 8.1 and the cross compiler (ppc_8xx-gcc) has version
2.95.4.

The troubles are coming from the dos <cr><lf> at line end. With gcc 3.2
(from host) I don't have this problems.
I don't want to remove the <cr>s (dos2unix), because these files have to be
used on Windows too.

Any suggestions? Unfortunately there is no ppc_8xx-gcc with version 3.2 out.
Or is it?

Alex


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-04-11 20:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3E96684D.7000601@imc-berlin.de>
2003-04-11  7:24 ` parse error before `{', stray '\' in program Wolfgang Denk
2003-04-11 12:59   ` Ron Flory
     [not found] <5.1.0.14.2.20030411103728.03024f68@mail.ebshome.net>
2003-04-11 19:04 ` Eugene Surovegin
2003-04-11 20:17   ` Wolfgang Denk
     [not found] <791B3205DB661A42B4BFE5464A7D1D02010E44F3@chzugexch02.zug.c h.abatos.com>
2003-04-10 16:47 ` Eugene Surovegin
2003-04-10  9:23 Graf Alex
2003-04-10  9:48 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).