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. 注释掉。
|