From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 7FD833858D39 for ; Mon, 3 Apr 2023 09:54:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7FD833858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680515653; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=M8fWJ+9967bpOlUatigUsIK8BFx88ep9YeuhoXzCGKw=; b=O/nhiLi61aOO1ysgoYhDP0gatxvL9GdA4W+XtUJo60udjux4Q71cqhuuL8Gcsr3V7gsOz3 Pp4o15D1fZIeLwR+yCTMmbYfObGCxpqMdXfjt9AOJBkwCPLxxDaUtMaIJyzz56T8H5oX0p NAYoej+pPm5zBuQHLcHSUpUdOFBzRlQ= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-121-P80_cbLROz6qGA8qrn_u6g-1; Mon, 03 Apr 2023 05:54:09 -0400 X-MC-Unique: P80_cbLROz6qGA8qrn_u6g-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1A3FB3823A03; Mon, 3 Apr 2023 09:54:09 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.85]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 431BE492C13; Mon, 3 Apr 2023 09:54:08 +0000 (UTC) From: Florian Weimer To: Andreas Schwab Cc: Florian Weimer via Libc-alpha Subject: Re: Using glibc headers with non-GCC compilers which define _Float32 etc. References: <87o7o575jl.fsf@oldenburg.str.redhat.com> <87355h72xq.fsf@oldenburg.str.redhat.com> Date: Mon, 03 Apr 2023 11:54:06 +0200 In-Reply-To: (Andreas Schwab's message of "Mon, 03 Apr 2023 11:10:31 +0200") Message-ID: <87ttxx47gh.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: * Andreas Schwab: > On Apr 03 2023, Florian Weimer wrote: > >> The -U__GNUC__ option is just a shortcut for reproduction. I think the >> fundamental issue is that our headers do not work if the compiler does >> not define __GNUC__, but predefines types like _Float32. > > That's a different case. It's what I wanted to discuss, per the subject line. > We should identify those specific compilers, and adjust the expression > accordingly. But we can only support compilers that we can identify. That's a reasonable position. I'll try to figure out which compiler this is actually about. Thanks, Florian