Thread View: borland.public.cppbuilder.upgrade
1 messages
1 total messages
Started by Dave
Fri, 06 May 2005 16:20
I upgraded and my project no longer builds!
Author: Dave
Date: Fri, 06 May 2005 16:20
Date: Fri, 06 May 2005 16:20
26 lines
2229 bytes
2229 bytes
I upgraded from build 10.157 to build 10.166. Before the upgade the following code segment compiled just fine. . . . ifstream strmIn(m_sImageFile.c_str(), ios::in | ios::binary); strmIn.seekg(0, ios::end); int nSize = strmIn.tellg()/1024; strmIn.close(); ... After the upgrade I am getting some rather odd error messages (the first error message refers to the last line of code above): [C++ Error] files.cpp(1498): E2316 '_close' is not a member of 'ifstream' [C++ Error] files.cpp(1560): E2316 '_close' is not a member of 'ifstream' [C++ Error] files.cpp(1596): E2316 '_read' is not a member of 'ifstream' [C++ Error] files.cpp(1602): E2316 '_read' is not a member of 'ifstream' [C++ Error] files.cpp(1605): E2316 '_close' is not a member of 'ifstream' [C++ Error] files.cpp(2223): E2316 '_open' is not a member of 'ifstream' [C++ Error] files.cpp(2229): E2316 '_read' is not a member of 'ifstream' [C++ Error] files.cpp(2230): E2316 '_close' is not a member of 'ifstream' Of course these error messages make no sense since all of these are indeed member functions of the class. Any ideas on how to fix this??
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads