Hi Przemek, On 2009 Dec 20, at 17:17, Przemysław Czerpak wrote:
> On Sat, 19 Dec 2009, Szak�ts Viktor wrote: > > Hi, > >> I made a test for mixing C++ and C code, and it worked without >> problem with current build. C INIT/EXIT was executed first. > > Thank you. > BTW can you also check if C and C++ modules use the same initialization > order? I.e. you have three files with INIT procedures (P1(), P2(), P3()) It stayed the same. C first, C++ second. > linked as: > f1.obj f2.obj f3.obj > When all are compiled in C or C++ mode then they should be executed > in the link order: P1, P2, P3. > Please check the order for f1.obj(c++) f2.obj(c) f3.obj(c++) and p2_init p1_init p3_init p2_exit p1_exit p3_exit > f1.obj(c) f2.obj(c++) f3.obj(c) p1_init p3_init p2_init p1_exit p3_exit p2_exit Brgds, Viktor _______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
