From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21612 invoked by alias); 1 Feb 2008 15:52:54 -0000 Received: (qmail 21597 invoked by uid 22791); 1 Feb 2008 15:52:53 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 01 Feb 2008 15:52:30 +0000 Received: (qmail 568 invoked from network); 1 Feb 2008 15:52:28 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 1 Feb 2008 15:52:28 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.68) (envelope-from ) id 1JKyBn-0004Gt-Jk; Fri, 01 Feb 2008 15:52:27 +0000 Date: Fri, 01 Feb 2008 15:52:00 -0000 From: "Joseph S. Myers" To: Kai Tietz cc: Danny Smith , GCC Patches , NightStrike Subject: Re: Ping - old patch from April - mingw support for I32/I64 MS printf formatters to c-format.c In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2008-02/txt/msg00019.txt.bz2 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