From: "GRUDOV Georges . ggr" <GRUDOV_Georges () stna ! dgac ! fr>
To: tru64-unix-managers
Subject: Compiler DecC++ 5.5
Date: Tue, 26 Aug 1997 12:19:43 +0000 [thread overview]
Message-ID: <96078615810604.tru64-unix-managers.marc@archive.invalid> (raw)
We want to replace compiler DecC++ 5.4 by DecC++ 5.5 to improve
performance . We have a problem when we compile these files .
--------------------------------------------------------------------------------
File Test.C
#include <set>
#include "A.h"
main()
{
set<int, less<int> > LISTE;
A bdi;
LISTE.insert(1);
LISTE.insert(2);
LISTE.insert(3);
bdi.set_liste(LISTE);
}
--------------------------------------------------------------------------------
File A.C
#include "A.h"
A::set_liste(const set<int, less<int> >& aListe)
{
_liste = aListe;
}
--------------------------------------------------------------------------------
File A.h
#ifndef __A_H
#define __A_H
#include <set>
class A
{
private:
set<int, less<int> > _liste;
public:
A() {}
set_liste(const set<int, less<int> >& aListe);
};
#endif
--------------------------------------------------------------------------------
1) cxx -g -tlocal Test.C A.C -----> a.out = coredump
--------------------------------------------------------------------------------
2) cxx -g Test.C A.C ------> a.out = no coredump
--------------------------------------------------------------------------------
The option "tlocal" seems to be bugged . If you have any suggestion
about this problem , Please call me
My email address is : grudov@stna7.stna7.stna.dgac.fr
reply other threads:[~1997-08-26 12:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox