https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119753

--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #8)
> IMNSHO it is POSIX that should be fixed.  Clearly they've added a
> requirement there that doesn't match what the compilers actually do (GCC,
> clang, ICC (both before and after LLVM), nvc++ all do the same).  EDG/MSVC
> on godbolt seems to use #line directives instead of # <linenum> <filename>
> <flags>.

Yes, I might ask the POSIX committee why they standardized something that isn't
existing practice.

Reply via email to