On Mon, 21 Dec 2009, Andi Jahja wrote: Hi,
> A non-compilation occurs on MSVC 6: > src\pp\pplib.c(76) : error C2375: 'hb_pp_ErrorMessage' : redefinition; > different linkage > src\pp\pplib.c(64) : see declaration of 'hb_pp_ErrorMessage' > src\pp\pplib.c(96) : error C2375: 'hb_pp_Disp' : redefinition; different > linkage > src\pp\pplib.c(67) : see declaration of 'hb_pp_Disp' > src\pp\pplib.c(104) : error C2375: 'hb_pp_CompilerSwitch' : redefinition; > different linkage > src\pp\pplib.c(68) : see declaration of 'hb_pp_CompilerSwitch' > src\pp\pplib.c(115) : error C2375: 'hb_pp_Destructor' : redefinition; > different linkage > src\pp\pplib.c(63) : see declaration of 'hb_pp_Destructor' It's MSVC 6 problem. In this context it uses declarations as separate definition from which function body does not inherit attributes. I'll try to pacify it. Please check. It's possible that you will find few other similar problems yet. If yes then probably we will have to introduce new macros because some other compilers may need such declaration. best regards, Przemek _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour