Re: add deprecated support for VC

[email protected] (Stanislav Malyshev)
Newsgroups php.internals.win
Organization Zend Technologies
Message-ID <[email protected]>
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
[email protected]   http://www.zend.com/
(408)253-8829   MSN: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.