Ru-MaNGOS

Ru-MaNGOS (http://mangos.ytdb.ru/index.php)
-   Корзина (http://mangos.ytdb.ru/forumdisplay.php?f=31)
-   -   ошибки в ДНК (http://mangos.ytdb.ru/showthread.php?t=2602)

JeckDrous 03.10.2010 12:50

ошибки в ДНК
 
давно не занимался мангосом (очень давно) вот решил возобновить работы.

Теперь ближе к делу...

выдаёт очень большой список ошибок:

Цитата:

D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_string.inl(110): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\string.h(110) : see declaration of 'strcat'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_string.inl(120): warning C4996: 'wcscat': This function or variable may be unsafe. Consider using wcscat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\string.h(276) : see declaration of 'wcscat'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_string.inl(178): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_string.inl(188): warning C4996: 'wcscpy': This function or variable may be unsafe. Consider using wcscpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\string.h(283) : see declaration of 'wcscpy'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_string.inl(222): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\string.h(238) : see declaration of 'strdup'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_string.inl(266): warning C4996: 'strncat': This function or variable may be unsafe. Consider using strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\string.h(175) : see declaration of 'strncat'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_string.inl(279): warning C4996: 'wcsncat': This function or variable may be unsafe. Consider using wcsncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\string.h(299) : see declaration of 'wcsncat'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_string.inl(320): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\string.h(188) : see declaration of 'strncpy'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_string.inl(329): warning C4996: 'wcsncpy': This function or variable may be unsafe. Consider using wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\string.h(306) : see declaration of 'wcsncpy'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_string.inl(513): warning C4996: 'strtok': This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\string.h(197) : see declaration of 'strtok'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_string.inl(524): warning C4996: 'wcstok': This function or variable may be unsafe. Consider using wcstok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\string.h(311) : see declaration of 'wcstok'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_stdlib.inl(140): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdlib.h(433) : see declaration of 'getenv'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_stdlib.inl(152): warning C4996: '_wgetenv': This function or variable may be unsafe. Consider using _wdupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdlib.h(658) : see declaration of '_wgetenv'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_stdlib.inl(163): warning C4996: '_itoa': This function or variable may be unsafe. Consider using _itoa_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdlib.h(451) : see declaration of '_itoa'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_stdlib.inl(176): warning C4996: '_itow': This function or variable may be unsafe. Consider using _itow_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdlib.h(645) : see declaration of '_itow'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_stdlib.inl(242): warning C4996: '_mktemp': This function or variable may be unsafe. Consider using _mktemp_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\io.h(202) : see declaration of '_mktemp'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_stdlib.inl(253): warning C4996: '_wmktemp': This function or variable may be unsafe. Consider using _wmktemp_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\wchar.h(315) : see declaration of '_wmktemp'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_stdlib.inl(310): warning C4996: 'putenv': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _putenv. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdlib.h(869) : see declaration of 'putenv'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_unistd.inl(59): warning C4996: 'access': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _access. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\io.h(299) : see declaration of 'access'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_unistd.inl(131): warning C4996: 'chdir': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _chdir. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\direct.h(123) : see declaration of 'chdir'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_unistd.inl(156): warning C4996: 'rmdir': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _rmdir. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\direct.h(125) : see declaration of 'rmdir'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_unistd.inl(377): warning C4996: 'getcwd': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _getcwd. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\direct.h(117) : see declaration of 'getcwd'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_unistd.inl(983): warning C4996: 'swab': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _swab. See online help for details.
6> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdlib.h(870) : see declaration of 'swab'
6>D:\mangos\mangos test\dep\ACE_wrappers\ace/OS_NS_unistd.inl(1127): warning C4996: 'unlink': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _unlink. See online help for details

JeckDrous 03.10.2010 12:51

Подскажите что могло способствовать такому кол-ву ошибок?

JeckDrous 03.10.2010 13:08

уточню (офф исходники)

evilstar 03.10.2010 13:15

Чтото не то компилируешь Оо
И советую не обращать внимания на warning

LordJZ 03.10.2010 13:20

В упор не вижу ни одной ошибки. Не вижу ни одной.

Это предупреждения.


Текущее время: 16:41. Часовой пояс GMT +3.

ru-mangos.ru - Русское сообщество MaNGOS