Opened 15 years ago

Closed 14 years ago

#20947 closed defect (wontfix)

unable to compile vim-app, problems in gui_mac.c

Reported by: phil@… Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: snowleopard Cc: mikelikespie@…, lhunath@…, andree.jacobson@…, truemped@…, keith@…, c9s (Yo-An Lin), reutter@…, anishmuttreja@…, andreas.wilm@…, nerdling (Jeremy Lavergne), rich@…, arturoc@…, ldeck
Port: vim-app

Description

Problems in gui_mac.c -- something to do with typeFSS and FSSpec?

--->  Building vim-app
Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && /usr/bin/make all
mkdir objects
CC="/usr/bin/gcc-4.2 -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MAC -fno-common -fpascal-strings -Wall -Wno-unknown-pragmas -mdynamic-no-pic -pipe -I. -Iproto -I/opt/local/include -DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon        " srcdir=. sh ./osdef.sh
creating auto/pathdef.c
/usr/bin/gcc-4.2 -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MAC -fno-common -fpascal-strings -Wall -Wno-unknown-pragmas -mdynamic-no-pic -pipe -I. -Iproto -I/opt/local/include -DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon  -O2 -arch x86_64 -D_FORTIFY_SOURCE=1         -o objects/gui_mac.o gui_mac.c
/usr/bin/gcc-4.2 -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MAC -fno-common -fpascal-strings -Wall -Wno-unknown-pragmas -mdynamic-no-pic -pipe -I. -Iproto -I/opt/local/include -DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon  -O2 -arch x86_64 -D_FORTIFY_SOURCE=1         -o objects/os_macosx.o os_macosx.c
/usr/bin/gcc-4.2 -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MAC -fno-common -fpascal-strings -Wall -Wno-unknown-pragmas -mdynamic-no-pic -pipe -I. -Iproto -I/opt/local/include -DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon  -O2 -arch x86_64 -D_FORTIFY_SOURCE=1         -o objects/os_mac_conv.o os_mac_conv.c
gui_mac.c: In function 'new_fnames_from_AEDesc':
gui_mac.c:559: error: 'typeFSS' undeclared (first use in this function)
gui_mac.c:559: error: (Each undeclared identifier is reported only once
gui_mac.c:559: error: for each function it appears in.)
gui_mac.c: In function 'Handle_KAHL_SRCH_AE':
gui_mac.c:637: error: 'FSSpec' has no member named 'parID'
gui_mac.c:637: error: 'FSSpec' has no member named 'parID'
gui_mac.c:638: error: 'FSSpec' has no member named 'name'
gui_mac.c:638: error: 'FSSpec' has no member named 'name'
gui_mac.c:639: error: 'FSSpec' has no member named 'name'
gui_mac.c:639: error: 'FSSpec' has no member named 'name'
gui_mac.c:639: error: 'FSSpec' has no member named 'name'
gui_mac.c: In function 'Handle_KAHL_GTTX_AE':
gui_mac.c:811: error: 'FSSpec' has no member named 'parID'
gui_mac.c:811: error: 'FSSpec' has no member named 'parID'
gui_mac.c: In function 'FindProcessBySignature':
gui_mac.c:878: error: 'ProcessInfoRec' has no member named 'processAppSpec'
gui_mac.c: In function 'HandleODocAE':
gui_mac.c:1167: warning: implicit declaration of function 'PostEvent'
gui_mac.c: In function 'GetFontPanelSelection':
gui_mac.c:1439: warning: implicit declaration of function 'FMGetFontFamilyName'
gui_mac.c:1442: warning: implicit declaration of function 'FMGetFontFromFontFamilyInstance'
gui_mac.c:1448: warning: implicit declaration of function 'ATSUFindFontName'
gui_mac.c: In function 'gui_mac_drag_thumb':
gui_mac.c:1568: warning: implicit declaration of function 'GetControlReference'
gui_mac.c:1574: warning: implicit declaration of function 'GetControl32BitValue'
gui_mac.c: In function 'gui_mac_doInContentClick':
gui_mac.c:1688: warning: implicit declaration of function 'GlobalToLocal'
gui_mac.c:1689: warning: implicit declaration of function 'SelectWindow'
gui_mac.c:1691: warning: implicit declaration of function 'FindControl'
gui_mac.c:1700: warning: implicit declaration of function 'TrackControl'
gui_mac.c:1731: warning: implicit declaration of function 'IsShowContextualMenuClick'
gui_mac.c:1739: warning: implicit declaration of function 'GetDblTime'
gui_mac.c: In function 'gui_mac_doInDragClick':
gui_mac.c:1776: warning: implicit declaration of function 'GetRegionBounds'
gui_mac.c:1776: warning: implicit declaration of function 'GetGrayRgn'
gui_mac.c:1776: warning: assignment makes pointer from integer without a cast
gui_mac.c:1777: warning: implicit declaration of function 'DragWindow'
gui_mac.c: In function 'gui_mac_doInGrowClick':
gui_mac.c:1794: warning: assignment makes pointer from integer without a cast
gui_mac.c:1801: warning: implicit declaration of function 'ResizeWindow'
gui_mac.c: In function 'gui_mac_doInZoomClick':
gui_mac.c:1828: warning: implicit declaration of function 'IsWindowInStandardState'
gui_mac.c:1831: warning: implicit declaration of function 'TrackBox'
gui_mac.c:1845: warning: implicit declaration of function 'ZoomWindowIdeal'
gui_mac.c:1847: warning: implicit declaration of function 'GetWindowBounds'
gui_mac.c: In function 'gui_mac_doUpdateEvent':
gui_mac.c:1876: warning: implicit declaration of function 'NewRgn'
gui_mac.c:1876: warning: assignment makes pointer from integer without a cast
gui_mac.c:1886: warning: implicit declaration of function 'GetPort'
gui_mac.c:1889: warning: implicit declaration of function 'SetPortWindowPort'
gui_mac.c:1892: warning: implicit declaration of function 'BeginUpdate'
gui_mac.c:1896: warning: implicit declaration of function 'GetPortVisibleRegion'
gui_mac.c:1896: warning: implicit declaration of function 'GetWindowPort'
gui_mac.c:1907: warning: assignment makes pointer from integer without a cast
gui_mac.c:1924: warning: implicit declaration of function 'EraseRect'
gui_mac.c:1944: warning: implicit declaration of function 'DisposeRgn'
gui_mac.c:1947: warning: implicit declaration of function 'DrawControls'
gui_mac.c:1951: warning: assignment makes pointer from integer without a cast
gui_mac.c:1953: warning: implicit declaration of function 'GetClip'
gui_mac.c:1954: warning: implicit declaration of function 'ClipRect'
gui_mac.c:1955: warning: implicit declaration of function 'DrawGrowIcon'
gui_mac.c:1956: warning: implicit declaration of function 'SetClip'
gui_mac.c:1958: warning: implicit declaration of function 'EndUpdate'
gui_mac.c:1961: warning: implicit declaration of function 'SetPort'
gui_mac.c: In function 'gui_mac_doActivateEvent':
gui_mac.c:1978: warning: implicit declaration of function 'GetRootControl'
gui_mac.c:1980: warning: implicit declaration of function 'ActivateControl'
gui_mac.c:1982: warning: implicit declaration of function 'DeactivateControl'
gui_mac.c: In function 'gui_mac_unicode_key_event':
gui_mac.c:2118: warning: implicit declaration of function 'ObscureCursor'
gui_mac.c:2125: warning: passing argument 6 of 'GetEventParameter' from incompatible pointer type
gui_mac.c: In function 'gui_mac_doMouseDownEvent':
gui_mac.c:2442: warning: implicit declaration of function 'FindWindow'
gui_mac.c:2458: warning: implicit declaration of function 'MenuSelect'
gui_mac.c:2474: warning: implicit declaration of function 'TrackGoAway'
gui_mac.c: In function 'gui_mac_doMouseMovedEvent':
gui_mac.c:2499: warning: 'Button' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h:404)
gui_mac.c: In function 'gui_mac_handle_menu':
gui_mac.c:2659: warning: implicit declaration of function 'HiliteMenu'
gui_mac.c: In function 'gui_mac_find_font':
gui_mac.c:2778: warning: implicit declaration of function 'ATSUFindFontFromName'
gui_mac.c:2782: warning: implicit declaration of function 'FMGetFontFamilyInstanceFromFont'
gui_mac.c:2827: warning: implicit declaration of function 'EqualString'
gui_mac.c: In function 'gui_mch_prepare':
gui_mac.c:2932: warning: implicit declaration of function 'HGetVol'
gui_mac.c:2934: warning: implicit declaration of function 'FSMakeFSSpec'
gui_mac.c: In function 'receiveHandler':
gui_mac.c:2985: warning: implicit declaration of function 'GetDragMouse'
gui_mac.c:2989: warning: implicit declaration of function 'GetDragModifiers'
gui_mac.c:2991: warning: implicit declaration of function 'CountDragItems'
gui_mac.c:3009: warning: implicit declaration of function 'GetDragItemReferenceNumber'
gui_mac.c:3010: warning: implicit declaration of function 'GetFlavorDataSize'
gui_mac.c:3013: warning: implicit declaration of function 'GetFlavorData'
gui_mac.c: In function 'gui_mch_init':
gui_mac.c:3046: warning: implicit declaration of function 'InitCursor'
gui_mac.c:3048: warning: implicit declaration of function 'RegisterAppearanceClient'
gui_mac.c:3054: warning: implicit declaration of function 'NewMenu'
gui_mac.c:3054: warning: assignment makes pointer from integer without a cast
gui_mac.c:3056: warning: implicit declaration of function 'AppendMenu'
gui_mac.c:3058: warning: implicit declaration of function 'InsertMenu'
gui_mac.c:3060: warning: implicit declaration of function 'DrawMenuBar'
gui_mac.c:3069: warning: implicit declaration of function 'NewCWindow'
gui_mac.c:3071: warning: assignment makes pointer from integer without a cast
gui_mac.c:3072: warning: implicit declaration of function 'CreateRootControl'
gui_mac.c:3073: warning: implicit declaration of function 'InstallReceiveHandler'
gui_mac.c:3093: warning: assignment makes pointer from integer without a cast
gui_mac.c:3145: warning: implicit declaration of function 'NewTSMDocument'
gui_mac.c:3148: warning: implicit declaration of function 'UseInputWindow'
gui_mac.c:3177: warning: implicit declaration of function 'GetWindowEventTarget'
gui_mac.c:3177: warning: passing argument 1 of 'InstallEventHandler' makes pointer from integer without a cast
gui_mac.c: In function 'gui_mch_open':
gui_mac.c:3222: warning: implicit declaration of function 'ShowWindow'
gui_mac.c: In function 'gui_mac_dispose_atsui_style':
gui_mac.c:3245: warning: 'ATSUDisposeStyle' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h:173)
gui_mac.c:3248: warning: 'ATSUDisposeStyle' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h:173)
gui_mac.c: In function 'gui_mch_exit':
gui_mac.c:3272: warning: implicit declaration of function 'FixTSMDocument'
gui_mac.c:3273: warning: implicit declaration of function 'DeactivateTSMDocument'
gui_mac.c:3274: warning: implicit declaration of function 'DeleteTSMDocument'
gui_mac.c: In function 'gui_mch_set_winpos':
gui_mac.c:3312: warning: implicit declaration of function 'MoveWindowStructure'
gui_mac.c: In function 'gui_mch_set_shellsize':
gui_mac.c:3330: warning: assignment makes pointer from integer without a cast
gui_mac.c:3331: warning: implicit declaration of function 'GetPortBounds'
gui_mac.c:3333: warning: implicit declaration of function 'SetPortBounds'
gui_mac.c:3338: warning: assignment makes pointer from integer without a cast
gui_mac.c:3344: warning: implicit declaration of function 'SizeWindow'
gui_mac.c: In function 'gui_mch_get_screen_dimensions':
gui_mac.c:3358: warning: implicit declaration of function 'GetMainDevice'
gui_mac.c:3358: warning: initialization makes pointer from integer without a cast
gui_mac.c: In function 'gui_mac_select_font':
gui_mac.c:3405: warning: implicit declaration of function 'WaitNextEvent'
gui_mac.c: In function 'gui_mac_create_atsui_style':
gui_mac.c:3420: warning: 'ATSUCreateStyle' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h:83)
gui_mac.c:3426: warning: 'ATSUCreateStyle' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h:83)
gui_mac.c: In function 'gui_mch_init_font':
gui_mac.c:3457: warning: implicit declaration of function 'GetFNum'
gui_mac.c:3462: warning: implicit declaration of function 'GetAppFont'
gui_mac.c:3505: warning: implicit declaration of function 'TextSize'
gui_mac.c:3506: warning: implicit declaration of function 'TextFont'
gui_mac.c:3508: warning: implicit declaration of function 'GetFontInfo'
gui_mac.c:3511: warning: implicit declaration of function 'CharWidth'
gui_mac.c: In function 'gui_mac_set_font_attributes':
gui_mac.c:3604: warning: 'ATSUSetAttributes' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h:687)
gui_mac.c:3611: warning: 'ATSUDisposeStyle' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h:173)
gui_mac.c:3622: warning: 'ATSUSetAttributes' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h:687)
gui_mac.c:3626: warning: 'ATSUDisposeStyle' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h:173)
gui_mac.c: In function 'gui_mch_set_font':
gui_mac.c:3648: warning: implicit declaration of function 'ATSUGetAttribute'
gui_mac.c:3680: warning: implicit declaration of function 'ATSUSetFontFallbacks'
gui_mac.c: In function 'gui_mch_get_color':
gui_mac.c:3814: warning: implicit declaration of function 'LMGetHiliteRGB'
gui_mac.c: In function 'gui_mch_set_fg_color':
gui_mac.c:3885: warning: implicit declaration of function 'RGBForeColor'
gui_mac.c: In function 'gui_mch_set_bg_color':
gui_mac.c:3900: warning: implicit declaration of function 'RGBBackColor'
gui_mac.c: In function 'draw_undercurl':
gui_mac.c:3930: warning: implicit declaration of function 'MoveTo'
gui_mac.c:3935: warning: implicit declaration of function 'LineTo'
gui_mac.c: In function 'draw_string_QD':
gui_mac.c:3962: warning: implicit declaration of function 'QDSwapTextFlags'
gui_mac.c:4009: warning: implicit declaration of function 'TextFace'
gui_mac.c:4012: warning: implicit declaration of function 'TextMode'
gui_mac.c:4015: warning: implicit declaration of function 'DrawText'
gui_mac.c: In function 'draw_string_ATSUI':
gui_mac.c:4123: warning: 'ATSUSetAttributes' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h:687)
gui_mac.c:4136: warning: implicit declaration of function 'ATSUCreateTextLayout'
gui_mac.c:4137: warning: implicit declaration of function 'ATSUSetTextPointerLocation'
gui_mac.c:4161: warning: 'ATSUSetRunStyle' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h:2347)
gui_mac.c:4178: warning: 'ATSUSetRunStyle' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h:2347)
gui_mac.c:4181: warning: 'ATSUSetTransientFontMatching' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h:2922)
gui_mac.c:4182: warning: 'ATSUDrawText' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h:130)
gui_mac.c:4185: warning: 'ATSUDisposeTextLayout' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h:1192)
gui_mac.c:4192: warning: 'ATSUCreateTextLayoutWithTextPtr' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h:1087)
gui_mac.c:4199: warning: 'ATSUSetTransientFontMatching' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h:2922)
gui_mac.c:4201: warning: 'ATSUDrawText' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h:130)
gui_mac.c:4205: warning: 'ATSUDisposeTextLayout' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h:1192)
gui_mac.c:4218: warning: 'ATSUSetAttributes' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h:687)
gui_mac.c: In function 'gui_mch_beep':
gui_mac.c:4266: warning: implicit declaration of function 'SysBeep'
gui_mac.c: In function 'gui_mch_flash':
gui_mac.c:4282: warning: implicit declaration of function 'InvertRect'
gui_mac.c: In function 'gui_mch_draw_hollow_cursor':
gui_mac.c:4352: warning: implicit declaration of function 'FrameRect'
gui_mac.c: In function 'gui_mch_update':
gui_mac.c:4401: warning: implicit declaration of function 'EventAvail'
gui_mac.c: In function 'WaitNextEventWrp':
gui_mac.c:4415: warning: comparison is always false due to limited range of data type
gui_mac.c: In function 'gui_mch_wait_for_chars':
gui_mac.c:4460: warning: implicit declaration of function 'RectRgn'
gui_mac.c: In function 'gui_mch_delete_lines':
gui_mac.c:4561: warning: implicit declaration of function 'ScrollRect'
gui_mac.c: In function 'clip_mch_request_selection':
gui_mac.c:4621: warning: implicit declaration of function 'GetCurrentScrap'
gui_mac.c:4625: warning: implicit declaration of function 'GetScrapFlavorFlags'
gui_mac.c:4628: warning: implicit declaration of function 'GetScrapFlavorSize'
gui_mac.c:4644: warning: implicit declaration of function 'ReserveMem'
gui_mac.c:4651: warning: implicit declaration of function 'GetScrapFlavorData'
gui_mac.c: In function 'clip_mch_set_selection':
gui_mac.c:4749: warning: implicit declaration of function 'ClearCurrentScrap'
gui_mac.c:4757: warning: implicit declaration of function 'PutScrapFlavor'
gui_mac.c: In function 'gui_mch_set_text_area_pos':
gui_mac.c:4785: warning: implicit declaration of function 'SetWindowBounds'
gui_mac.c: In function 'gui_mch_add_menu':
gui_mac.c:4870: warning: implicit declaration of function 'CreateNewMenu'
gui_mac.c:4871: warning: implicit declaration of function 'SetMenuTitleWithCFString'
gui_mac.c:4902: warning: implicit declaration of function 'InsertMenuItem'
gui_mac.c:4904: warning: implicit declaration of function 'SetMenuItemTextWithCFString'
gui_mac.c:4908: warning: implicit declaration of function 'SetItemCmd'
gui_mac.c:4909: warning: implicit declaration of function 'SetItemMark'
gui_mac.c: In function 'gui_mch_add_menu_item':
gui_mac.c:5020: warning: implicit declaration of function 'SetMenuItemModifiers'
gui_mac.c: In function 'gui_mch_destroy_menu':
gui_mac.c:5070: warning: implicit declaration of function 'DeleteMenuItem'
gui_mac.c:5075: warning: implicit declaration of function 'DeleteMenu'
gui_mac.c:5076: warning: implicit declaration of function 'DisposeMenu'
gui_mac.c: In function 'gui_mch_menu_grey':
gui_mac.c:5112: warning: implicit declaration of function 'DisableMenuItem'
gui_mac.c:5120: warning: implicit declaration of function 'EnableMenuItem'
gui_mac.c: In function 'gui_mch_enable_scrollbar':
gui_mac.c:5158: warning: implicit declaration of function 'ShowControl'
gui_mac.c:5160: warning: implicit declaration of function 'HideControl'
gui_mac.c: In function 'gui_mch_set_scrollbar_thumb':
gui_mac.c:5174: warning: implicit declaration of function 'SetControl32BitMaximum'
gui_mac.c:5175: warning: implicit declaration of function 'SetControl32BitMinimum'
gui_mac.c:5176: warning: implicit declaration of function 'SetControl32BitValue'
gui_mac.c:5177: warning: implicit declaration of function 'SetControlViewSize'
gui_mac.c: In function 'gui_mch_set_scrollbar_pos':
gui_mac.c:5210: warning: implicit declaration of function 'MoveControl'
gui_mac.c:5211: warning: implicit declaration of function 'SizeControl'
gui_mac.c: In function 'gui_mch_create_scrollbar':
gui_mac.c:5229: warning: implicit declaration of function 'NewControl'
gui_mac.c:5237: warning: assignment makes pointer from integer without a cast
gui_mac.c: In function 'gui_mch_destroy_scrollbar':
gui_mac.c:5247: warning: implicit declaration of function 'DisposeControl'
gui_mac.c: In function 'gui_mch_browse':
gui_mac.c:5346: error: 'NavReplyRecord' undeclared (first use in this function)
gui_mac.c:5346: error: expected ';' before 'reply'
gui_mac.c:5350: error: 'NavDialogOptions' undeclared (first use in this function)
gui_mac.c:5350: error: expected ';' before 'navOptions'
gui_mac.c:5354: warning: implicit declaration of function 'NavGetDefaultDialogOptions'
gui_mac.c:5354: error: 'navOptions' undeclared (first use in this function)
gui_mac.c:5358: error: 'kNavAllowInvisibleFiles' undeclared (first use in this function)
gui_mac.c:5359: error: 'kNavDontAutoTranslate' undeclared (first use in this function)
gui_mac.c:5360: error: 'kNavDontAddTranslateItems' undeclared (first use in this function)
gui_mac.c:5362: error: 'kNavAllowStationery' undeclared (first use in this function)
gui_mac.c:5373: warning: implicit declaration of function 'NavPutFile'
gui_mac.c:5373: error: 'reply' undeclared (first use in this function)
gui_mac.c:5380: warning: implicit declaration of function 'NavGetFile'
gui_mac.c:5387: warning: implicit declaration of function 'NavDisposeReply'
gui_mac.c: In function 'macMoveDialogItem':
gui_mac.c:5453: warning: implicit declaration of function 'GetDialogItem'
gui_mac.c:5460: warning: implicit declaration of function 'SetDialogItem'
gui_mac.c: In function 'macSetDialogItemText':
gui_mac.c:5513: warning: implicit declaration of function 'SetControlTitle'
gui_mac.c:5515: warning: implicit declaration of function 'SetDialogItemText'
gui_mac.c: In function 'DialogHotkeyFilterProc':
gui_mac.c:5555: warning: implicit declaration of function 'StdFilterProc'
gui_mac.c: In function 'gui_mch_dialog':
gui_mac.c:5621: warning: implicit declaration of function 'GetNewDialog'
gui_mac.c:5621: warning: assignment makes pointer from integer without a cast
gui_mac.c:5624: warning: implicit declaration of function 'GetDialogWindow'
gui_mac.c:5624: warning: assignment makes pointer from integer without a cast
gui_mac.c:5632: warning: implicit declaration of function 'HideWindow'
gui_mac.c:5637: warning: implicit declaration of function 'SetPortDialogPort'
gui_mac.c:5648: warning: implicit declaration of function 'SetWTitle'
gui_mac.c:5685: warning: implicit declaration of function 'AppendDITL'
gui_mac.c:5691: warning: implicit declaration of function 'StringWidth'
gui_mac.c:5722: warning: implicit declaration of function 'GetIcon'
gui_mac.c:5722: warning: assignment makes pointer from integer without a cast
gui_mac.c:5757: warning: implicit declaration of function 'SetDialogDefaultItem'
gui_mac.c:5758: warning: implicit declaration of function 'SetDialogCancelItem'
gui_mac.c:5787: warning: implicit declaration of function 'SelectDialogItemText'
gui_mac.c:5824: warning: implicit declaration of function 'AutoSizeDialog'
gui_mac.c:5849: warning: implicit declaration of function 'ModalDialog'
gui_mac.c:5860: warning: implicit declaration of function 'GetDialogItemText'
gui_mac.c:5876: warning: implicit declaration of function 'DisposeDialog'
gui_mac.c: In function 'display_errors':
gui_mac.c:5913: warning: implicit declaration of function 'ParamText'
gui_mac.c:5914: warning: implicit declaration of function 'Alert'
gui_mac.c: In function 'gui_mch_getmouse':
gui_mac.c:5933: warning: implicit declaration of function 'GetMouse'
gui_mac.c: In function 'gui_mch_show_popupmenu':
gui_mac.c:6007: warning: implicit declaration of function 'LocalToGlobal'
gui_mac.c:6013: warning: implicit declaration of function 'ContextualMenuSelect'
gui_mac.c: In function 'gui_mch_settitle':
gui_mac.c:6073: warning: implicit declaration of function 'SetWindowTitleWithCFString'
gui_mac.c: In function 'GetFSSpecFromPath':
gui_mac.c:6119: error: 'CInfoPBRec' undeclared (first use in this function)
gui_mac.c:6119: error: expected ';' before 'myCPB'
gui_mac.c:6124: error: 'myCPB' undeclared (first use in this function)
gui_mac.c:6129: warning: implicit declaration of function 'PBGetCatInfo'
gui_mac.c: In function 'FullPathFromFSSpec_save':
gui_mac.c:6148: error: 'CInfoPBRec' undeclared (first use in this function)
gui_mac.c:6148: error: expected ';' before 'theCPB'
gui_mac.c:6177: error: 'FSSpec' has no member named 'name'
gui_mac.c:6177: error: 'FSSpec' has no member named 'name'
gui_mac.c:6180: error: 'theCPB' undeclared (first use in this function)
gui_mac.c:6181: error: 'FSSpec' has no member named 'name'
gui_mac.c:6182: error: 'FSSpec' has no member named 'vRefNum'
gui_mac.c:6184: error: 'FSSpec' has no member named 'parID'
gui_mac.c:6222: warning: implicit declaration of function 'FSpMakeFSRef'
gui_mac.c: In function 'im_on_window_switch':
gui_mac.c:6390: warning: implicit declaration of function 'GetDefaultInputMethodOfClass'
gui_mac.c:6397: warning: implicit declaration of function 'ActivateTSMDocument'
gui_mac.c:6402: warning: implicit declaration of function 'SetDefaultInputMethodOfClass'
gui_mac.c:6405: warning: implicit declaration of function 'SetTextServiceLanguage'
gui_mac.c:6408: warning: implicit declaration of function 'KeyScript'
gui_mac.c:6413: warning: implicit declaration of function 'GetTextServiceLanguage'
gui_mac.c: In function 'dbItemDataCallback':
gui_mac.c:6576: warning: implicit declaration of function 'SetDataBrowserItemDataText'
gui_mac.c: In function 'dbSelectContextualMenuCallback':
gui_mac.c:6623: warning: implicit declaration of function 'GetMenuItemCommandID'
gui_mac.c:6634: warning: implicit declaration of function 'GetDataBrowserItems'
gui_mac.c: In function 'drawerCallback':
gui_mac.c:6680: warning: implicit declaration of function 'SetControlBounds'
gui_mac.c:6681: warning: implicit declaration of function 'SetDataBrowserTableViewNamedColumnWidth'
gui_mac.c: In function 'myDataBrowserChangeAttributes':
gui_mac.c:6711: warning: passing argument 2 of 'Gestalt' from incompatible pointer type
gui_mac.c:6717: warning: 'NSIsSymbolNameDefined' is deprecated (declared at /usr/include/mach-o/dyld.h:176)
gui_mac.c:6718: warning: 'NSLookupAndBindSymbol' is deprecated (declared at /usr/include/mach-o/dyld.h:179)
gui_mac.c:6721: warning: 'NSAddressOfSymbol' is deprecated (declared at /usr/include/mach-o/dyld.h:188)
gui_mac.c: In function 'initialise_tabline':
gui_mac.c:6738: warning: implicit declaration of function 'CreateNewWindow'
gui_mac.c:6745: warning: implicit declaration of function 'SetThemeWindowBackground'
gui_mac.c:6746: warning: implicit declaration of function 'SetDrawerParent'
gui_mac.c:6747: warning: implicit declaration of function 'SetDrawerOffsets'
gui_mac.c:6751: warning: implicit declaration of function 'CreateDataBrowserControl'
gui_mac.c:6755: warning: implicit declaration of function 'InitDataBrowserCallbacks'
gui_mac.c:6765: warning: implicit declaration of function 'SetDataBrowserCallbacks'
gui_mac.c:6767: warning: implicit declaration of function 'SetDataBrowserListViewHeaderBtnHeight'
gui_mac.c:6768: warning: implicit declaration of function 'SetDataBrowserHasScrollBars'
gui_mac.c:6769: warning: implicit declaration of function 'SetDataBrowserSelectionFlags'
gui_mac.c:6771: warning: implicit declaration of function 'SetDataBrowserTableViewHiliteStyle'
gui_mac.c:6774: warning: implicit declaration of function 'SetControlData'
gui_mac.c:6784: warning: implicit declaration of function 'GetControlEventTarget'
gui_mac.c:6784: warning: passing argument 1 of 'InstallEventHandler' makes pointer from integer without a cast
gui_mac.c:6788: warning: passing argument 1 of 'InstallEventHandler' makes pointer from integer without a cast
gui_mac.c:6807: warning: implicit declaration of function 'AddDataBrowserListViewColumn'
gui_mac.c:6811: warning: implicit declaration of function 'AppendMenuItemTextWithCFString'
gui_mac.c: In function 'gui_mch_show_tabline':
gui_mac.c:6827: warning: implicit declaration of function 'CloseDrawer'
gui_mac.c:6829: warning: implicit declaration of function 'OpenDrawer'
gui_mac.c: In function 'gui_mch_showing_tabline':
gui_mac.c:6838: warning: implicit declaration of function 'GetDrawerState'
gui_mac.c: In function 'gui_mch_update_tabline':
gui_mac.c:6873: warning: implicit declaration of function 'RemoveDataBrowserItems'
gui_mac.c:6877: warning: implicit declaration of function 'AddDataBrowserItems'
gui_mac.c:6881: warning: implicit declaration of function 'SetDataBrowserSelectedItems'
gui_mac.c: In function 'gui_mch_set_curtab':
gui_mac.c:6895: warning: implicit declaration of function 'RevealDataBrowserItem'
make[1]: *** [objects/gui_mac.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_vim-app/work/vim72" && /usr/bin/make -j2 all " returned error 2
Command output: gui_mac.c:6745: warning: implicit declaration of function 'SetThemeWindowBackground'
gui_mac.c:6746: warning: implicit declaration of function 'SetDrawerParent'
gui_mac.c:6747: warning: implicit declaration of function 'SetDrawerOffsets'
gui_mac.c:6751: warning: implicit declaration of function 'CreateDataBrowserControl'
gui_mac.c:6755: warning: implicit declaration of function 'InitDataBrowserCallbacks'
gui_mac.c:6765: warning: implicit declaration of function 'SetDataBrowserCallbacks'
gui_mac.c:6767: warning: implicit declaration of function 'SetDataBrowserListViewHeaderBtnHeight'
gui_mac.c:6768: warning: implicit declaration of function 'SetDataBrowserHasScrollBars'
gui_mac.c:6769: warning: implicit declaration of function 'SetDataBrowserSelectionFlags'
gui_mac.c:6771: warning: implicit declaration of function 'SetDataBrowserTableViewHiliteStyle'
gui_mac.c:6774: warning: implicit declaration of function 'SetControlData'
gui_mac.c:6784: warning: implicit declaration of function 'GetControlEventTarget'
gui_mac.c:6784: warning: passing argument 1 of 'InstallEventHandler' makes pointer from integer without a cast
gui_mac.c:6788: warning: passing argument 1 of 'InstallEventHandler' makes pointer from integer without a cast
gui_mac.c:6807: warning: implicit declaration of function 'AddDataBrowserListViewColumn'
gui_mac.c:6811: warning: implicit declaration of function 'AppendMenuItemTextWithCFString'
gui_mac.c: In function 'gui_mch_show_tabline':
gui_mac.c:6827: warning: implicit declaration of function 'CloseDrawer'
gui_mac.c:6829: warning: implicit declaration of function 'OpenDrawer'
gui_mac.c: In function 'gui_mch_showing_tabline':
gui_mac.c:6838: warning: implicit declaration of function 'GetDrawerState'
gui_mac.c: In function 'gui_mch_update_tabline':
gui_mac.c:6873: warning: implicit declaration of function 'RemoveDataBrowserItems'
gui_mac.c:6877: warning: implicit declaration of function 'AddDataBrowserItems'
gui_mac.c:6881: warning: implicit declaration of function 'SetDataBrowserSelectedItems'
gui_mac.c: In function 'gui_mch_set_curtab':
gui_mac.c:6895: warning: implicit declaration of function 'RevealDataBrowserItem'
make[1]: *** [objects/gui_mac.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2

Warning: the following items did not execute (for vim-app): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (26)

comment:1 Changed 15 years ago by phil@…

Forgot to mention the basics -- I'm running Snow Leopard, with Xcode 3.2.

comment:2 Changed 15 years ago by tobypeterson

Epic Carbon fail, as usual!

comment:3 Changed 15 years ago by mf2k (Frank Schima)

Keywords: snowleopard added
Owner: changed from macports-tickets@… to raimue@…
Port: vim-app added

comment:4 Changed 15 years ago by mikelikespie@…

cc. can I help fix? I'm dying without my vim.

comment:5 Changed 15 years ago by mikelikespie@…

Cc: mikelikespie@… added

Cc Me!

comment:6 Changed 15 years ago by raimue (Rainer Müller)

Status: newassigned

I don't have Snow Leopard yet, so cannot help directly on the issue. But as vim-app uses Carbon I don't know how much of that code will still work...

comment:7 Changed 15 years ago by lhunath@…

Cc: lhunath@… added

Cc Me!

comment:8 Changed 15 years ago by lhunath@…

Note that the same issue exists with gimp-app, and presumably many others of their kind.

comment:9 Changed 15 years ago by lhunath@…

Compiling the package as 32 bit works as a temporary workaround where applicable.

platform darwin 10 {    configure.build_arch i386
}

comment:10 in reply to:  9 Changed 15 years ago by raimue (Rainer Müller)

Replying to lhunath@…:

Compiling the package as 32 bit works as a temporary workaround where applicable.

Which would require all dependencies to be available as i386 as well.

comment:11 Changed 15 years ago by davshaonr@…

Here's how I obtained a working version of vim-app on a Macbook 2.1 running 10.6.1, stock install of Xcode 3.2 from the Snow Leopard DVD except with the 10.4 sdk checked:

1) Build the dependencies of vim-app as variant universal

2) sudo port -d install vim-app +cscope configure.compiler=gcc-4.0 configure.build_arch=i386

comment:12 Changed 15 years ago by andree.jacobson@…

Cc Me!

comment:13 Changed 15 years ago by andree.jacobson@…

Cc: andree.jacobson@… added

Cc Me!

comment:14 Changed 15 years ago by truemped@…

Cc: truemped@… added

Cc Me!

comment:15 Changed 15 years ago by keith@…

Cc: keith@… added

Cc Me!

comment:16 Changed 15 years ago by c9s (Yo-An Lin)

Cc: cornelius.howl@… added

Cc Me!

comment:17 Changed 15 years ago by reutter@…

Cc: reutter@… added

Cc Me!

comment:18 Changed 15 years ago by anishmuttreja@…

Cc: anishmuttreja@… added

Cc Me!

comment:19 Changed 14 years ago by andreas.wilm@…

Cc: andreas.wilm@… added

Cc Me!

comment:20 Changed 14 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Cc Me!

comment:21 Changed 14 years ago by rich@…

Cc: rich@… added

Cc Me!

comment:22 Changed 14 years ago by arturoc@…

Cc: arturoc@… added

Cc Me!

comment:23 Changed 14 years ago by macports@…

You can install the port "MacVim" which is Cocoa based so works on Snow Leopard fine.

comment:24 Changed 14 years ago by truemped@…

Quote from the MacVim website: "bindings to standard OS X keyboard shortcuts (⌘Z, ⌘V, ⌘A, ⌘G, etc.)". Not an option for me! Will stay inside the terminal ;)

comment:25 Changed 14 years ago by ldeck

Cc: lachlan.deck@… added

Cc Me!

comment:26 Changed 14 years ago by raimue (Rainer Müller)

Resolution: wontfix
Status: assignedclosed

Please use MacVim instead, as recommended by vim-app as of r65793.

Note: See TracTickets for help on using tickets.