On Sat, 21 Jan 2012 at 13:59:41 +0100, Rodolfo kix Garcia wrote:
> See the http://www.kix.es/src/wmaker/WPrefs.png file to see why I did the
> patches.

Nice image.
 
> The file <WINGs/WINGs.h> is included twice, one in this file and the
> other through WPrefs.h. For this reason I removed the direct include.

But the rule I think is: If a file needs the definitions from a 
particular .h file, it must include it directly. 

The include guards exist to protect against the case you are
considering here. It's not good to depend on indirect includes like
you are proposing here.


-- 
To unsubscribe, send mail to [email protected].

Reply via email to