http://luoxq.mypm.net
公 告
登 陆
日志日历
日 志
评 论
链 接
统 计
AIX升级编译错误(AIX 5204升级到5208)

AIX 由5204升级到5208时,编译c程序出错:

Syntax error at line 134, column 2, file /usr/include/standards.h:
Error at line 134, column 2 in file /usr/include/standards.h
#warning  The -qdfp option is required to process DFP code in headers.
.1
PCC-S-02014, Encountered the symbol "warning" when expecting one of the followin
g:

   a numeric constant, newline, define, elif, else, endif,
   error, if, ifdef, ifndef, include, line, pragma, undef,
   an immediate preprocessor command, a C token,
The symbol "newline," was substituted for "warning" to continue.

 

解决办法:

将文件/usr/include/standards.h的134行
#warning  The -qdfp option is required to process DFP code in headers.
注释掉。

 

luoxq 发表于 2007/10/25 15:37:00 阅读全文 | 回复(0) | 引用通告 | 编辑 | 收藏该日志

发表评论:

    昵称:
    密码:
    主页:
    标题: