> > There's a relevant discussion about the issue at
> > http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=72235&SiteID=1.
> > Providing the following in a header somewhere is probably the most
> > suitable option, otherwise the Perl build framework would need to be
> > modified to correctly detect which VC or PSDK environment is being
> > used:
> >
> > #if _MSC_FULL_VER > 140000000 && _MSC_FULL_VER <= 140040310 #pragma
> > comment(lib,"bufferoverflowU.lib") #endif
> >
> > Again, all of this is moot if /GS isn't added as a CFLAG ;-)
>
> Well, the link you've provided yourself mentions that some of libraries
> provided with some Platform SDKs required the library in question, i.e.
> even without specifying /GS on your own code. In other words, adding of
> the library in question was not a coincidence, mistake or omission.  As
> we see now it didn't hold in long run, but by that time it was required.
> Something will be done about this. Cheers. A.

Agreed; since sending that e-mail, I had to deal with a bunch of other projects 
that also explicitly linked bufferoverflowu.lib, regardless of /GS.  The #if 
pragma referred to above worked for me in each project (Tcl/Tk, Python, 
Berkeley DB, SQLite 3).

    Trent.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to