Re: [Mingw-users] windows.h dependency
On Saturday 02 February 2008 15:37, NightStrike wrote:
> I would think that a user should only include windows.h if
> his own code requires it, not if a library he is using requires it.
> That library should handle its own dependencies, yes?
Yes. What possible benefit can be gained from #including *any* header,
if your compilation unit has no direct dependency on it?
This isn't peculiar to windows.h; it applies equally to every header.
Regards,
Keith.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users