public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/28800]  New: Incorrect warning "ISO C forbids an empty source file"
@ 2006-08-22  9:40 vincent at vinc17 dot org
  2006-08-22 10:16 ` [Bug c/28800] " falk at debian dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: vincent at vinc17 dot org @ 2006-08-22  9:40 UTC (permalink / raw)
  To: gcc-bugs

I get the following warning:

dixsept:~> cat > tst.c
#define FOO
dixsept:~> gcc -pedantic -c tst.c
tst.c:1: warning: ISO C forbids an empty source file

But the source isn't empty (and AFAIK, the ISO C doesn't forbid empty sources).
Perhaps gcc mixes up with a translation unit, in which case the wording should
be changed.


-- 
           Summary: Incorrect warning "ISO C forbids an empty source file"
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vincent at vinc17 dot org


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


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

end of thread, other threads:[~2008-02-26 22:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-22  9:40 [Bug c/28800] New: Incorrect warning "ISO C forbids an empty source file" vincent at vinc17 dot org
2006-08-22 10:16 ` [Bug c/28800] " falk at debian dot org
2008-02-26 22:42 ` [Bug c/28800] warning "ISO C forbids an empty source file" could be improved rwild at gcc dot gnu dot org
2008-02-26 22:48 ` rwild at gcc dot gnu dot org

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).