[Bug c/99720] New: Feature Request: Better errors for C++ features when compiling C (pass by reference)

2021-03-22 Thread cameron at tacklind dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: cameron at tacklind dot com Target Milestone: --- I'm embarrassed that I spent so long on this issue, to the point that I thought it was worth writing this issue

[Bug c/64347] New: constructor priorities are not supported in avr-gcc

2014-12-17 Thread cameron at tacklind dot com
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: cameron at tacklind dot com In avr-gcc, if you try to add a priority to a constructor function, you get: error: constructor priorities are not supported Steps to reproduce: # echo 'void init() __attribute__((constructor

[Bug preprocessor/64220] New: gcc preprocessor defines outside of the reserved namespace: unix linux AVR

2014-12-08 Thread cameron at tacklind dot com
: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: cameron at tacklind dot com The preprocessor defines names outside of the reserved namespace. Essentially, if I'm not mistaken, the following command should output

[Bug preprocessor/64220] gcc preprocessor defines outside of the reserved namespace: unix linux AVR

2014-12-08 Thread cameron at tacklind dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64220 --- Comment #2 from Cameron Tacklind cameron at tacklind dot com --- Ah, I had not seen a reference to the -std making a difference. You are right that adding -std=c99 removes the extra define. Of note, I'm finding it difficult to find where

[Bug preprocessor/64220] gcc preprocessor defines outside of the reserved namespace: unix linux AVR

2014-12-08 Thread cameron at tacklind dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64220 --- Comment #5 from Cameron Tacklind cameron at tacklind dot com --- Pardon my brevity. Yes, I'd seen that. I was trying to comment on this list seemingly missing a reference to that particular difference. Or that if it is listed