[Bug middle-end/99608] gcc doesn't print diagnostics carets when file is passed through stdin

2021-03-15 Thread freezer at posteo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99608 --- Comment #3 from freezer at posteo dot de --- In my opinion the current behavior is somehow inconsistent since the carets are displayed for included files. Example: // test.cpp #include int main(int argc, char **argv) { return 0

[Bug middle-end/99608] gcc doesn't print diagnostics carets when file is passed through stdin

2021-03-15 Thread freezer at posteo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99608 --- Comment #2 from freezer at posteo dot de --- That's too bad. For my use case it would be more efficient if I passed the file directly to gcc through stdin. There is really no way to change this, maybe through an option? With clang this

[Bug driver/99608] New: gcc doesn't print diagnostics carets when file is passed through stdin

2021-03-15 Thread freezer at posteo dot de via Gcc-bugs
ormal Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: freezer at posteo dot de Target Milestone: --- When a file is passed to gcc through stdin, gcc won't print any diagnostics carets for the passed file. Example: //

[Bug c++/71267] New: recursive metafunction won't compile: no type named 'type'

2016-05-24 Thread freezer at posteo dot de
everity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: freezer at posteo dot de Target Milestone: --- Created attachment 38557 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38557&action=edit Code that causes the bug