Re: [Lcms-user] Build warnings on OSX / clang
An ICC-based CMM for color management
Brought to you by:
mm2
From: Bob F. <bfr...@si...> - 2017-07-26 13:37:55
|
On Wed, 26 Jul 2017, Aaron Boxer wrote: > Thanks, Noel. Might be safer to do this on linux, where you can run make > check > to test. May I ask how I turn on -Wall on linux build for lcms ? The normal way (quite well documented) is ./configure CFLAGS='-O2 -Wall' ... I use these GCC options while building GraphicsMagick: ./configure 'CFLAGS=-O2 -g -ggdb -Wall -Winline -W -Wformat-security\ -Wpointer-arith -Wdisabled-optimization -Wdeclaration-after-statement' There are of course many more warning options which can be enabled for people who have plenty of time on their hands. Even these options are not likely to include type conversion warnings. Optimizing warnings for just one compiler is a bad idea. At least three completely different compilers should be used. Bob -- Bob Friesenhahn bfr...@si..., http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ |