Syntax error before NSColor

Hi,

I like to compile SDL2 for 10.4 i386 and ppc. I’ve had little problem in
the past, but as of rev 373d9e4e8ad9, I get a weird compile error:

syntax error before NSColor

Removing the change made in that revision fixes compiling. I do not know
why it is throwing a compile error as NSColor has been around forever. I
thought it might be a weird line ending problem, but that wasn’t it either.

Just FYI
D

I think there should be an easy fix for this: the line should be [NSColor
blackColor] as the dot syntax appeare only in Objective C 2.0, Leopard 10.5
onwards.

Cheers,
VittorioOn Tue, May 21, 2013 at 5:13 PM, D B wrote:

Hi,

I like to compile SDL2 for 10.4 i386 and ppc. I’ve had little problem in
the past, but as of rev 373d9e4e8ad9, I get a weird compile error:

syntax error before NSColor

Removing the change made in that revision fixes compiling. I do not know
why it is throwing a compile error as NSColor has been around forever. I
thought it might be a weird line ending problem, but that wasn’t it either.

Just FYI
D


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org