mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
devel/cdecl: update to 16.3
ChangeLog: Better destructor parameter error message Attempting either to explain or declare a destructor having a parameter list now prints "destructors may not have parameters" explicitly. Defining a type more than once If a type is defined again where the current language is older than the language in which it was previously defined, the type's set of languages is now updated to be the current language and newer. For example, previously: cdecl> set c23 cdecl> typedef int Int cdecl> show typedef int Int; cdecl> set c17 cdecl> typedef int Int // Already exists so did nothing. cdecl> show // Would NOT show anything. cdecl> Now the second typedef would update Int to make it available in C17 and newer so the second show would show it. Multiple conflicting declarations Now exhaustively checking multiple declarations for conflicts in C. Previously, multiple declarations of a variable or function with conflicting types that was separated by a different variable or function wasn't caught: int x, x; // OK in C int x, *x; // error (different types) int x, y, *x; // error, but wasn't caught Now it is. Using macros elsewhere Previously, attempting to use a macro where names are generally allowed would result in an error like: cdecl> #define N 5 cdecl> explain int a[N] ^ 15: syntax error: "N": ']' expected because "N" was returned as a macro token by the lexer. Now, the lexer ignores the fact that a name might be a macro.
This commit is contained in:
parent
0baad9e156
commit
6925b78750
@ -1,7 +1,6 @@
|
||||
PORTNAME= cdecl
|
||||
PORTVERSION= 16.2.1
|
||||
PORTVERSION= 16.3
|
||||
DISTVERSIONPREFIX= ${PORTNAME}-
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= ler@FreeBSD.org
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1708489233
|
||||
SHA256 (paul-j-lucas-cdecl-cdecl-16.2.1_GH0.tar.gz) = 09b0ad9cf39f651dd07732c7baf46ef88c1c93e5dc2b0cd665c6887ccb852100
|
||||
SIZE (paul-j-lucas-cdecl-cdecl-16.2.1_GH0.tar.gz) = 963144
|
||||
TIMESTAMP = 1713412710
|
||||
SHA256 (paul-j-lucas-cdecl-cdecl-16.3_GH0.tar.gz) = ced9d93ad4bee071a8481867017c8db2b6621081178c27037e77fc9c16f102e9
|
||||
SIZE (paul-j-lucas-cdecl-cdecl-16.3_GH0.tar.gz) = 964259
|
||||
|
Loading…
Reference in New Issue
Block a user