On Tue, 22 Dec 2009, Szak�ts Viktor wrote: Hi,
> I've filed this as: > http://bugs.exim.org/show_bug.cgi?id=939 > How about simply forcing C mode for this library in Harbour? > We're again in a situation where we deviate from standard > build procedure which just causes us problems, so it seems > more convenient to do this instead of maintaining local patches. > What do you think? As you wish though PCRE and ZLIB are a little bit specific. Unlike other external libraries they are referenced from core code so I would like to keep them working in both C and C++ mode. Sooner or later we will work on UNICODE support in HVM and it will be necessary to dig into PCRE much deeper so it's highly possible that at least for some time we will have to use our own strongly modified PCRE code which should work in C and C++ mode. Forcing C mode may strongly reduce the code quality because C compilers are not such restrictive as C++ ones. One of the most value able part of Harbour is portability. It can be easy ported to many different platforms and C/C++ compilers and I would like to keep it for core code. best regards, Przemek _______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
