一个编译的问题
我的这个程序在别的机器上编译没有问题,但在我的机器上编译出现如下问题,不知道什么原因:
Compiling...
IniFile.cpp
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(51) : error C2039: 'seekdir' : is not a member of 'ios'
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ios.h(106) : see declaration of 'ios'
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(51) : error C2061: syntax error : identifier 'seekdir'
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(54) : error C2039: 'openmode' : is not a member of 'ios'
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ios.h(106) : see declaration of 'ios'
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(54) : error C2061: syntax error : identifier 'openmode'
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(91) : error C2629: unexpected 'class std::ostrstream ('
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(91) : error C2238: unexpected token(s) preceding ';'
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(109) : error C2629: unexpected 'class std::strstream ('
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(109) : error C2238: unexpected token(s) preceding ';'
D:\INTERBUS4.0-RELEASE\INCLUDE\STAR/STLAllocator.h(159) : fatal error C1506: unrecoverable block scoping error
Error executing cl.exe.
ControlMain.exe - 9 error(s), 0 warning(s)