From: Jens Axboe <axboe@kernel.dk>
To: Dave Jiang <dave.jiang@intel.com>
Cc: fio@vger.kernel.org
Subject: Re: [PATCH] fio: add debug compile flag to avoid compiler warning
Date: Thu, 15 Dec 2016 13:27:35 -0700 [thread overview]
Message-ID: <20161215202735.GC29056@kernel.dk> (raw)
In-Reply-To: <148095966487.242344.5154555200954971050.stgit@djiang5-desk3.ch.intel.com>
On Mon, Dec 05 2016, Dave Jiang wrote:
> When compile with debug, without the proper -O flag the compiler complains:
> /usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires
> compiling with optimization (-O) [-Wcpp]
> # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
Wouldn't it be better to only add the FORTIFY parts if optimization is
enabled?
--
Jens Axboe
next prev parent reply other threads:[~2016-12-15 20:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-05 17:41 [PATCH] fio: add debug compile flag to avoid compiler warning Dave Jiang
2016-12-15 20:27 ` Jens Axboe [this message]
2016-12-15 20:37 ` Dave Jiang
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=20161215202735.GC29056@kernel.dk \
--to=axboe@kernel.dk \
--cc=dave.jiang@intel.com \
--cc=fio@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.