crash20.C: Rework to avoid libg++.
* g++.old-deja/g++.brendan/crash20.C: Rework to avoid libg++. * g++.old-deja/g++.brendan/crash30.C: Likewise. * g++.old-deja/g++.brendan/crash39.C: Likewise. * g++.old-deja/g++.law/operators4.C: Likewise. From-SVN: r15407
This commit is contained in:
parent
9687fea5e0
commit
45591aaf4d
5 changed files with 41 additions and 6 deletions
|
@ -1,3 +1,10 @@
|
|||
Thu Sep 11 10:00:03 1997 Alexandre Oliva (oliva@dcc.unicamp.br)
|
||||
|
||||
* g++.old-deja/g++.brendan/crash20.C: Rework to avoid libg++.
|
||||
* g++.old-deja/g++.brendan/crash30.C: Likewise.
|
||||
* g++.old-deja/g++.brendan/crash39.C: Likewise.
|
||||
* g++.old-deja/g++.law/operators4.C: Likewise.
|
||||
|
||||
Thu Sep 11 09:53:40 1997 Joe Buck (jbuck@synopsys.com)
|
||||
|
||||
* g++.old-deja/g++.mike/p658.C: eliminate <bool.h> use.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Build don't link:
|
||||
// GROUPS passed old-abort
|
||||
#include <Complex.h>
|
||||
#include <complex>
|
||||
typedef complex<double> Complex;
|
||||
|
||||
Complex ComputeVVself()
|
||||
{
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
// Build don't link:
|
||||
// GROUPS passed old-abort
|
||||
#include <String.h>
|
||||
#include <string>
|
||||
|
||||
main(void) {
|
||||
|
||||
String a[] = {"Hello"};
|
||||
string a[] = {"Hello"};
|
||||
|
||||
}
|
||||
|
|
|
@ -1,8 +1,34 @@
|
|||
// Build don't link:
|
||||
// Special g++ Options: -w
|
||||
// GROUPS passed old-abort
|
||||
#include <GetOpt.h>
|
||||
#include <String.h>
|
||||
//#include <GetOpt.h>
|
||||
#include <std.h>
|
||||
#include <stdio.h>
|
||||
|
||||
class GetOpt
|
||||
{
|
||||
private:
|
||||
static char *nextchar;
|
||||
enum OrderingEnum { REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER };
|
||||
OrderingEnum ordering;
|
||||
static int first_nonopt;
|
||||
static int last_nonopt;
|
||||
void exchange (char **argv);
|
||||
public:
|
||||
char *optarg;
|
||||
int optind;
|
||||
int opterr;
|
||||
|
||||
int nargc;
|
||||
char **nargv;
|
||||
const char *noptstring;
|
||||
|
||||
GetOpt (int argc, char **argv, const char *optstring);
|
||||
int operator () (void);
|
||||
};
|
||||
//end <GetOpt.h>
|
||||
#include <string>
|
||||
|
||||
class foo {public: foo () {}};
|
||||
class bar {public: bar (foo& dflt);};
|
||||
class baz: public bar {public: baz (): bar (foo ()) {}};
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
// Subject: delete [size] pointer; Problem
|
||||
// Message-ID: <92Sep3.220137edt.30@jarvis.csri.toronto.edu>
|
||||
|
||||
#include <Complex.h>
|
||||
#include <complex>
|
||||
typedef complex<double> Complex;
|
||||
#include <stdio.h>
|
||||
|
||||
class Vector {
|
||||
|
|
Loading…
Add table
Reference in a new issue