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 296943858D37 for ; Thu, 20 Apr 2023 15:12:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 296943858D37 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=1682003575; 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=OHonu+NE53QECDaKVXHjZnesHb78G0E8aWr3y7UD+BI=; b=JCQIppcotKLWxhhj6hhfZ9KzbvW/R0Aef831sy1g7KTlpfz9OcZFPRW9v0VAqBsZK8gSO4 7XPZqpxnHYEnnL0fq1k0hwzkcniK0Y1ZrCm2YlPJp8NHNokc9oiyQsbIQvWghA4s7hD56R DZLePyK2gNtxKttcVo9Kgv527BayN7k= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-277-BWa8KIroNT-Pf0Kq0GlmPA-1; Thu, 20 Apr 2023 11:12:53 -0400 X-MC-Unique: BWa8KIroNT-Pf0Kq0GlmPA-1 Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-3ef3116d1dcso2404011cf.1 for ; Thu, 20 Apr 2023 08:12:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682003573; x=1684595573; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OHonu+NE53QECDaKVXHjZnesHb78G0E8aWr3y7UD+BI=; b=L9zlntZfUnNQPXNiM0v9AOPQUP1BgRk/vaIWNMe8PzXTKo0+j3ipUQsoacu7NaYN7n W6imUokAHkG3K2jJW9HwRfnvYy0V9Wz0PciQcw1zrGtekenohIC9w1m9g1YQeb5oQl9j CE50PrYirkf9N66EZW3V5bMSocI5XqJvoM3yVulh3iFRwLYhd4680OxIBN3cWaFzPQGP H7SBEaAxEFG7QQDmTKXZ2i6nkYYAMeyRRVgX3RTIDyi3rcDNEkDyclveI0s6arCsXpsW I2gEgj78hAaLzRQXrzqOclpXCarHx5i3wDtxse2RSykyH8me+YYAYdx1RPgNERhbe1D5 ollA== X-Gm-Message-State: AAQBX9cZvwaRFMjHM6W/yqCzBqwvsvAwdyBYAmikw5Szj5WQPLfgX2Xa +T+5OkUNp7m0GUVHhioF7C5D6CHf9BKY/D0Zp+I15sLT1/9HeZvhHAjYNldL3cFWjgdMpqQnbMS 8svyrWPNuOjY9q7K7Hei+1lbLp83RC8LQJwTZzwU= X-Received: by 2002:a05:622a:15d2:b0:3ef:189c:8913 with SMTP id d18-20020a05622a15d200b003ef189c8913mr2724303qty.1.1682003572882; Thu, 20 Apr 2023 08:12:52 -0700 (PDT) X-Google-Smtp-Source: AKy350aDT3Dws4YJHROINgVka3S415OSWrXclqS/blJvxwi6r6kyRWdv3o1OwTNSHT76XytOt0gcRMpJwi7W6PGyqR0= X-Received: by 2002:a05:622a:15d2:b0:3ef:189c:8913 with SMTP id d18-20020a05622a15d200b003ef189c8913mr2724274qty.1.1682003572620; Thu, 20 Apr 2023 08:12:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jeff Johnston Date: Thu, 20 Apr 2023 11:12:41 -0400 Message-ID: Subject: Re: warning question To: Jennifer Averett Cc: "newlib@sourceware.org" X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/alternative; boundary="000000000000750f3b05f9c5f9ce" X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE 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: --000000000000750f3b05f9c5f9ce Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Jennifer, No, this was not known. Looking at libc/sys/reent.h for _REENT_THREAD_LOCAL, _REENT_EMERGENCY is set to a char where it should be a ptr to char. -- Jeff J. On Thu, Apr 20, 2023 at 10:45=E2=80=AFAM Jennifer Averett < Jennifer.Averett@oarcorp.com> wrote: > I get the warning listed below when building with the config options: > > --enable-newlib-iconv-encodings=3Dbig5,cp775,cp850,cp852,cp855,\ > cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\ > iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\ > iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\ > iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\ > ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\ > utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\ > win_1253,win_1254,win_1255,win_1256,win_1257,win_1258\ > --enable-newlib-reent-thread-local \ > --enable-newlib-io-c99-formats \ > --enable-threads \ > --target=3D aarch64-rtems6\ > > CC libc/stdio/libc_a-vdprintf.o > ../../../newlib-cygwin/newlib/libc/stdio/tmpnam.c: In function '_tmpnam_r= ': > ../../../newlib-cygwin/newlib/libc/stdio/tmpnam.c:135:14: warning: > assignment to 'char *' from 'char' makes pointer from integer without a > cast [-Wint-conversion] > 135 | result =3D _REENT_EMERGENCY(p); > | ^ > > CC libc/signal/libc_a-psignal.o > ../../../../newlib-cygwin/newlib/libc/stdio/tmpnam.c: In function > '_tmpnam_r': > ../../../../newlib-cygwin/newlib/libc/stdio/tmpnam.c:135:14: warning: > assignment to 'char *' from 'char' makes pointer from integer without a > cast [-Wint-conversion] > 135 | result =3D _REENT_EMERGENCY(p); > | ^ > > > Just wanted to know if this was a known issue. > > Thanks > Jennifer Averett > > > > --000000000000750f3b05f9c5f9ce--