public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/58988] New: -Werror=missing-include-dirs does not work
@ 2013-11-04 20:08 bugzilla@poradnik-webmastera.com
  2013-11-05 10:25 ` [Bug c/58988] " bugzilla@poradnik-webmastera.com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla@poradnik-webmastera.com @ 2013-11-04 20:08 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58988
           Summary: -Werror=missing-include-dirs does not work
           Product: gcc
           Version: 4.7.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bugzilla@poradnik-webmastera.com

I tried to pass -Werror=missing-include-dirs option to gcc in order to find all
non-existing include dirs and found that this option in broken. In gcc 4.5.2
this option is ignored - gcc does not print any message when non-existing
include dir is specified. gcc 4.7.3 prints warning only.

gcc (both tested versions) changes this warnings into errors when both
-Wmissing-include-dirs -Werror options are used, but this is not an option for
be because of other warnings which are in my code.

I tested this using following command:
g++ -c test.cc -o test.o -I/a -Werror=missing-include-dirs


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

end of thread, other threads:[~2014-04-13 14:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-04 20:08 [Bug c/58988] New: -Werror=missing-include-dirs does not work bugzilla@poradnik-webmastera.com
2013-11-05 10:25 ` [Bug c/58988] " bugzilla@poradnik-webmastera.com
2013-11-06  6:37 ` manu at gcc dot gnu.org
2014-04-13 14:48 ` manu at gcc dot gnu.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).