HYUN HO KIM | 3 Aug 2012 07:06

EINTR, EAGAIN, EINPROGRESS, EDOULDBLOCK Compile warning

Hi there,

 

When i compile my program with live555 header files, compile warning is  occurring.

I'm developing the application in MSVC-2010, it seems to groupsock/include/netcommon.h file is comflicted with msvc2010/include/errno.h.

Your consideration in this matter will be appreciated.

Regards,

 

1>  VideoSinkFactory.cpp
1>c:\program files\microsoft visual studio 10.0\vc\include\errno.h(43): warning C4005: 'EINTR' : macro redefinition
1>          d:\project\net_i_viewer_onvif\source\onvif_sp\vendorsrc\live.20120503\groupsock\include\netcommon.h(38) : see previous definition of 'EINTR'
1>c:\program files\microsoft visual studio 10.0\vc\include\errno.h(50): warning C4005: 'EAGAIN' : macro redefinition
1>          d:\project\net_i_viewer_onvif\source\onvif_sp\vendorsrc\live.20120503\groupsock\include\netcommon.h(37) : see previous definition of 'EAGAIN'
1>c:\program files\microsoft visual studio 10.0\vc\include\errno.h(104): warning C4005: 'EINPROGRESS' : macro redefinition
1>          d:\project\net_i_viewer_onvif\source\onvif_sp\vendorsrc\live.20120503\groupsock\include\netcommon.h(36) : see previous definition of 'EINPROGRESS'
1>c:\program files\microsoft visual studio 10.0\vc\include\errno.h(132): warning C4005: 'EWOULDBLOCK' : macro redefinition
1>          d:\project\net_i_viewer_onvif\source\onvif_sp\vendorsrc\live.20120503\groupsock\include\netcommon.h(35) : see previous definition of 'EWOULDBLOCK'

 

 

Hyunho Kim,

http://www.samsungtechwin.com

_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
Ross Finlayson | 3 Aug 2012 10:11
Favicon

Re: EINTR, EAGAIN, EINPROGRESS, EDOULDBLOCK Compile warning

When i compile my program with live555 header files, compile warning is  occurring.

I'm developing the application in MSVC-2010, it seems to groupsock/include/netcommon.h file is comflicted with msvc2010/include/errno.h.

Your consideration in this matter will be appreciated.


A compiler warning is not necessarily a problem.  (Sometimes it can just be an annoyance.)

How are those four macros - EINTR, EAGAIN, EINPROGRESS, EDOULDBLOCK - defined in your "msvc2010/include/errno.h" file?


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
Ross Finlayson | 3 Aug 2012 10:11
Favicon

Re: EINTR, EAGAIN, EINPROGRESS, EDOULDBLOCK Compile warning

When i compile my program with live555 header files, compile warning is  occurring.

I'm developing the application in MSVC-2010, it seems to groupsock/include/netcommon.h file is comflicted with msvc2010/include/errno.h.

Your consideration in this matter will be appreciated.


A compiler warning is not necessarily a problem.  (Sometimes it can just be an annoyance.)

How are those four macros - EINTR, EAGAIN, EINPROGRESS, EDOULDBLOCK - defined in your "msvc2010/include/errno.h" file?


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
live-devel <at> lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Gmane