Antonio, Seems that Windows CE does not support the __declspec(thread) attribute. But you're using HB_STACK_MACROS, remember .-
http://lists.harbour-project.org/pipermail/harbour/2009-December/029344.html -- Xavi El 19/02/2010 3:41, Antonio Linares escribió:
More on the C2485 error compiling with Microsoft Windows CE 6.x SDK cl.exe: We have found where the error is coming from. It was not a define: hb_stack_ptr is defined as: HB_TLS_ATTR PHB_STACK hb_stack_ptr = NULL; HB_TLS_ATTR is translated into __declspec( thread ) and that may be causing a mangled name for the variable name that makes the compiler itself to error. If we remove (just for a test) HB_TLS_ATTR from estack.c (line 93) and from hbstack.h (line 200) then those errors go away. Obviously that is not a solution but take us closer to find it. regards, Antonio
_______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour