[PATCH] configure: Check for the -Wno-force-align-arg-pointer compiler switch.

Alexandre Julliard julliard at winehq.org
Tue Feb 16 16:43:20 CST 2010


Charles Davis <cdavis at mymail.mines.edu> writes:

> An incomplete list of projects that use force_align_arg_pointer:
> - liboil
> - ffmpeg
> - x264
> - Gallium3D
> - KDE
>
> Just do a Google search for 'force_align_arg_pointer' and you'll see a
> whole bunch of pages about this!
>
> Now are you convinced this is a good idea?

No, I still don't see the point of warning about a completely harmless
usage. It's clearly convenient to be able to define __stdcall the way we
do in Wine, and I expect other projects may want to it that way too.
OTOH the likelihood that someone would deliberately use it on a function
pointer expecting something to happen seems very low to me, and not
worth a warning, much less a command-line option.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list