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

Charles Davis cdavis at mymail.mines.edu
Tue Feb 16 15:49:17 CST 2010

Charles Davis wrote:
> I added this to clang yesterday. Now clang will warn every time it
> encounters the force_align_arg_pointer attribute applied to a function
> pointer. This isn't a problem on Linux, but on Mac OS X those warnings
> are going to clutter the output, since we use it so liberally.
All right, since you're not convinced this is a good idea, let me, well,
convince you.

The conversation I had on the cfe-commits mailing list:
(my original commit)
(someone suggesting the warning)
(someone else seconding it)
(me saying no)
(a third person suggesting the switch)
(me caving)

An incomplete list of projects that use force_align_arg_pointer:
- liboil
- ffmpeg
- x264
- Gallium3D

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?


More information about the wine-devel mailing list