freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Warnings when compiling Pooma


From: Gasper Tkacik
Subject: Warnings when compiling Pooma
Date: Mon, 17 Feb 2003 15:59:44 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021202

Hi all!

When I compile Pooma (I currently only use Array<2, double> and no other fancy stuff), I get warnings like:

/development/external/r2/src/Domain/Grid.h:360: warning: base class `class
Domain<1, DomainTraits<Grid<1> > >' should be explicitly initialized in the
copy constructor
In file included from /development/external/r2/src/Pooma/Arrays.h:46,
from /development/utilities/cframework/alg_rfg.h:21,
from main.cpp:22:
/development/external/r2/src/Engine/RemoteEngine.h: In copy constructor
`GatherContexts::GatherContextsData::GatherContextsData(const
GatherContexts::GatherContextsData&)':

or

/development/external/r2/src/Domain/DomainTraits.Interval.h:264: warning: comparison
between signed and unsigned integer expressions
/development/external/r2/src/Domain/DomainTraits.Interval.h: In static member
function `static void DomainTraits<Interval<1> >::setDomain(int (&)[2],
const T1&, const T2&) [with T1 = int, T2 = long unsigned int]':

I.e. mostly complaining about class initialization or comparison between signed / unsigned types.

Is this normal in the sense that you folks use Pooma and don't see all these warnings or am I passing somewhere a strange template parameter? I tried to follow the examples... I am running gcc 3.2.20020903 on Linux RH8.0, from KDevelop tool (-Wall).

I just checked - I get the warnings even if I only compile the following piece:

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "Pooma/Pooma.h"
#include "Pooma/Arrays.h"
#include <iostream.h>
#include <stdlib.h>
#include <time.h>

int main(int argc, char *argv[])
{
 Pooma::initialize(argc, argv);


 Pooma::finalize();


 return EXIT_SUCCESS;
}

Best regards, Gasper.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]