gnu.gcc.help
[Top] [All Lists]

Re: Use --enable-stdcall-fixup to disable these warnings

Subject: Re: Use --enable-stdcall-fixup to disable these warnings
From: "Daniel C. Bastos"
Date: Mon, 24 Jul 2006 10:07:15 -0400
Newsgroups: gnu.gcc.help
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.

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Use --enable-stdcall-fixup to disable these warnings, Daniel C. Bastos <=
Privacy Policy