https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92613
--- Comment #5 from Christopher Albert <albert at tugraz dot at> --- (In reply to anlauf from comment #4) > (In reply to Christopher Albert from comment #3) > > Created attachment 63024 [details] > > Fix bogus warning with -cpp -fpreprocessed > > > > Thanks for the feedback, Harald! Now refined for -E, and cleaned up. This is > > now the proposed behavior: > > > > Before patch (system gcc-15) > > -cpp -fpreprocessed - Warning about quotes in comments > > -cpp -fpreprocessed -E - Fatal error (tries to open filename from lineinfo) > > > > After patch > > -cpp -fpreprocessed - Compiles silently, no warning > > -cpp -fpreprocessed -E - Clean error: "-E is not supported with > > -fpreprocessed" > > > > Let's discuss further whether it is the responsibility of gfortran to fill > > in for sloppy cmake code, or if we should just emit a better warning instead > > of silently compiling. > > Chris, > > I think this is a most reasonable solution and a nice patch. > > Can you post it to the ML to get broader exposure and feedback? Thanks Harald, done!
