www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/10/15:36:24

Message-Id: <3.0.2.32.19981210213657.006e22a8@tex.lineanet.net>
X-Sender: delfo AT tex DOT lineanet DOT net
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32)
Date: Thu, 10 Dec 1998 21:36:57 +0100
To: djgpp AT delorie DOT com
From: Stefano Del Furia <delfo AT tech-center DOT com>
Subject: Error with rope
In-Reply-To: <Pine.SUN.3.91.981209193818.11864E-100000@is>
References: <Version DOT 32 DOT 19981209173710 DOT 00e1f9c0 AT box1 DOT tin DOT it>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Dear friends,
i have tried to compile this little program:

/////////////////////
#include <rope>
#include <iostream>

using namespace std;

rope<char> p;

main()
{
}
/////////////////////
But i obtain a lot of error

 Compiling: po.cpp
 c:/djgpp/lang/cxx/stl_rope.h(2107) In file included from c:/djgpp/lang/cxx/st
 c:/djgpp/lang/cxx/rope(26)                  from c:/djgpp/lang/cxx/rope:26,
 po.cpp(1)                  from po.cpp:1:
 c:/djgpp/lang/cxx/ropeimpl.h(1085) Warning:  decimal integer constant is so l
 no errors
 Creating: po.exe
 Error: po.o: In function `rope<char, __default_alloc_template<false, 0> >::ad
 po.cpp(24) Error: undefined reference to `rope<char, __default_alloc_template
 Error: po.cpp(.text+0xbc7): undefined reference to `rope<char, __default_allo
 Error: po.o: In function `rope<char, __default_alloc_template<false, 0> >::is
 po.cpp(3) Error: undefined reference to `rope<char, __default_alloc_template<
 There were some errors

I have compiled this with gxx and dj2.01
What am i wrong ?
TIA 
 >>mailed by                              ''~``
 Stefano Del Furia                       ( o o )
  __________________________________.oooO--(_)--Oooo._
 | ___/ / _/__ www.geocities.com/SiliconValley/3546/  |
 |/ _  / _(_-< Computer Science Department            |
 |\_,_/_//___/ delfo AT tech-center DOT com  .oooO           |
 |ITIS "E.FERMI" Bibbiena 52010 AR IT (   )   Oooo.   |
 |_____________________________________\ (____(   )___| 
 THEORY is when you know everything     \_)    ) /
        but nothing works.                    (_/
 PRACTICE is when everything works
        but you don't know why.
 Our aim is to join THEORY and PRACTICE:
 (-: NOTHING works and we don't know WHY :-)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019