>
> BTW you can force C++ like initialization by static variable assignment by:
>>   set HB_USER_CFLAGS=-DHB_STATIC_STARTUP
>> I left the massage about potential problems caused by pure C
>> initialization
>> also in C++ mode in hbinit.h code on:
>>       Sat 07 Maj 2005 02:46:38 CEST
>> so it's nearly 4 years but I do not know if 3-rd part developers ever
>> tried to update their code. Maybe it's time to fully disable this hack?
>> If 4 years is not enough then next 10 also won't help.
>
>
Tried with this:
---
set HB_COMPILER=msvc
set HB_USER_CFLAGS=-GL -DHB_STATIC_STARTUP
set HB_USER_LDFLAGS=/LTCG
set HB_USER_AFLAGS=/LTCG
call make_gnu.bat clean install > out.txt 2>&1
---
and got this:
../../pplib3.c(68) : error C2099: initializer is not a constant

What am I missing?

Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to