|
From: Florian K. <fl...@ei...> - 2015-04-18 10:47:29
|
On 17.04.2015 17:57, Patrick J. LoPresti wrote: > On Thu, Apr 16, 2015 at 11:31 AM, Carl E. Love <ce...@us...> wrote: >> >> >> There is nothing that can be done at the source code level to eliminate the notice from the compiler. > > Really? Glancing through the GCC source, it looks like: > > #pragma GCC diagnostic ignored "-Wpsabi" > > ...should do the trick. Or just pass "-Wno-psabi" on the command line. > (Or am I missing something?) > > Probably should be conditional on GCC version, of course. What you describe would work but require additional configury. And that is something I would like to avoid. We already have 3000 lines of it. If will be less work to simply modify the test to not pass these values as function arguments. Perhaps just pass a pointer instead or bundle the function arguments in a struct and pass a pointer to that or ..... Florian |