|
|
In article <20060723211925.00001537@Saturn>,
Daniel C. Bastos wrote:
> I'm getting
>
> % gcc -o program.exe wm_create.o wm_size.o wm_paint.o win32.a
> Warning: resolving _wm_create@16 by linking to _wm_create
> Use --enable-stdcall-fixup to disable these warnings
> Use --disable-stdcall-fixup to disable these fixups
> Warning: resolving _wm_size@16 by linking to _wm_size
> Warning: resolving _wm_paint@16 by linking to _wm_paint
>
> when I link a Win32 program.
>
> These functions prototypes are
>
> LRESULT CALLBACK wm_paint(HWND, UINT, WPARAM, LPARAM);
> LRESULT CALLBACK wm_create(HWND, UINT, WPARAM, LPARAM);
> LRESULT CALLBACK wm_size(HWND, UINT, WPARAM, LPARAM);
This has been lack of attention. I apologize. I prototyped
them this way, but defined them differently. I guess what
puzzled me was actually the warnings that I never saw
before.
|
|