This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ping - old patch from April - mingw support for I32/I64 MS printf formatters to c-format.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]