Hello,
Please note again, that no such functionality in subject is present in SVN repository (default makefile). xHarbour never uses function other that those located in SOURCE folder. It's a problem with xBuilder makefile which includes deprecated function. Please consult your xBuilder team. Andi On Fri, 4 Nov 2011 15:07:38 +0200 Ella Stern <ella.st...@xharbour.com> wrote: > Hello, > > > I think I need to clarify the issue: the test code and bug report has been > sent by an xBuilder user. > I checked the test code by using the current xBuilder in this way: > > 1. Using default xBuilder options for building the test project - in this > case the test output is correct > 2. Adding LIBMISC.LIB from the xBuilder's LIB folder to the test project - > in this case the test output is erroneous > > I think that in case LIBMISC library is considered deprecated and conflicts > the core code, it's needed a solution to be excluded from the current > builds, and a "please avoid using..." note added on top of the source code. > > > Ella > > > > On Fri, Nov 4, 2011 at 2:13 PM, Andi Jahja <andi.ja...@yahoo.co.id> wrote: > > > Hi, > > > > Per SVN makefile, LIBMISC.LIB does not contain any utility relating to > > DATE matters; it only contains a single utility which is something like > > FT_F*() of Nanforum functions. > > > > I guessed you are making your own LIBMISC which includes source programs > > locate in tests/misc. FYI, functions in this folder are no longer used > > as xHarbour common libraries; that's the reason why they were moved to > > tests folder. The use thereof is discouraged. > > > > As per your report, the function in subject (ADDMONTH) is a core > > function (LIBCT.LIB). > > > > It is advisable that tests/misc programs are not used in any application. > > > > Andi > > > > > > On Fri, 4 Nov 2011 12:24:35 +0200 > > Ella Stern <ella.st...@xharbour.com> wrote: > > > > > Hello, > > > > > > Starting from a bugreport I confirm the following problem: when the > > LIBMISC > > > library is linked in, this code: > > > > > > >>>>>>>>>>>>>> > > > function main() > > > set date british > > > ? addmonth(ctod('01/01/12'),-2) > > > ? addmonth(ctod('01/01/12'),-12) > > > ? addmonth(ctod('01/01/12'),-13) > > > ? addmonth(ctod('01/01/12'),-1) > > > wait "end..." > > > return NIL > > > <<<<<<<<<<<<<< > > > > > > produces this output: > > > > > > >>>>>>>>>>>>>> > > > / / > > > 01/01/11 > > > 01/12/11 > > > 01/12/12 > > > end... > > > <<<<<<<<<<<<<< > > > When LIBMISC library is not linked in, the addmonth function works as > > > expected in the test code. > > > > > > > > > Ella > > ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers