Re: [ROOT] Re: Problems with rootcint and STL classes

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Jun 17 2002 - 08:06:07 MEST


Hi Gora,

I have no problems with your example using the current ROOT version in
CVS. Here is the output of make

Generating object file
g++ -O2 -ansi -pedantic -Wall -W -Wwrite-strings -Wmissing-prototypes
-Woverloaded-virtual -Wsign-promo -Wno-long-long -Wno-unused
-I/home/brun/root/include -c -o classA.o classA.cxx

Generating dictionary source
/home/brun/root/bin/rootcint -f classADict.cxx -c -p
-I/home/brun/root/include classA.h classALinkDef.h

Generating dictionary object file
g++ -O2 -ansi -pedantic -Wall -W -Wwrite-strings -Wmissing-prototypes
-Woverloaded-virtual -Wsign-promo -Wno-long-long -Wno-unused
-I/home/brun/root/include -I/home/brun/root/cint -c -o classADict.o
classADict.cxx

Making shared library
g++ -shared -O2 -ansi -pedantic -Wall -W -Wwrite-strings
-Wmissing-prototypes -Woverloaded-virtual -Wsign-promo -Wno-long-long
-Wno-unused classA.o classADict.o -o libclassA.so

Note that we are planning to issue version 3.03/06 this week.

Rene Brun

On Sun, 16 Jun 2002, Gora Mohanty wrote:

> Hi,
>   Attached is a trivial example that reproduces the problem, along with a
> simplified Makefile. Type "make" to compile, assuming GNU make. When I
> try to compile this, it chokes on the rootcint step, where it is
> generating the dictionary source. It seems that the problem is with
> unsigned types, as replacing "unsigned int" with "int" (or even with
> "double") in the template for the std::vector makes the problem go away.
> 
>   I have tried both version 3.03.04 and 3.03.05, compiling with gcc 3.1 on
> a Linux x86 box running SuSe Linux 7.1. ROOT was also compiled with the
> same compiler.
> 
> Regards,
> Gora
> 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:57 MET