Skip Menu |
 

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 8582
Status: new
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: foskey [...] optushome.com.au
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 804.027
Fixed in: (no value)



Subject: tk does not compile on cygwin - gcc 3.3.3
I cannot fathom this one... gcc -c -I.. -I../pTk/mTk/xlib -I. -Ibitmaps -I../pTk/mTk/xlib -DPERL_USE_SAFE_P UTENV -fno-strict-aliasing -pipe -I/usr/local/include -DUSEIMPORTLIB -O2 -DVER SION=\"804.027\" -DXS_VERSION=\"804.027\" "-I/usr/lib/perl5/5.8.5/cygwin-thread -multi-64int/CORE" -D__WIN32__ -D_WIN32 -DWIN32 -Wall -Wno-implicit-int -Wno-co mment -Wno-unused -D__USE_FIXED_PROTOTYPES__ tkWinX.c tkWinX.c:53: error: initializer element is not constant tkWinX.c:53: error: (near initialization for `asciiProcs.callWindowProc') tkWinX.c:55: error: initializer element is not constant tkWinX.c:55: error: (near initialization for `asciiProcs.defWindowProc') tkWinX.c:56: error: initializer element is not constant tkWinX.c:56: error: (near initialization for `asciiProcs.registerClass') tkWinX.c:57: error: initializer element is not constant tkWinX.c:57: error: (near initialization for `asciiProcs.setWindowText') tkWinX.c:61: error: initializer element is not constant tkWinX.c:61: error: (near initialization for `asciiProcs.createWindowEx') tkWinX.c:68: error: initializer element is not constant tkWinX.c:68: error: (near initialization for `unicodeProcs.callWindowProc') tkWinX.c:70: error: initializer element is not constant tkWinX.c:70: error: (near initialization for `unicodeProcs.defWindowProc') tkWinX.c:71: error: initializer element is not constant tkWinX.c:71: error: (near initialization for `unicodeProcs.registerClass') tkWinX.c:72: error: initializer element is not constant tkWinX.c:72: error: (near initialization for `unicodeProcs.setWindowText') tkWinX.c:76: error: initializer element is not constant tkWinX.c:76: error: (near initialization for `unicodeProcs.createWindowEx') tkWinX.c: In function `TkGetServerInfo': tkWinX.c:163: warning: int format, DWORD arg (arg 3) tkWinX.c:163: warning: int format, DWORD arg (arg 4) tkWinX.c:163: warning: int format, DWORD arg (arg 5) tkWinX.c: In function `TkWinXInit': tkWinX.c:274: warning: implicit declaration of function `TclWinSetInterfaces' tkWinX.c: In function `TkpCloseDisplay': tkWinX.c:637: warning: implicit declaration of function `close' tkWinX.c: In function `DisplayFileProc': tkWinX.c:675: warning: implicit declaration of function `read' tkWinX.c: In function `Tk_TranslateWinEvent': tkWinX.c:827: warning: implicit declaration of function `Lang_WinEvent' make[1]: *** [tkWinX.o] Error 1 Complaining about this section of code, dont know where the A's went for a start. static TkWinProcs asciiProcs = { 0, (LRESULT (WINAPI *)(WNDPROC lpPrevWndFunc, HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)) CallWindowProcA, (LRESULT (WINAPI *)(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)) DefWindowProcA, (ATOM (WINAPI *)(CONST WNDCLASS *lpWndClass)) RegisterClassA, (BOOL (WINAPI *)(HWND hWnd, LPCTSTR lpString)) SetWindowTextA, (HWND (WINAPI *)(DWORD dwExStyle, LPCTSTR lpClassName, LPCTSTR lpWindowName, DWORD dwStyle, int x, int y, int nWidth, int nHeight, HWND hWndParent, HMENU hMenu, HINSTANCE hInstance, LPVOID lpParam)) CreateWindowExA, };


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.