|
Boost Users : |
From: Andrew Holden (aholden_at_[hidden])
Date: 2007-05-30 15:30:39
To make it like the Posix functions again, you would actually need to define _CRT_NONSTDC_NO_WARNINGS
In fact, there is something to be said for creating an environment variable called "CL" and defining it as:
"/D_CRT_SECURE_NO_WARNINGS /D_CRT_NONSTDC_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS"
If that doesn't work, try
"/D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE"
This variable should silence all of Visual Studio's claims that perfectly standard functions shouldn't be used.
________________________________________
From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Server Levent Yilmaz
Sent: Wednesday, May 30, 2007 2:51 PM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] iostreams build error in Visual Studio 2005
Hi Os,
On 5/30/07, Os <os_at_[hidden] > wrote:
In file_descriptor.cpp I get a deprecation warning from line 219:
lseek is deprecated in favour of _lseek.
This is due to VS 2005 being a MS product; there is nothing wrong with boost (or any other fine library for that matter). See the release notes http://www.boost.org/more/version_history.html
(find the line with _SCL_SECURE_NO_DEPRECATE )
Levent
PS: your music is really nice, I loved it :)
-- Server Levent Yilmaz Mechanical Engineering University of Pittsburgh
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net