On Tue, 15 Dec 2009, [email protected] wrote:

hi

 > Revision: 13253

now something is broken again. i'm not sure what, as at one point i 
had a working harbour ("working" at this stage i define as "hbrun 
starts"), now for all of gcc/c, native/c, native/c++, when trying to 
run hbrun, i get:

Error BASE/1003  Variable does not exist: S_AINCDIR                             
                                               
Called from _APPMAIN(90)                           

(gcc/c++ doesn't at the moment build because of some unrelated 
platform-specific issue).

for all posterity i have the following changed wrt r13253 hbinit.h:

--- hbinit.h    (revision 13253)
+++ hbinit.h    (working copy)
@@ -112,7 +112,8 @@
    #define HB_CALL_ON_STARTUP_END( func ) \
       }
 
-#elif defined( HB_INITSEG_STARTUP )
+#elif ( defined( __USLC__ ) && !defined( __cplusplus ) ) || \
+      defined( HB_INITSEG_STARTUP )
 
    #define HB_INIT_SYMBOLS_BEGIN( func ) \
       static HB_SYMB symbols_table[] = {

hbtest, for example, runs fine, so this probably has nothing to do 
with this awesome work of yours in the startup area, but then i am at 
a loss what's gone booboo again.

-- 
[-]

mkdir /nonexistent
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to