From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) by sourceware.org (Postfix) with ESMTPS id DB8833858D1E for ; Wed, 20 Apr 2022 20:36:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DB8833858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yb1-xb33.google.com with SMTP id t67so5051174ybi.2 for ; Wed, 20 Apr 2022 13:36:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=wNm5jtrLoZ6BJ0zFPE/gsVPpq49BF5Cqx+U0brVLfks=; b=FPSEO2TrdtttCErxDDz8QyPiIhBE6RKECoaT2SPeFJRj9O3Wth/6JhwgPLc4mKhfmv pSwq5CnvBL4jQvUHEyxgzBytZjwuVFHPSsT7M9LPT8jTgvgzrqAF6Mf/Q6AOs3zArCHL BIdbiynro+lVT3N2aVF3Kj20lHqJ72X11Ouu5hRUxY08YQt1z/Fd9To7b05vOetNTenQ OH9Ac4+J015WD06SY3zoGp/ckvaTvDdB97kcpgJFRJyz76WeEYA1j4fT5I8FtkFTe7rV tbi7Cbl+8T4Ik+HLf4+wyXM7qOBvKucRXn8NTCPfQKxCJfFSTIpLopz2OyBWGhHXUhyC FfiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wNm5jtrLoZ6BJ0zFPE/gsVPpq49BF5Cqx+U0brVLfks=; b=VwLtvF9vkV5KhVWktVHHwx63tkjMhKeWFML63lIMdMxiBOYTwrjv0u09H69Bqj7Up7 J6j05gdIKsb6tXtg9GeydsTm9KWrjx03fjCJZ3HqoFcSsspjcUqwqfiYZe0MI8SlmWt1 Vif3rw3GmObbFWm0jU32vCCsGz2lIapQv7ME2er8emzhnUFHMnabDS8UFp4+CzxXDiHn jIqYfchapLAvVnsRUAP6u2cFQocwxuE1RL4Ny4GfauGlio7E81OVmNViSY/DLwvE8WN7 cgJd7+lTCEJ9RAtbMaKR/t1m3wjyjV3zGXyoHOBHOHCdZN71ECYnSh2aaHGQi6CDJSRZ JnvQ== X-Gm-Message-State: AOAM530cXiv0tug7BakJmfFR9+QQAtAbRdDpd8iuqlqfBnYsjt6RDaF+ ZQatERjZ6q/hdlbTkVTqeBqk7T4vZXcWzeJcU5fMQCVEcVWQ5Q== X-Google-Smtp-Source: ABdhPJz9psr3G6/AfjiPlbpyHCr4hWEgrJ6Rsiv7ehylCF+OdvFz+yxLs70nkMKBefLu71mFoNOyVjaNm9AeW4Oj8bo= X-Received: by 2002:a05:6902:10c1:b0:63c:d3bf:59d2 with SMTP id w1-20020a05690210c100b0063cd3bf59d2mr21445606ybu.99.1650486993102; Wed, 20 Apr 2022 13:36:33 -0700 (PDT) MIME-Version: 1.0 From: Pavel M Date: Wed, 20 Apr 2022 23:35:57 +0300 Message-ID: Subject: Issue: headers may use non-reserved identifiers To: newlib@sourceware.org X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2022 20:36:35 -0000 Hi all, Issue: headers may use non-reserved identifiers. Example: #define _reent 0 #include $ gcc t567.c -std=3Dc11 t567.c:1:16: error: expected =E2=80=98{=E2=80=99 before numeric constant 1 | #define _reent 0 | ^ t567.c:1:16: error: expected =E2=80=98{=E2=80=99 before numeric constant 1 | #define _reent 0 | ^ and so on... Per C11 _reent, _on_exit_args, etc. are non-reserved identifiers. Consider fixing. P.S. Good if it leads to compile time errors, not good if it doesn't (wrong translation unit produced =3D> wrong code generated =3D> wrong runtime behavior). -- Pavel