Add -Wall & -pedantic to CFLAGS (CVS Update: driver (branch: trunk))

Alan Coopersmith Alan.Coopersmith at Sun.COM
Sat Jan 21 08:29:37 PST 2006


Luc Verhaegen wrote:
>   - Add -Wall and -pedantic to CFLAGS.

There are other compilers in the world besides gcc.   Things
like 	 CFLAGS="$CFLAGS -Wall -pedantic"  should only be done
inside 'if test "x$GCC" = "xyes"; then' clauses so you don't
break people who build with the Intel, Sun, USLC, or other
compilers.

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering



More information about the xorg mailing list