Define _CRT_NONSTDC_NO_WARNINGS to suppress MSVC warning in libtiff.
Defining lfind as _lfind is not enough and a warning C4996 is still generated by MSVC9 when the function is called. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
41c89b9107
commit
589d208299
6 changed files with 100 additions and 90 deletions
|
|
@ -55,6 +55,16 @@
|
|||
<cflags-watcom>-wcd=124</cflags-watcom>
|
||||
<define cond="PLATFORM_OS2=='1' and FORMAT=='watcom'">OS2_32</define>
|
||||
<define cond="PLATFORM_MSDOS=='1' and FORMAT=='watcom'">__MSDOS__</define>
|
||||
<if cond="IS_MSVC">
|
||||
<!--
|
||||
define this to get rid of a warning about using POSIX lfind():
|
||||
confusingly enough, we do define lfind as _lfind for MSVC but
|
||||
doing this results in a just more confusing warning, see:
|
||||
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=101278
|
||||
-->
|
||||
<define>_CRT_NONSTDC_NO_WARNINGS</define>
|
||||
</if>
|
||||
|
||||
<sources>
|
||||
$(TIFF_PLATFORM_SRC)
|
||||
src/tiff/libtiff/tif_aux.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue