Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: alexreg at gmail dot com
Target Milestone: ---
Presently, the `cleanup_function` parameter to the `cleanup` variable attribute
"must take one parameter, a pointer to a type compatible with the variabl
: unassigned at gcc dot gnu.org
Reporter: alexreg at gmail dot com
Target Milestone: ---
There is a widely-known deficiency in C involving the passing of arguments to
'more' const-qualified parameters. e.g.
```
void func (int const * const * foo)
{
if (foo)
;
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68612
Alexander Regueiro changed:
What|Removed |Added
Severity|normal |enhancement
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68612
--- Comment #4 from Alexander Regueiro ---
Okay, I see. Going through the C Standards Committee is a very long,
bureaucratic, and fraught process – as I'm sure you're aware. Is there any
reason you wouldn't consider adding this as an extension to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68612
--- Comment #6 from Alexander Regueiro ---
That’s good to know. Do we have a suitable developer to take on this project? I
would do it myself, but I’m not really qualified enough.
I suppose trunk won’t be in bug-fixing mode too long…
> On 1 Dec
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: alexreg at gmail dot com
Target Milestone: ---
Const-correctness often becomes very difficult for large and complex programs,
due to the finicky nature in which it is implemented. (In my view, the fact
that it