Compiling errors. Not renegade scripts [message #388610] |
Sat, 30 May 2009 04:30 |
|
Omar007
Messages: 1711 Registered: December 2007 Location: Amsterdam
Karma:
|
General (1 Star) |
|
|
I have to convert old code to the standards from now by hand because VC2008 doesn't change correct (but outdated) code.
I mean things like <strstrea.h> that has to be changed to <strstream> and adding namespace std to several documents and alot more.
I managed to bring the error count down from 856 to 4 but now im stuck.
Errors:
Compiling...
cl : Command line warning D9035 : option 'Fr' has been deprecated and will be removed in a future release
cl : Command line warning D9036 : use 'FR' instead of 'Fr'
irc_interface.cpp
e:\modding\uplink\source\interface\localinterface\irc_interface.cpp(1056) : error C2248: 'irc::CIrcDefaultMonitor::m_handlersMapsListEntry' : cannot access private member declared in class 'irc::CIrcDefaultMonitor'
e:\modding\uplink\contrib\irclib\irc.h(241) : see declaration of 'irc::CIrcDefaultMonitor::m_handlersMapsListEntry'
e:\modding\uplink\contrib\irclib\irc.h(236) : see declaration of 'irc::CIrcDefaultMonitor'
dos2unix.cpp
e:\modding\uplink\source\app\dos2unix.cpp(131) : error C3861: 'base': identifier not found
e:\modding\uplink\source\app\dos2unix.cpp(149) : error C2248: 'std::basic_filebuf<_Elem,_Traits>::sync' : cannot access protected member declared in class 'std::basic_filebuf<_Elem,_Traits>'
with
[
_Elem=char,
_Traits=std::char_traits
]
e:\program files\microsoft visual studio 9.0\vc\include\fstream(446) : see declaration of 'std::basic_filebuf<_Elem,_Traits>::sync'
with
[
_Elem=char,
_Traits=std::char_traits
]
Generating Code...
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 9.00.30729
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '.\obj\win32\decode.sbr': No such file or directory
I also uploaded the correspponding files and their headers below. Im not sure but i believe the irc.h is actually a standard windows header but i included in anyway.
I hope you can help me getting rid of these last 4 errors
-
Attachment: irc_interface.cpp
(Size: 30.75KB, Downloaded 193 times)
-
Attachment: irc_interface.h
(Size: 3.89KB, Downloaded 240 times)
-
Attachment: irc.h
(Size: 6.32KB, Downloaded 193 times)
-
Attachment: dos2unix.cpp
(Size: 1.51KB, Downloaded 337 times)
-
Attachment: dos2unix.h
(Size: 0.79KB, Downloaded 89 times)
|
|
|