diff options
| author | Larry Rosenman <ler@FreeBSD.org> | 2022-01-03 10:03:06 -0600 |
|---|---|---|
| committer | Larry Rosenman <ler@FreeBSD.org> | 2022-01-03 10:03:06 -0600 |
| commit | d281b7895b7edda53d5648b14e3653718b694133 (patch) | |
| tree | 15111f73db9ead5bad2db78be04c3dc3ea05c0a6 /databases/luasql-postgres | |
| parent | graphics/py-scikit-image: update to 0.19.1 (diff) | |
devel/cdecl: upgrade to 11.10
ChangeLog:
Pre-C99 implicit int
Added more support for pre-C99 implicit int:
explain *p // pointer to int
explain *p, i // pointer to int, int
explain *a[4] // array 4 of pointer to int
explain *f() // function returning pointer to int
explain (*p) // pointer to int -- unnecessary ()
const void function parameters
const (and volatile) qualifiers for void as a function "parameter" (even via a typedef) are now correctly flagged as an error:
void f1(void); // OK
void f2(const void); // error
typedef void Void;
void f3(Void); // OK
typedef const void CVoid;
void f4(CVoid); // error
Redefinition check in C++
C++ doesn't support tentative definitions, so:
int i, i; // OK in C; error in C++
is always an error in C++ even if the types match.
Restricted pointer to non-object
A restricted pointer to a non-object, e.g., function, is now correctly flagged as an error:
int (*restrict pf)(); // error
Diffstat (limited to 'databases/luasql-postgres')
0 files changed, 0 insertions, 0 deletions
