Mark,

I've submitted this to Mike Kershaw, but I don't think he's had time to
update the copy on reason.marist.edu yet.


--- bootshell-1.3.cc    Tue Oct  9 10:16:32 2001
+++ bootshell-1.3-1.cc  Thu Feb 20 16:31:08 2003
@@ -29,9 +29,11 @@
 // v1.3 (12-07-2000) - Added more patches from John to fix some very bad
 //                     behavior.  NULL-terminated is important!  Doh!

-#include <iostream.h>
+#include <iostream>
 #include <string>
 #include <unistd.h>
+
+using namespace std;

 // These commands must be formatted as argv[] arrays
 // Command to execute for login


Mark Post

-----Original Message-----
From: Mark D Pace [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 3:23 PM
To: [EMAIL PROTECTED]
Subject: bootshell and SLES8


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