mips-linux-uclibc-g++ bug fix

/gcc-4.3.3/build_mips/staging_dir/usr/include/bits/socket.h:271: error: expected initializer before 'throw'

gcc version: 4.3.3

uclibc version:     uClibc-0.9.30

route: gcc-4.3.3/toolchain_build_mips/uClibc-0.9.30/libc/sysdeps/linux/mips/bits/socket.h






bug fix information:

Index: libc/sysdeps/linux/mips/bits/socket.h

===================================================================
--- libc/sysdeps/linux/mips/bits/socket.h (revision 24233)
+++ libc/sysdeps/linux/mips/bits/socket.h (working copy)
@@ -268,8 +268,8 @@
  + CMSG_ALIGN (sizeof (struct cmsghdr)))
 #define CMSG_LEN(len)   (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))
 
-extern struct cmsghdr * __NTH (__cmsg_nxthdr (struct msghdr *__mhdr,
-      struct cmsghdr *__cmsg)) __THROW;
+extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr,
+      struct cmsghdr *__cmsg) __THROW;
 libc_hidden_proto(__cmsg_nxthdr)
 #ifdef __USE_EXTERN_INLINES
 # ifndef _EXTERN_INLINE



阅读更多
个人分类: linux
上一篇sh文件在windows下修改后无法执行的解决方法
下一篇mips编译iperf
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭