This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Ping - old patch from April - mingw support for I32/I64 MS printf formatters to c-format.c
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Kai Tietz <Kai dot Tietz at onevision dot com>
- Cc: Danny Smith <dansmister at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, NightStrike <nightstrike at gmail dot com>
- Date: Fri, 1 Feb 2008 15:52:27 +0000 (UTC)
- Subject: Re: Ping - old patch from April - mingw support for I32/I64 MS printf formatters to c-format.c
- References: <OFB3CB1FD1.9798A106-ONC12573E2.003C6E5B-C12573E2.003CCA13@onevision.de>
On Fri, 1 Feb 2008, Kai Tietz wrote:
> For the testcases c90-scanf-4.c and c90-printf-3.c may it would be better
> to avoid their build for mingw targets at all. So how can I specify not to
> run a test far a specific target?
See the documentation of selector expressions in doc/sourcebuild.texi.
But you could also only add the attributes conditionally:
#if (existing condition for only adding attributes in tests on Windows)
#if !defined __STRICT_ANSI__ || __STDC_VERSION__ >= 199901L
/* Can add attributes to C99 functions. */
#endif
#endif
--
Joseph S. Myers
joseph@codesourcery.com