From nobody Sun Jul 21 04:39:00 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WRVzm1m3Gz5Qw1Q; Sun, 21 Jul 2024 04:39:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WRVzm0tkMz4PpR; Sun, 21 Jul 2024 04:39:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721536740; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Jfm+pvMj5Jf+xYR+IHHWC/LZp52V776HO8djgTDDhZw=; b=MU2mUO/BlQ8MDkQRMVMh9lPqAvTOih/Hi1jn/m5uyRyuyAOLWS7tOSe3CSnBySEMkmq6i4 Y1nRZUnzhnVpiEeacvdXy7N2E/ELdxKDE7StbrPe++okzsp8hJsN0WInvwLp+nqdtYbA4w USXIP3OFKoO0R3sa3Oc8Oo9AdJ9v95PqLRartOLOIslOJLiKwN9s0+3LwzeRS89CYuUamw mTMNqWplnPIh3ufRfecqAL7TxA/fOJ1btuclmhdb5AM9qtxk7oZ75rKzwWNwuOHw9RV2SJ F9r47oG1JgLPJVJHIkEnYn/vQ7yig7A4A0aq7ksym/tb9YY0l6NjM6Ntieelow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721536740; a=rsa-sha256; cv=none; b=qkZvxBisHUTAo31p/kcMjdZvGeAadQnGeMT3pktJGVVpuLfn0mejeX06ug7Cln62NQ0rOI o3/Zr/K0vkKIdAPOZUGT8lmHZXeJz9VYkJINodghupwPwJoVVu9S6zaE18y1jUKwzSI4u5 JYPLkimHUkj3Kj8ChLByywQqO59EFmG4tBlKImsb5H2XdVsz3Q21lLlax/7bbFfm4EncpX Cjw1SiJ26aPF8xAFubFn7tvlxVhw0edh5OOPP9d92oKSF8a+/vJiFrNMT/KnZMTF8LE4eN DMXqApz/92PkeB5Mkl/u9S8HC/sAquVJTtzFBmlVM/iE+C1/kD6EKUIAukranA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721536740; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Jfm+pvMj5Jf+xYR+IHHWC/LZp52V776HO8djgTDDhZw=; b=Qs7K3gY0mUmLNc6jNurVzixqzObGHk6mHfu6DXVNjqp9caJxTsphTYMfSngkZNK0iIa4vV NTXKAkgIJ3z4aCfYYuCkU0LNU/mUVYZL3FpEM4qD/PmitdzTz9X2nljwUoZ3Vp3JDdDrKb BrEDEUWqCmGBMEw86sSQ0I7GYachD/YY4AkH/Hbq8CS87kCNJguXie7crQLqtNu+ztvUzD 1IiO0CViPi31SYzF/ZAEtziEwaYkzcD8IgFpvQLQf7rT5Hrcq3MYRqy8oybtxt0MLKoI3C fOtJN/ZugCTdQzpYE49I2rzkktF4YRDi0BGkB4PKnc9IX2Hvg7ndIFSb5ZYUvw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WRVzm0VL8zmLR; Sun, 21 Jul 2024 04:39:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46L4d04v033188; Sun, 21 Jul 2024 04:39:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46L4d0sF033184; Sun, 21 Jul 2024 04:39:00 GMT (envelope-from git) Date: Sun, 21 Jul 2024 04:39:00 GMT Message-Id: <202407210439.46L4d0sF033184@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Larry Rosenman Subject: git: 2cadeb7ce1fb - main - devel/cdecl: update to 18.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ler X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2cadeb7ce1fbebeb9c0cfffd38dbb777e30cf3ef Auto-Submitted: auto-generated The branch main has been updated by ler: URL: https://cgit.FreeBSD.org/ports/commit/?id=2cadeb7ce1fbebeb9c0cfffd38dbb777e30cf3ef commit 2cadeb7ce1fbebeb9c0cfffd38dbb777e30cf3ef Author: Larry Rosenman AuthorDate: 2024-07-21 04:37:25 +0000 Commit: Larry Rosenman CommitDate: 2024-07-21 04:38:56 +0000 devel/cdecl: update to 18.1 ChangeLog: alignas scoped names* Alignments can now have names to denote the number of bytes, e.g.: c++decl> explain alignas(N) char c declare c as character aligned as N bytes where N is presumed to be an integer constant. _BitInt multi-declarations Declarations like: declare x, y as bit precise integer 4 are now correct. CDECL_TEST=false tests Fixed these tests. CDECL_TEST=true & --no-config Specifying the --no-config option now always works even when testing. enum, class, struct, & union multi-declarations Explaining these is now correct, e.g.: cdecl> explain enum E x, y, f() declare x, y as enumeration E declare f as function returning enumeration E Glob help Fixed glob help. Implicit int warnings In C89, implicit int is now warned about in more cases, e.g.: cdecl> set c89 cdecl> explain static x ^ 9: warning: missing type specifier; "int" assumed declare x as static integer K&R C typeless parameters in English To match gibberish output, K&R C typeless parameters now print as integer in pseudo-English: cdecl> set c17 cdecl> explain char f(x) ^ 16: warning: missing type specifier; "int" assumed declare f as function (x as integer) returning character --no-prompt option short option The short option for --no-prompt has been changed from -p to -P. New --permissive-types, -p options Permits either unknown names or keywords in language versions other than the current language as types in pseudo-English. By default, a declaration like: declare p as pointer to T where T is an unknown type would result in "unknown type" error. Similarly, a declaration in C like: declare p as pointer to class would result in an "unsupported type in C" error even though class would be a valid user-defined type in C. This option permits such declarations. Permissive types is not the default because always permitting either unknown names or keywords in language versions other than the current language as types can result in confusing errors. For example, if permissive types were the default, then you would get the following in C: cdecl> declare D as virtual destructor ^ 14: warning: "virtual" is a keyword in C++ virtual D; ^ 22: syntax error: "destructor": unexpected token ... Here, virtual, not being a keyword in C and therefore a valid name for a user-defined type, would be taken to be a type name, so cdecl would interpret that to mean you want to declare D as a variable of type virtual -- and cdecl would do so by printing virtual D (but still warning that virtual is a keyword in C++). But then destructor would be unexpectedly encountered and generate an error. (It could easily be the case that you simply forgot to set the current language to C++ instead of C.) With the default non-permissive behavior, you would instead get: cdecl> declare D as virtual destructor ^ 14: error: "virtual": unsupported keyword in C which is clearer, but at the cost of not permitting valid declarations that use either unknown names or keywords in language versions other than the current language as types. show ::FILE Fixed a crash. show fixed glob Now, showing a specific glob (one having no *s in it) like: c++decl> show ::FILE will show the definition of FILE even though it's predefined and not the default of user-defined. Type name warnings Defining types that are keywords in other languages are now warned about, e.g.: cdecl> struct friend ^ 8: warning: "friend" is a keyword in C++98 typedef modifiers Attempting to use modifiers with typedefs is now correctly forbidden, e.g.: typedef int T explain unsigned T // error ** Unknown names** Now checking for unknown names in pointer-to-member and reference declarations. --- devel/cdecl/Makefile | 2 +- devel/cdecl/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/devel/cdecl/Makefile b/devel/cdecl/Makefile index 4a61aa13f510..da699f3cd20d 100644 --- a/devel/cdecl/Makefile +++ b/devel/cdecl/Makefile @@ -1,5 +1,5 @@ PORTNAME= cdecl -PORTVERSION= 18.0 +PORTVERSION= 18.1 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= devel diff --git a/devel/cdecl/distinfo b/devel/cdecl/distinfo index f445c8402aee..5085777be490 100644 --- a/devel/cdecl/distinfo +++ b/devel/cdecl/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1720264069 -SHA256 (paul-j-lucas-cdecl-cdecl-18.0_GH0.tar.gz) = 02872c270c1c15bc09782d83dcdea746abb879c5e9b3c45bbc750b8e4edd6e1b -SIZE (paul-j-lucas-cdecl-cdecl-18.0_GH0.tar.gz) = 1009882 +TIMESTAMP = 1721536630 +SHA256 (paul-j-lucas-cdecl-cdecl-18.1_GH0.tar.gz) = 5ff1a644c6bdfab1a5039ab0539705f7c33e8b2a4790a22565a19a16c07c04d2 +SIZE (paul-j-lucas-cdecl-cdecl-18.1_GH0.tar.gz) = 1019156