Projects
home:lf14:branches:Mega:23.09
glibc
_service:tar_scm:backport-clang-0031-math-Defin...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-clang-0031-math-Define-CMPLX-F-L-for-clang.patch of Package glibc
From 5029d36208aad358ef7b09d6cfc37d7f6df02ef4 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Thu, 24 Mar 2022 13:13:43 -0300 Subject: [PATCH] math: Define CMPLX(F,L) for clang --- math/complex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math/complex.h b/math/complex.h index 0b943627d9..5fc03399d7 100644 --- a/math/complex.h +++ b/math/complex.h @@ -52,7 +52,7 @@ __BEGIN_DECLS #undef I #define I _Complex_I -#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7) +#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__) /* Macros to expand into expression of specified complex type. */ # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y)) # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y)) -- 2.39.3
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2