Hi!

On Wed 2003-06-11 at 09:43:18 +0200, [EMAIL PROTECTED] wrote:
> This is at least needed on powerpc to build SDL12 with gcc 3.3.

AFAIK, this is need for all platforms. gcc 3.3 has abandoned support
for multi-line strings, after they were already deprecated since 3.0:

  http://gcc.gnu.org/gcc-3.3/changes.html

> --- SDL-1.2.5/src/video/SDL_stretch.c.bak       2003-05-09 20:04:49.000000000 +0200
> +++ SDL-1.2.5/src/video/SDL_stretch.c   2003-05-09 19:57:47.000000000 +0200
> @@ -261,9 +261,9 @@
>                         break;
>                     default:
>  #ifdef __GNUC__
> -                       __asm__ __volatile__ ("
> -                               call _copy_row
> -                       "
> +                       __asm__ __volatile__ (""
> +"                              call _copy_row"
> +"                      "
>                         : "=&D" (u1), "=&S" (u2)

You either have to concatenate them as shown here or end each line
with '\' or '\n\', depending, if you need the new-line or not.

Bye,

        Benjamin.

Reply via email to