I'm trying to compile bootshell in SLES 8.  It has always worked very well
in SLES 7.  But when compiling in SLES 8 I get the following messages.

sles004:~ # g++ -o bootshell bootshell.cc
In file included from /usr/include/g++/backward/iostream.h:31,
                 from bootshell.cc:32:
/usr/include/g++/backward/backward_warning.h:32:2: warning: #warning This
file includes at least one deprecated or antiquated header. Please consider
using one of the 32 headers found in section 17.4.1.2 of the C++ standard.
Examples include substituting the <X> header for the <X.h> header for C++
includes, or <sstream> instead of the deprecated header <strstream.h>. To
disable this warning use -Wno-deprecated.
bootshell.cc:43: `string' was not declared in this scope
bootshell.cc:43: parse error before `)' token
bootshell.cc:45: `thestr' was not declared in this scope
bootshell.cc:45: parse error before `;' token
bootshell.cc:45: syntax error before `++' token
bootshell.cc: In function `int main(int, char**)':
bootshell.cc:52: `string' undeclared (first use this function)
bootshell.cc:52: (Each undeclared identifier is reported only once for each
   function it appears in.)
bootshell.cc:52: parse error before `;' token
bootshell.cc:58: `input' undeclared (first use this function)
bootshell.cc:60: `StrLower' undeclared (first use this function)

Not being a C programmer I am at a loss as to what is wrong.



Mark D Pace
Senior Systems Engineer
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317
[EMAIL PROTECTED]
Office: 850.219.5184
Fax: 850.219.5050
http://www.mainline.com

Reply via email to