Menu

#1 Error in compiling

open
nobody
5
2014-12-24
2006-08-02
Anonymous
No

I have added the cpp and h files in my VC as i want
to compile this under windows. Here is what I get:

------ Build started: Project: irc, Configuration:
Debug Win32 ------
Compiling...
Channel.cpp
c:\eggdrop\text\src\user.h(37) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(38) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(39) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(44) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(45) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(46) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(51) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(52) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(53) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(60) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(61) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(62) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(65) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(66) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(67) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channel.h(44) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channel.h(45) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channel.h(51) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channel.h(52) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channel.h(53) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channel.h(57) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channel.h(58) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channel.h(59) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channel.cpp(29) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channel.cpp(30) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channel.cpp(31) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
ChannelArray.cpp
c:\eggdrop\text\src\user.h(37) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(38) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(39) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(44) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(45) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(46) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(51) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(52) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(53) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(60) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(61) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(62) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(65) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(66) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\user.h(67) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channel.h(44) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channel.h(45) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channel.h(51) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channel.h(52) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channel.h(53) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channel.h(57) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channel.h(58) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channel.h(59) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channelarray.cpp(89) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channelarray.cpp(93) : warning
C4996: 'strcat' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(78) : see declaration of 'strcat'
Message: 'This function or variable may be
unsafe. Consider using strcat_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\channelarray.cpp(94) : warning
C4996: 'strcat' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(78) : see declaration of 'strcat'
Message: 'This function or variable may be
unsafe. Consider using strcat_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
Function.cpp
c:\eggdrop\text\src\function.cpp(32) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
IRC.cpp
c:\eggdrop\text\src\socket.h(27) : fatal error C1083:
Cannot open include file: 'sys/socket.h': No such
file or directory
IRCdata.cpp
c:\eggdrop\text\src\ircdata.cpp(31) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\ircdata.cpp(40) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\ircdata.cpp(41) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\ircdata.cpp(45) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\ircdata.cpp(46) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\ircdata.cpp(52) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\ircdata.cpp(53) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\ircdata.cpp(57) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\ircdata.cpp(58) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\ircdata.cpp(62) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\ircdata.cpp(63) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\ircdata.cpp(66) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\ircdata.cpp(67) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\ircdata.cpp(70) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\ircdata.cpp(71) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\ircdata.cpp(77) : warning
C4996: 'strtok' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(164) : see declaration
of 'strtok'
Message: 'This function or variable may be
unsafe. Consider using strtok_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\ircdata.cpp(79) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\ircdata.cpp(81) : warning
C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8
\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
c:\eggdrop\text\src\ircdata.cpp(84) : error
C2440: '=' : cannot convert from 'const char *'
to 'char *'
Conversion loses qualifiers
Socket.cpp
c:\eggdrop\text\src\socket.h(27) : fatal error C1083:
Cannot open include file: 'sys/socket.h': No such
file or directory
Generating Code...
Build log was saved at "file://c:\Documents and
Settings\Adrian\My Documents\Visual Studio 2005
\Projects\irc\irc\Debug\BuildLog.htm"
irc - 3 error(s), 71 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-
date, 0 skipped ==========

Discussion

  • Nacx

    Nacx - 2006-08-03

    Logged In: YES
    user_id=1281981

    For the moment it doesn't exist a tested version for
    Windows. It uses Unix Sockets that won't work on Windows.

    Anyway, I attach you a class wich supports WinSockets. You
    can try to replace your Socket.* with these ones, and
    compile the project again. I haven't tested in VC, and
    haven't tested enough to upload them as part of the project,
    but I expect that class to work.

     
  • Nacx

    Nacx - 2006-08-03

    Win32 socket header file

     
  • Nacx

    Nacx - 2006-08-03

    Win32 socket source file

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.