Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 216 by goo...@netphile.de: Syntax error in src/ops.c after 7.4.242?
http://code.google.com/p/vim/issues/detail?id=216

Cloning the current Vim repository using:

hg -v clone https://vim.googlecode.com/hg/ vim
hg -v update default

./configure --prefix=${DMG_SANDBOX} --with-compiledby="s...@users.sourceforge.net" --enable-gui=carbon --enable-multibyte

make -j 2

The error is:


/Developer-old/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MAC -fno-common -fpascal-strings -Wall -Wno-unknown-pragmas -mdynamic-no-pic -pipe -I. -Iproto -I/Developer-old/Headers/FlatCarbon -DMACOS_X_UNIX -I/Developer/Headers/FlatCarbon -isysroot /Developer-old/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -mmacosx-version-min=10.4 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ops.o ops.c /Developer-old/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MAC -fno-common -fpascal-strings -Wall -Wno-unknown-pragmas -mdynamic-no-pic -pipe -I. -Iproto -I/Developer-old/Headers/FlatCarbon -DMACOS_X_UNIX -I/Developer/Headers/FlatCarbon -isysroot /Developer-old/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -mmacosx-version-min=10.4 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/option.o option.c
ops.c:6478: error: syntax error before 'str_list'
ops.c: In function 'str_to_reg':
ops.c:6484: error: declaration for parameter 'str_list' but no such parameter ops.c:6483: error: declaration for parameter 'blocklen' but no such parameter
ops.c:6482: error: declaration for parameter 'len' but no such parameter
ops.c:6481: error: declaration for parameter 'str' but no such parameter
ops.c:6480: error: declaration for parameter 'yank_type' but no such parameter
ops.c:6479: error: declaration for parameter 'y_ptr' but no such parameter
ops.c:6485: error: argument 'str_list' doesn't match prototype
ops.c:116: error: prototype declaration
ops.c:6485: error: argument 'blocklen' doesn't match prototype
ops.c:116: error: prototype declaration
ops.c:6485: error: argument 'len' doesn't match prototype
ops.c:116: error: prototype declaration
ops.c:6485: error: argument 'str' doesn't match prototype
ops.c:116: error: prototype declaration
ops.c:6485: error: argument 'yank_type' doesn't match prototype
ops.c:116: error: prototype declaration
ops.c:6485: error: argument 'y_ptr' doesn't match prototype
ops.c:116: error: prototype declaration
ops.c:6478: error: syntax error before 'str_list'
ops.c: In function 'str_to_reg':
ops.c:6484: error: declaration for parameter 'str_list' but no such parameter ops.c:6483: error: declaration for parameter 'blocklen' but no such parameter
ops.c:6482: error: declaration for parameter 'len' but no such parameter
ops.c:6481: error: declaration for parameter 'str' but no such parameter
ops.c:6480: error: declaration for parameter 'yank_type' but no such parameter
ops.c:6479: error: declaration for parameter 'y_ptr' but no such parameter
ops.c:6485: error: argument 'str_list' doesn't match prototype
ops.c:116: error: prototype declaration
ops.c:6485: error: argument 'blocklen' doesn't match prototype
ops.c:116: error: prototype declaration
ops.c:6485: error: argument 'len' doesn't match prototype
ops.c:116: error: prototype declaration
ops.c:6485: error: argument 'str' doesn't match prototype
ops.c:116: error: prototype declaration
ops.c:6485: error: argument 'yank_type' doesn't match prototype
ops.c:116: error: prototype declaration
ops.c:6485: error: argument 'y_ptr' doesn't match prototype
ops.c:116: error: prototype declaration
lipo: can't open input file: /var/folders/1y/k5d3373n09l40vl23r7v7kjm0000gn/T//ccv96FUs.out (No such file or directory)
make: *** [objects/ops.o] Error 1
make: *** Waiting for unfinished jobs....



The build system is:

osxdevbox:buildvim snowy$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.7.5
BuildVersion:   11G63b

osxdevbox:buildvim snowy$ /Developer-old/usr/bin/gcc-4.0  --version
i686-apple-darwin10-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5494)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

osxdevbox:buildvim snowy$


The last successful build of Vim was this one:

snowy@snowcrash(~) $ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr  2 2014 20:02:41)
MacOS X (unix) version
Included patches: 1-242
Compiled by s...@users.sourceforge.net
Normal version with Carbon GUI.  Features included (+) or not (-):
+acl             -farsi           -mouse_netterm   +syntax
-arabic          +file_in_path    -mouse_sgr       +tag_binary
+autocmd         +find_in_path    -mouse_sysmouse  +tag_old_static
-balloon_eval    +float           -mouse_urxvt     -tag_any_white
+browse          +folding         +mouse_xterm     -tcl
+builtin_terms   -footer          +multi_byte      +terminfo
+byte_offset     +fork()          +multi_lang      +termresponse
+cindent         -gettext         -mzscheme        +textobjects
-clientserver    -hangul_input    +netbeans_intg   +title
+clipboard       +iconv           +path_extra      -toolbar
+cmdline_compl   +insert_expand   -perl            +user_commands
+cmdline_hist    +jumplist        +persistent_undo +vertsplit
+cmdline_info    -keymap          +postscript      +virtualedit
+comments        -langmap         +printer         +visual
-conceal         +libcall         -profile         +visualextra
+cryptv          +linebreak       -python          +viminfo
-cscope          +lispindent      -python3         +vreplace
+cursorbind      +listcmds        +quickfix        +wildignore
+cursorshape     +localmap        +reltime         +wildmenu
+dialog_con_gui  -lua             -rightleft       +windows
+diff            +menu            -ruby            +writebackup
+digraphs        +mksession       +scrollbind      -X11
-dnd             +modify_fname    +signs           -xfontset
-ebcdic          +mouse           +smartindent     -xim
-emacs_tags      -mouseshape      -sniff           -xsmp
+eval            -mouse_dec       +startuptime     -xterm_clipboard
+ex_extra        -mouse_gpm       +statusline      -xterm_save
+extra_search    -mouse_jsbterm   -sun_workshop    -xpm
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
    system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/Volumes/Ramdisk/release/Vim.app/Contents/Resources/vim
"
Compilation: /Developer-old/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MAC -fno-common -fpascal-strings -Wall -Wno-unknown-pragmas -mdynamic-no-pic -pipe -I. -Iproto -I/Developer-old/Headers/FlatCarbon -DMACOS_X_UNIX -I/Developer/Headers/FlatCarbon -isysroot /Developer-old/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -mmacosx-version-min=10.4 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 Linking: /Developer-old/usr/bin/gcc-4.0 -Wl,-syslibroot,/Developer-old/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -mmacosx-version-min=10.4 -o Vim -framework Carbon -lm -lncurses -liconv -framework Cocoa
snowy@snowcrash(~) $








--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui