Date: Sat, 1 Dec 2018 15:30:16 +0000 (UTC) From: Larry Rosenman <ler@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486374 - head/devel/cdecl Message-ID: <201812011530.wB1FUGYT004670@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ler Date: Sat Dec 1 15:30:16 2018 New Revision: 486374 URL: https://svnweb.freebsd.org/changeset/ports/486374 Log: devel/cdecl: update to 5.0. pet portlint. Added all C/C++ keywords All C/C++ keywords have been added to the lexer/parser to prevent declaring variables or functions having names that are keywords. For example: declare break as int is now correctly reported as an error. Additionally, names that are keywords is later versions of C/C++, while legal, now issue warnings, e.g.: cdecl> declare class as int ^ 18: warning: "class" is a keyword in C++98 int class; Operator overloading Added support for composing and deciphering C++ overloaded operators. Fixed const/volatile reference Declarations of the form: declare r as const reference to int declare r as volatile reference to int are now correctly reported as an error. Added member/non-member to functions You can now explcitly specify either "member" or "non-member" in declarations: declare f as const member function Additionally, cdecl will include "member" in function explanations when it can infer a function is a member function: cdecl> explain void f() const declare f as constant member function returning void Fixed friend const/volatile/override/final/virtual/reference functions Declarations of the form: declare f as friend const function returning bool are now correctly reported as an error. Modified: head/devel/cdecl/Makefile head/devel/cdecl/distinfo Modified: head/devel/cdecl/Makefile ============================================================================== --- head/devel/cdecl/Makefile Sat Dec 1 15:16:47 2018 (r486373) +++ head/devel/cdecl/Makefile Sat Dec 1 15:30:16 2018 (r486374) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= cdecl -PORTVERSION= 4.8 +PORTVERSION= 5.0 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= devel @@ -13,9 +13,9 @@ LICENSE= GPLv3 BUILD_DEPENDS= flex:textproc/flex -CONFLICTS= cutils-[0-9]* - USES= autoreconf bison ncurses readline + +CONFLICTS= cutils-[0-9]* USE_GITHUB= yes Modified: head/devel/cdecl/distinfo ============================================================================== --- head/devel/cdecl/distinfo Sat Dec 1 15:16:47 2018 (r486373) +++ head/devel/cdecl/distinfo Sat Dec 1 15:30:16 2018 (r486374) @@ -1,3 +1,3 @@ -TIMESTAMP = 1539017077 -SHA256 (paul-j-lucas-cdecl-cdecl-4.8_GH0.tar.gz) = bab94934a79c91ba920d795dff7665db779377447c7a669a1a37a22cf8237b76 -SIZE (paul-j-lucas-cdecl-cdecl-4.8_GH0.tar.gz) = 301613 +TIMESTAMP = 1543677393 +SHA256 (paul-j-lucas-cdecl-cdecl-5.0_GH0.tar.gz) = e5932d1c073f5d3113a7c71bbef351d1fc65108add72a0bd1ccbb9d0244dacab +SIZE (paul-j-lucas-cdecl-cdecl-5.0_GH0.tar.gz) = 330058
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812011530.wB1FUGYT004670>