On Nov 4, 2003, at 10:11 AM, Bobby Thomale wrote:
I am having trouble getting the MP implementation of threads to compile. It seems to be having trouble with function pointers where the syntax function<type> is used.
I remember at one point it was mentioned that:
function
was deprecated and we were to use either the more universally supported:
functionN
or the cleaner:
function
instead if our compiler supported it.
(Mine doesn't support that last one yet.)
I am guessing that the oldest syntax was removed and no one has bothered to update the Mac carbon thread implementaton to compile again since then?
That one seems pretty easy to fix - just update to a supported syntax.
^ I've done that, updated to the functionN
syntax and it fixed the problem. I need to submit back the changes but I haven't yet. (SORRY!!!) Just let the compiler lead you around by the nose if you'd like, it will show you all of the places where this needs to change, and the change is straightforward. :-)
CodeWarrior 9 now supports the function