免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3937 | 回复: 1
打印 上一主题 下一主题

esql的头文件与stdlib.h中都定义了loc_t结构,如何处理? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-11-26 22:05 |只看该作者 |倒序浏览
在esql的sqltypes.h中定义了loc_t,但在stdlib.h文件中也定义了这个结构,这样在编译时,就冲突了,谁遇到过这样的问题,是如何处理的,多谢了!!!!!

#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <unistd.h>
#include <sys/types.h>

EXEC SQL include sqltypes;
EXEC SQL include locator;
EXEC SQL include datetime;
EXEC SQL include decimal;

论坛徽章:
0
2 [报告]
发表于 2009-02-06 09:13 |只看该作者
It is found that Informix definition of loc_t clashes with AIX definition
    of loc_t (in the system header file sys/localedef31.h). To use Informix
    definition, please compile your application with _H_LOCALEDEF flag set.


-from
                 MACHINE SPECIFIC NOTES
                                    FOR
             INFORMIX-Universal Server  9.14.UC6 PRODUCT RELEASE
                               DATE: 17 Mar 1999

详见
http://www-01.ibm.com/software/d ... ote/ibm0914m116.txt
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP