Patrick Texier wrote:
> Le Fri, 20 Jun 2008 11:37:51 +0200, Bram Moolenaar a écrit dans le > message <[EMAIL PROTECTED]> : > > > I have made a few more improvements: > > Thanks Bram. > > Using Borland C++ 5.5 (HUGE with FLOAT), I had the following warnings : > > .\eval.c: > Warning W8065 .\eval.c 14642: Call to function 'round' with no prototype > in function f_round > Warning W8065 .\eval.c 17027: Call to function 'trunc' with no prototype > in function f_trunc > > And a linker error : > > Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland > Error: Unresolved external '_round' referenced from > C:\SRC\VIM71\SRC\WIN32\OLEOB > J\EVAL.OBJ > Error: Unresolved external '_trunc' referenced from > C:\SRC\VIM71\SRC\WIN32\OLEOB > J\EVAL.OBJ OK, so Borland doesn't have round() and trunc(). I rather not have a Vim version with only part of the floating point support. The easy solution is to disable it for Borland in src/feature.h: #ifdef FEAT_NORMAL # define FEAT_EVAL # if defined(HAVE_FLOAT_FUNCS) \ || (defined(WIN3264) && !defined(__BORLANDC__) \ || defined(MACOS) # define FEAT_FLOAT # endif #endif -- hundred-and-one symptoms of being an internet addict: 51. You put a pillow case over your laptop so your lover doesn't see it while you are pretending to catch your breath. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---