From: Harald Servat <harald.servat@bsc.es>
To: gcc-help@gcc.gnu.org
Subject: Question / Suggestion when gcc does not find a directory as -I parameter
Date: Fri, 12 Feb 2010 16:50:00 -0000 [thread overview]
Message-ID: <4B758374.1020303@bsc.es> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I'm using
gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision
135036] (SUSE Linux)
and I'm curious about the fact that gcc does not complain when giving
invalid directories as -I parameters, like:
# gcc -Wall -Wextra -I /nonexistent test.c
test.c:1: warning: unused parameter âargcâ
test.c:1: warning: unused parameter âargvâ
Shouldn't gcc warn (or fail) about the inexistent directory?
Regards.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkt1g3QACgkQwMPeuqUCg9zNuACeKf1j1Wq4rptbL877qklnSvpk
agwAmwWqmiQU7X5DrX6dRaW9Xru10jf0
=7DP3
-----END PGP SIGNATURE-----
next reply other threads:[~2010-02-12 16:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-12 16:50 Harald Servat [this message]
2010-02-12 17:04 ` Marc Glisse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B758374.1020303@bsc.es \
--to=harald.servat@bsc.es \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).