We are trying to build Harbour using Microsoft vce 2007 (the one provided with Microsoft Windows CE 6.x).
Thanks to recent Viktor changes we are able to start building Harbour, but it errors on hvm.c. The errors are quite "curious": c:\harb_svn\harbour\src\vm\hvm.c(453) : error C2485: '$I' : unrecognized extende d attribute c:\harb_svn\harbour\src\vm\hvm.c(455) : error C2485: '$I' : unrecognized extende d attribute c:\harb_svn\harbour\src\vm\hvm.c(455) : error C2485: '$I' : unrecognized extende d attribute c:\harb_svn\harbour\src\vm\hvm.c(455) : error C2485: '$I' : unrecognized extende d attribute c:\harb_svn\harbour\src\vm\hvm.c(463) : error C2485: '$I' : unrecognized extende d attribute c:\harb_svn\harbour\src\vm\hvm.c(465) : error C2485: '$I' : unrecognized extende d attribute c:\harb_svn\harbour\src\vm\hvm.c(466) : error C2485: '$I' : unrecognized extende d attribute c:\harb_svn\harbour\src\vm\hvm.c(483) : error C2485: '$I' : unrecognized extende d attribute ... and more like the above ... We have preprocessed hvm.c using cl.exe to see what code there is in those lines, and all of them use hb_stack_ptr, i.e.: if( ( ( ( void * ) ( hb_stack_ptr ) ) ) ) Searching on google for error C2485 meaning, we found this interesting comment: http://www.codeproject.com/Messages/2651400/Re-i-got-a-compiling-error-like-error-C2485-__rest.aspx "when i delete the line : #define restrict __restrict all is ok." so it seems as the error is caused by the compiler itself when declaring a define that uses the same defined keyword. Reviewing hbstack.h we have noticed that there is hb_stack_ptr and also _hb_stack_ptr_ We are doing tests trying to find the offending code that causes the C2485, though no luck yet. We comment it here just in case someone get interested about this :-) regards Antonio _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour