Compiler DecC++ 5.5

From: GRUDOV Georges . ggr <GRUDOV_Georges_at_stna.dgac.fr>
Date: Tue, 26 Aug 97 14:19:43 +0200

        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_at_stna7.stna7.stna.dgac.fr
Received on Tue Aug 26 1997 - 14:46:15 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT