Vim 7 no longer compiles on OS X

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Vim 7 no longer compiles on OS X

Benjamin Esham
Hi all,

I recently updated to the latest SVN revision of Vim 7, and now it  
won't compile.  I'm using OS X 10.4.9 with Fink (although I am  
compiling Vim manually, without Fink involved).  The errors seem all  
to be in gui_mac.c; there are about two dozen errors, and maybe four  
dozen warnings.  The last version I had compiled was something around  
7.0.220 (see ftp://ftp.vim.org/pub/vim/patches/7.0/README), so I'm  
assuming that the problem lies in the patches for 7.0.232 and 233.  
Am I doing anything wrong, or are the patches just buggy?  Thanks for  
any help here.

I've attached the relevant parts of the gcc output below.

--
Benjamin D. Esham
[hidden email]  |  AIM: bdesham128  |  Jabber: same as e-mail
“...when two opposite points of view are expressed with equal
intensity, the truth does not necessarily lie exactly halfway
between them. It is possible for one side to be simply wrong.”
                                                — Richard Dawkins


gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MAC -fno-common -
fpascal-strings -Wall -Wno-unknown-pragmas -mdynamic-no-pic -pipe -I.  
-Iproto -DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/
FlatCarbon  -g -O         -o objects/gui_mac.o gui_mac.c
gui_mac.c:291: error: parse error before '<<' token
gui_mac.c:298: error: parse error before '==' token
gui_mac.c:304: error: parse error before '>>' token
gui_mac.c:325: error: parse error before 'if'
gui_mac.c:328: warning: type defaults to 'int' in declaration of 'len'
gui_mac.c:328: error: 'Cstring' undeclared here (not in a function)
gui_mac.c:328: error: initializer element is not constant
gui_mac.c:328: warning: data definition has no type or storage class
gui_mac.c:330: error: parse error before 'if'
gui_mac.c:333: warning: type defaults to 'int' in declaration of  
'PascalString'
gui_mac.c:333: warning: initialization makes integer from pointer  
without a cast
gui_mac.c:333: error: initializer element is not constant
gui_mac.c:333: warning: data definition has no type or storage class
gui_mac.c:334: error: parse error before 'if'
gui_mac.c:337: warning: type defaults to 'int' in declaration of  
'PascalString'
gui_mac.c:337: error: conflicting types for 'PascalString'
gui_mac.c:333: error: previous definition of 'PascalString' was here
gui_mac.c:337: error: invalid initializer
gui_mac.c:337: warning: data definition has no type or storage class
gui_mac.c:338: error: parse error before '}' token
gui_mac.c: In function 'GetFontPanelSelection':
gui_mac.c:1424: warning: 'FMGetFontFamilyName' is deprecated  
(declared at /System/Library/Frameworks/ApplicationServices.framework/
Frameworks/QD.framework/Headers/Fonts.h:755)
gui_mac.c:1427: warning: 'FMGetFontFromFontFamilyInstance' is  
deprecated (declared at /System/Library/Frameworks/
ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h:
875)
gui_mac.c: In function 'gui_mac_doInContentClick':
gui_mac.c:1673: warning: 'GlobalToLocal' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:3720)
gui_mac.c:1741: warning: 'SetRect' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2401)
gui_mac.c: In function 'gui_mac_doInDragClick':
gui_mac.c:1762: warning: 'GetRegionBounds' is deprecated (declared  
at /System/Library/Frameworks/ApplicationServices.framework/
Frameworks/QD.framework/Headers/Quickdraw.h:7119)
gui_mac.c: In function 'gui_mac_doInGrowClick':
gui_mac.c:1780: warning: 'GetRegionBounds' is deprecated (declared  
at /System/Library/Frameworks/ApplicationServices.framework/
Frameworks/QD.framework/Headers/Quickdraw.h:7119)
gui_mac.c: In function 'gui_mac_doUpdateEvent':
gui_mac.c:1862: warning: 'NewRgn' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2877)
gui_mac.c:1872: warning: 'GetPort' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:1862)
gui_mac.c:1893: warning: 'GetRegionBounds' is deprecated (declared  
at /System/Library/Frameworks/ApplicationServices.framework/
Frameworks/QD.framework/Headers/Quickdraw.h:7119)
gui_mac.c:1909: warning: 'SetRect' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2401)
gui_mac.c:1910: warning: 'EraseRect' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2565)
gui_mac.c:1914: warning: 'SetRect' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2401)
gui_mac.c:1915: warning: 'EraseRect' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2565)
gui_mac.c:1919: warning: 'SetRect' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2401)
gui_mac.c:1921: warning: 'EraseRect' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2565)
gui_mac.c:1925: warning: 'SetRect' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2401)
gui_mac.c:1927: warning: 'EraseRect' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2565)
gui_mac.c:1930: warning: 'DisposeRgn' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2997)
gui_mac.c:1937: warning: 'NewRgn' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2877)
gui_mac.c:1939: warning: 'GetClip' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2014)
gui_mac.c:1940: warning: 'ClipRect' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2029)
gui_mac.c:1942: warning: 'SetClip' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:1999)
gui_mac.c:1943: warning: 'DisposeRgn' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2997)
gui_mac.c:1947: warning: 'SetPort' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:1847)
gui_mac.c: In function 'gui_mac_unicode_key_event':
gui_mac.c:2106: warning: 'ObscureCursor' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2125)
gui_mac.c: In function 'gui_mac_doMouseMovedEvent':
gui_mac.c:2484: warning: 'GlobalToLocal' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:3720)
gui_mac.c:2495: warning: 'SetRect' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2401)
gui_mac.c: In function 'gui_mac_doMouseUpEvent':
gui_mac.c:2520: warning: 'GlobalToLocal' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:3720)
gui_mac.c: In function 'gui_mac_find_font':
gui_mac.c:2779: warning: 'FMGetFontFamilyInstanceFromFont' is  
deprecated (declared at /System/Library/Frameworks/
ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h:
890)
gui_mac.c:2805: warning: 'FMGetFontFamilyInstanceFromFont' is  
deprecated (declared at /System/Library/Frameworks/
ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h:
890)
gui_mac.c:2822: warning: 'FMGetFontFamilyName' is deprecated  
(declared at /System/Library/Frameworks/ApplicationServices.framework/
Frameworks/QD.framework/Headers/Fonts.h:755)
gui_mac.c:2824: warning: 'EqualString' is deprecated (declared at /
System/Library/Frameworks/CoreServices.framework/Frameworks/
CarbonCore.framework/Headers/StringCompare.h:553)
gui_mac.c: In function 'gui_mch_prepare':
gui_mac.c:2937: warning: 'HGetVol' is deprecated (declared at /System/
Library/Frameworks/CoreServices.framework/Frameworks/
CarbonCore.framework/Headers/Files.h:8079)
gui_mac.c:2939: warning: 'FSMakeFSSpec' is deprecated (declared at /
System/Library/Frameworks/CoreServices.framework/Frameworks/
CarbonCore.framework/Headers/Files.h:8967)
gui_mac.c: In function 'receiveHandler':
gui_mac.c:2991: warning: 'GlobalToLocal' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:3720)
gui_mac.c: In function 'gui_mch_init':
gui_mac.c:3053: warning: 'InitCursor' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2059)
gui_mac.c:3080: warning: 'SetRect' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2401)
gui_mac.c:3108: warning: 'NewRgn' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2877)
gui_mac.c:3212: warning: implicit declaration of function  
'initialise_tabline'
gui_mac.c: In function 'gui_mch_exit':
gui_mac.c:3272: warning: 'DisposeRgn' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2997)
gui_mac.c: In function 'gui_mch_set_shellsize':
gui_mac.c:3348: warning: 'SetPortBounds' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:6662)
gui_mac.c:3356: warning: 'SetPortBounds' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:6662)
gui_mac.c: In function 'gui_mch_get_screen_dimensions':
gui_mac.c:3373: warning: 'GetMainDevice' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:4873)
gui_mac.c: In function 'gui_mch_init_font':
gui_mac.c:3472: warning: 'GetFNum' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Fonts.h:277)
gui_mac.c:3477: warning: 'GetAppFont' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Fonts.h:498)
gui_mac.c:3520: warning: 'TextSize' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:420)
gui_mac.c:3521: warning: 'TextFont' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:384)
gui_mac.c:3523: warning: 'GetFontInfo' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:540)
gui_mac.c:3526: warning: 'CharWidth' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:486)
gui_mac.c:3531: warning: implicit declaration of function  
'gui_mac_set_font_attributes'
gui_mac.c: In function 'gui_mch_adjust_charheight':
gui_mac.c:3545: warning: 'GetFontInfo' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:540)
gui_mac.c: At top level:
gui_mac.c:3591: warning: conflicting types for  
'gui_mac_set_font_attributes'
gui_mac.c:3531: warning: previous implicit declaration of  
'gui_mac_set_font_attributes' was here
gui_mac.c: In function 'gui_mac_set_font_attributes':
gui_mac.c:3617: warning: 'FMGetFontFromFontFamilyInstance' is  
deprecated (declared at /System/Library/Frameworks/
ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h:
875)
gui_mac.c: In function 'gui_mch_set_font':
gui_mac.c:3689: warning: 'FMGetFontFromFontFamilyInstance' is  
deprecated (declared at /System/Library/Frameworks/
ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h:
875)
gui_mac.c:3695: warning: 'ATSUSetFontFallbacks' is deprecated  
(declared at /System/Library/Frameworks/ApplicationServices.framework/
Frameworks/QD.framework/Headers/ATSUnicodeObjects.h:2811)
gui_mac.c:3705: warning: 'TextSize' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:420)
gui_mac.c:3706: warning: 'TextFont' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:384)
gui_mac.c: In function 'gui_mch_get_color':
gui_mac.c:3829: warning: 'LMGetHiliteRGB' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:8552)
gui_mac.c: In function 'gui_mch_set_fg_color':
gui_mac.c:3900: warning: 'RGBForeColor' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:4520)
gui_mac.c: In function 'gui_mch_set_bg_color':
gui_mac.c:3915: warning: 'RGBBackColor' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:4535)
gui_mac.c: In function 'draw_undercurl':
gui_mac.c:3942: warning: 'RGBForeColor' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:4520)
gui_mac.c:3945: warning: 'MoveTo' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2279)
gui_mac.c:3950: warning: 'LineTo' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2316)
gui_mac.c: In function 'draw_string_QD':
gui_mac.c:4012: warning: 'EraseRect' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2565)
gui_mac.c:4024: warning: 'TextFace' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:396)
gui_mac.c:4027: warning: 'TextMode' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:408)
gui_mac.c:4029: warning: 'MoveTo' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2279)
gui_mac.c:4030: warning: 'DrawText' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:474)
gui_mac.c:4035: warning: 'TextMode' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:408)
gui_mac.c:4036: warning: 'TextFace' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:396)
gui_mac.c:4042: warning: 'TextMode' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:408)
gui_mac.c:4045: warning: 'MoveTo' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2279)
gui_mac.c:4046: warning: 'DrawText' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:474)
gui_mac.c:4050: warning: 'TextMode' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:408)
gui_mac.c:4051: warning: 'MoveTo' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2279)
gui_mac.c:4052: warning: 'DrawText' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:474)
gui_mac.c:4057: warning: 'MoveTo' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2279)
gui_mac.c:4058: warning: 'LineTo' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2316)
gui_mac.c: In function 'draw_string_ATSUI':
gui_mac.c:4116: warning: 'EraseRect' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2565)
gui_mac.c:4120: warning: 'TextMode' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:408)
gui_mac.c:4121: warning: 'TextFace' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:396)
gui_mac.c:4126: warning: 'TextMode' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:408)
gui_mac.c:4129: warning: 'MoveTo' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2279)
gui_mac.c: In function 'gui_mch_flash':
gui_mac.c:4296: warning: 'InvertRect' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2583)
gui_mac.c:4300: warning: 'InvertRect' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2583)
gui_mac.c: In function 'gui_mch_invert_rectangle':
gui_mac.c:4318: warning: 'InvertRect' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2583)
gui_mac.c: In function 'gui_mch_draw_hollow_cursor':
gui_mac.c:4366: warning: 'FrameRect' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2535)
gui_mac.c: In function 'gui_mch_draw_part_cursor':
gui_mac.c:4390: warning: 'FrameRect' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2535)
gui_mac.c: In function 'gui_mch_wait_for_chars':
gui_mac.c:4474: warning: 'RectRgn' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:3072)
gui_mac.c: In function 'gui_mch_clear_block':
gui_mac.c:4536: warning: 'EraseRect' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2565)
gui_mac.c: In function 'gui_mch_clear_all':
gui_mac.c:4553: warning: 'EraseRect' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2565)
gui_mac.c: In function 'gui_mch_delete_lines':
gui_mac.c:4575: warning: 'ScrollRect' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:3349)
gui_mac.c: In function 'gui_mch_insert_lines':
gui_mac.c:4598: warning: 'ScrollRect' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:3349)
gui_mac.c: In function 'clip_mch_request_selection':
gui_mac.c:4658: warning: 'ReserveMem' is deprecated (declared at /
System/Library/Frameworks/CoreServices.framework/Frameworks/
CarbonCore.framework/Headers/MacMemory.h:2166)
gui_mac.c: In function 'macMoveDialogItem':
gui_mac.c:5468: warning: 'OffsetRect' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2422)
gui_mac.c:5469: warning: 'OffsetRect' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2422)
gui_mac.c: In function 'gui_mch_dialog':
gui_mac.c:5602: warning: 'GetPort' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:1862)
gui_mac.c:5608: warning: 'GetFontInfo' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:540)
gui_mac.c:5643: warning: 'StringWidth' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:498)
gui_mac.c:5685: warning: 'StringWidth' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:498)
gui_mac.c:5699: warning: 'StringWidth' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/QuickdrawText.h:498)
gui_mac.c:5813: warning: 'SetPort' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:1847)
gui_mac.c: In function 'gui_mch_show_popupmenu':
gui_mac.c:5944: warning: 'GetPort' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:1862)
gui_mac.c:5947: warning: 'LocalToGlobal' is deprecated (declared at /
System/Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:3705)
gui_mac.c:5973: warning: 'SetPort' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:1847)
gui_mac.c: In function 'GetFSSpecFromPath':
gui_mac.c:6069: warning: 'PBGetCatInfoAsync' is deprecated (declared  
at /System/Library/Frameworks/CoreServices.framework/Frameworks/
CarbonCore.framework/Headers/Files.h:7610)
gui_mac.c:6069: warning: 'PBGetCatInfoSync' is deprecated (declared  
at /System/Library/Frameworks/CoreServices.framework/Frameworks/
CarbonCore.framework/Headers/Files.h:7595)
gui_mac.c:6072: warning: 'FSMakeFSSpec' is deprecated (declared at /
System/Library/Frameworks/CoreServices.framework/Frameworks/
CarbonCore.framework/Headers/Files.h:8967)
gui_mac.c: In function 'FullPathFromFSSpec_save':
gui_mac.c:6110: warning: 'HGetVol' is deprecated (declared at /System/
Library/Frameworks/CoreServices.framework/Frameworks/
CarbonCore.framework/Headers/Files.h:8079)
gui_mac.c:6128: warning: 'PBGetCatInfoAsync' is deprecated (declared  
at /System/Library/Frameworks/CoreServices.framework/Frameworks/
CarbonCore.framework/Headers/Files.h:7610)
gui_mac.c:6128: warning: 'PBGetCatInfoSync' is deprecated (declared  
at /System/Library/Frameworks/CoreServices.framework/Frameworks/
CarbonCore.framework/Headers/Files.h:7595)
gui_mac.c:6157: warning: 'FSMakeFSSpec' is deprecated (declared at /
System/Library/Frameworks/CoreServices.framework/Frameworks/
CarbonCore.framework/Headers/Files.h:8967)
gui_mac.c: In function 'drawerCallback':
gui_mac.c:6617: warning: 'SetRect' is deprecated (declared at /System/
Library/Frameworks/ApplicationServices.framework/Frameworks/
QD.framework/Headers/Quickdraw.h:2401)
gui_mac.c: In function 'myDataBrowserChangeAttributes':
gui_mac.c:6655: warning: 'NSIsSymbolNameDefined' is deprecated  
(declared at /usr/include/mach-o/dyld.h:150)
gui_mac.c:6656: warning: 'NSLookupAndBindSymbol' is deprecated  
(declared at /usr/include/mach-o/dyld.h:158)
gui_mac.c: At top level:
gui_mac.c:6668: warning: conflicting types for 'initialise_tabline'
gui_mac.c:6668: error: static declaration of 'initialise_tabline'  
follows non-static declaration
gui_mac.c:3212: error: previous implicit declaration of  
'initialise_tabline' was here
make[1]: *** [objects/gui_mac.o] Error 1
make: *** [first] Error 2

Reply | Threaded
Open this post in threaded view
|

Re: Vim 7 no longer compiles on OS X

Benjamin Esham
Benjamin Esham wrote:

> I recently updated to the latest SVN revision of Vim 7, and now it  
> won't compile.  I'm using OS X 10.4.9 with Fink (although I am  
> compiling Vim manually, without Fink involved).  The errors seem  
> all to be in gui_mac.c; there are about two dozen errors, and maybe  
> four dozen warnings.  The last version I had compiled was something  
> around 7.0.220 (see ftp://ftp.vim.org/pub/vim/patches/7.0/README),  
> so I'm assuming that the problem lies in the patches for 7.0.232  
> and 233.  Am I doing anything wrong, or are the patches just  
> buggy?  Thanks for any help here.

OK, I've resolved this problem.  I had the ATSUI patch (http://
wiki.macvim.org/wiki/VimPatches/ATSUI) applied, and I think that it  
somehow conflicted with patches 232 and 233.  If I get time, I'll see  
if applying the ATSUI patch now gives the same problems, but at least  
my installation works again.

--
Benjamin D. Esham
[hidden email]  |  AIM: bdesham128  |  Jabber: same as e-mail



Reply | Threaded
Open this post in threaded view
|

Re: Vim 7 no longer compiles on OS X

Jiang Jiang
Hi Benjamin,

2007/4/29, Benjamin Esham <[hidden email]>:
> OK, I've resolved this problem.  I had the ATSUI patch (http://
> wiki.macvim.org/wiki/VimPatches/ATSUI) applied, and I think that it
> somehow conflicted with patches 232 and 233.  If I get time, I'll see
> if applying the ATSUI patch now gives the same problems, but at least
> my installation works again.

I created a new patch against the latest SVN version (r252).Will you
please try:

http://wiki.macvim.org/wiki/VimPatches/ATSUI?action=AttachFile&do=get&target=atsui.patch

and see if it works for you?

Thanks.

- jjgod.
Reply | Threaded
Open this post in threaded view
|

Re: Vim 7 no longer compiles on OS X

Benjamin Esham
Jjgod Jiang wrote:

> Hi Benjamin,
>
> 2007/4/29, Benjamin Esham <[hidden email]>:
>> OK, I've resolved this problem.  I had the ATSUI patch (http://
>> wiki.macvim.org/wiki/VimPatches/ATSUI) applied, and I think that it
>> somehow conflicted with patches 232 and 233.  If I get time, I'll see
>> if applying the ATSUI patch now gives the same problems, but at least
>> my installation works again.
>
> I created a new patch against the latest SVN version (r252).Will you
> please try:
>
> http://wiki.macvim.org/wiki/VimPatches/ATSUI?
> action=AttachFile&do=get&target=atsui.patch
Hi Jjgod,

Patching against the latest Vim 7.1 SVN works fine for me (i.e. both  
antialiasing and multibyte text work).

Thanks a lot,
--
Benjamin D. Esham
[hidden email]  |  AIM: bdesham128  |  Jabber: same as e-mail
“It is the unknown we fear when we look upon death and darkness,
nothing more.”                         — Albus Dumbledore in HBP



PGP.sig (193 bytes) Download Attachment