<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1141" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've been using CMake for a while, dutifully 
upgrading to the latest version as needed in order to compile VTK and ITK. On 
Linux, once I upgraded to 1.6.6, I started noticing a slew of warnings of the 
type:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>cc1plus: warning: changing search order for system 
directory "/usr/local/include"<BR>cc1plus: warning:   as it has 
already been specified as a non-system directory<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Is there any way to disable this warning? I don't 
remember seeing it previously, but I've just upgraded ITK, VTK, and CMake to the 
latest release versions. I've searched, and it seems like people have been 
complaining about this particular 'feature' of gcc for months, but the only way 
to disable it is to disable all warnings. Alternatively, what has changed 
in CMake that's causing the makefiles it generates to manually add 
"-I/usr/local/include"? I thought this directory was 'automatically' in the list 
of -I's, so there was no need to put it in there yourself? Thanks for any 
help.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Best regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>-Parag Chandra</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT></BODY></HTML>