[Bug c/68611] New: Recommendation for 'cleanup' variable attribute

2015-11-29 Thread alexreg at gmail dot com
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

[Bug c/68612] New: Const-compatibility in C

2015-11-29 Thread alexreg at gmail dot com
: 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) ; }

[Bug c/68612] Const-compatibility in C

2015-11-29 Thread alexreg at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68612 Alexander Regueiro changed: What|Removed |Added Severity|normal |enhancement

[Bug c/68612] Const-compatibility in C

2015-11-30 Thread alexreg at gmail dot com
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

[Bug c/68612] Const-compatibility in C

2015-12-03 Thread alexreg at gmail dot com
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

[Bug c/68687] New: C compiler options to ignore all const qualifiers

2015-12-03 Thread alexreg at gmail dot com
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