[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 3COM Gig ethernet driver compile woes (source from 3COM/ASUS)



On Sat, Jan 10, 2004 at 04:15:23PM -0600, Ramasubramanian Ramesh wrote:
[...]
>        /usr/src/linux/include/asm/checksum.h:72:30: missing terminating
>        " character
[...]
> My gcc is from sarge/testing.
> 
> It appears that cpp is choking on multiline __asm__ macros. Any 
> help/pointers appreciated.

Multiline strings are not valid in C, although they used to be accepted
by older versions of gcc. Fix the code, for instance by converting this:

  "foo
bar
baz"

... into this:

  "foo\n"
  "bar\n"
  "baz\n"

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: