Christian Brabandt wrote: > Hi, > I see the following warning on Windows: > i cl -c /W3 /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32 -DFEAT_CSCOPE > -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL -DFEAT_XPM_W32 -DWINVER=0x0501 > -D_WIN32_WINNT=0x0501 /Fo.\ObjGOi386/ /Ox /GL -DNDEBUG /Zl /MT -DFEAT_OLE > -DFEAT_GUI_W32 -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_huge /Fd.\ObjGOi386/ > /Zi version.c > version.c > link /RELEASE /nologo /subsystem:windows /LTCG:STATUS -out:gvim.exe > .\ObjGOi386\blowfish.obj .\ObjGOi386\buffer.obj .\ObjGOi386\charset.obj > .\ObjGOi386\crypt.obj .\ObjGOi386\crypt_zip.obj .\ObjGOi386\diff.obj > .\ObjGOi386\digraph.obj .\ObjGOi386\edit.obj .\ObjGOi386\eval.obj > .\ObjGOi386\ex_cmds.obj .\ObjGOi386\ex_cmds2.obj .\ObjGOi386\ex_docmd.obj > .\ObjGOi386\ex_eval.obj .\ObjGOi386\ex_getln.obj .\ObjGOi386\fileio.obj > .\ObjGOi386\fold.obj .\ObjGOi386\getchar.obj .\ObjGOi386\hardcopy.obj > .\ObjGOi386\hashtab.obj .\ObjGOi386\json.obj .\ObjGOi386\main.obj > .\ObjGOi386\mark.obj .\ObjGOi386\mbyte.obj .\ObjGOi386\memfile.obj > .\ObjGOi386\memline.obj .\ObjGOi386\menu.obj .\ObjGOi386\message.obj > .\ObjGOi386\misc1.obj .\ObjGOi386\misc2.obj .\ObjGOi386\move.obj > .\ObjGOi386\normal.obj .\ObjGOi386\ops.obj .\ObjGOi386\option.obj > .\ObjGOi386\os_mswin.obj .\ObjGOi386\winclip.obj .\ObjGOi386\os_win32.obj > .\ObjGOi386\pathdef.obj .\ObjGOi386\popupmnu.obj .\ObjGOi386\quickfix.obj > .\ObjGOi386\regexp.obj .\ObjGOi386\screen.obj .\ObjGOi386\search.obj > .\ObjGOi386\sha256.obj .\ObjGOi386\spell.obj .\ObjGOi386\syntax.obj > .\ObjGOi386\tag.obj .\ObjGOi386\term.obj .\ObjGOi386\ui.obj > .\ObjGOi386\undo.obj .\ObjGOi386\window.obj .\ObjGOi386\vim.res > .\ObjGOi386\gui.obj .\ObjGOi386\gui_beval.obj .\ObjGOi386\gui_w32.obj > .\ObjGOi386\os_w32exe.obj .\ObjGOi386\if_ole.obj > .\ObjGOi386/if_cscope.obj .\ObjGOi386/netbeans.obj .\ObjGOi386/channel.obj > .\ObjGOi386/xpm_w32.obj .\ObjGOi386\version.obj oldnames.lib kernel32.lib > advapi32.lib shell32.lib gdi32.lib comdlg32.lib ole32.lib uuid.lib > /machine:i386 gdi32.lib version.lib winspool.lib comctl32.lib advapi32.lib > shell32.lib /machine:i386 /nodefaultlib libcmt.lib oleaut32.lib user32.lib > WSock32.lib xpm\x86\lib\libXpm.lib /PDB:gvim.pdb -debug > Generating code > c:\users\cbrabandt\documents\visual studio 2013\projects\vim\src\json.c(830) > : warning C4756: overflow in constant arithmetic
Well, it's computing infinity, so overflow is a bit of an understatement. Perhaps the #ifdef can be adjusted for this compiler and context? -- >From "know your smileys": :-E Has major dental problems /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
