public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/58001] New: Make it possible to silence "Extension: Tab character in format" warning
@ 2013-07-27 10:36 burnus at gcc dot gnu.org
  2013-07-27 14:55 ` [Bug fortran/58001] " kargl at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: burnus at gcc dot gnu.org @ 2013-07-27 10:36 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58001

            Bug ID: 58001
           Summary: Make it possible to silence "Extension: Tab character
                    in format" warning
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org

For indenting the source code, gfortran warns only with -std=f* or with -Wtab.

However, for format strings, it always warns - and with -std=f* it even turns
the warning into an error! (see io.c's next_char_not_space)

Example:

1894  format(   '123')
      end

(The tab is before '123'. A tab in the string itself is not warned for.)

Maybe the best would be to disable this warning with -std=legacy - and refer to
-std=legacy in the -std=gnu warning?


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-07-31 19:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-27 10:36 [Bug fortran/58001] New: Make it possible to silence "Extension: Tab character in format" warning burnus at gcc dot gnu.org
2013-07-27 14:55 ` [Bug fortran/58001] " kargl at gcc dot gnu.org
2013-07-30 12:59 ` dominiq at lps dot ens.fr
2013-07-30 17:42 ` sgk at troutmask dot apl.washington.edu
2013-07-30 17:58 ` dominiq at lps dot ens.fr
2013-07-30 17:59 ` dominiq at lps dot ens.fr
2013-07-30 18:02 ` sgk at troutmask dot apl.washington.edu
2013-07-30 18:16 ` dominiq at lps dot ens.fr
2013-07-30 19:07 ` sgk at troutmask dot apl.washington.edu
2013-07-31 19:37 ` sgk at troutmask dot apl.washington.edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).