Re: add deprecated support for VC

From: Date: Fri, 27 Jun 2008 17:00:34 +0000
Subject: Re: add deprecated support for VC
References: 1  Groups: php.internals.win 
Request: Send a blank email to internals-win+get-35@lists.php.net to get a copy of this message
Hi!
Please find a patch to add the deprecated attribute to windows (VC2003 or later only). If you like to see the warnings (and tons of other), remove the "/wd4996" option in the generated Makefile on line 46.
Ah, that's why when I tried MSVC __declspec it didn't produce the warnings! OK, I'll add Windows one too.
I wonder if we should not "fix" our code base to remove the deprecated warnings for the CRT (_open, etc.). It may help us to use a more noisy mode to catch possible issues or improvements.
Isn't there some define that can kill those warnings? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals.win (#35) next »