On 12/15/2016 01:27 PM, Jens Axboe wrote: > 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? > I didn't know what the intention of that compile flag was. I was just trying to turn on debugging and hit that. But I will get that moved. -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html