Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com To: cygwin@cygwin.com From: "Mikael" Subject: Warnings for converting non-pointer types to NULL Date: Thu, 12 May 2005 17:01:37 +0200 Lines: 17 Message-ID: X-RFC2646: Format=Flowed; Original X-IsSubscribed: yes Hello, I'm using Cygwin to develop programs using Win32 for the GUI and lot's of posix stuff for the "back-end". Anyway, I noticed that if I include in a file, I have to include after it if I want to receive warnings for converting non-pointer types to NULL. I guess presume NULL is a macro evaulting to 0 in windows.h and a typedef for (void *)0 in , or? Since I want to have this warning, the approach I've taken is to always include after . Is approach correct and safe or can it get me in trouble? Thanks for any replies / M -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/