[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pooma-dev] RFA: src/NewField Changes
From: |
Jeffrey Oldham |
Subject: |
Re: [pooma-dev] RFA: src/NewField Changes |
Date: |
Thu, 29 Mar 2001 11:11:57 -0800 |
User-agent: |
Mutt/1.2.5i |
> > What was the resolution on all of those static_casts?
>
> The warnings about comparisons between unsigned and signed ints were
> the reason for those static_cast's. I do not know the best solution.
> What do you suggest?
>
> /nfs/oz/home/oldham/pooma/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 = unsigned int]':
> /nfs/oz/home/oldham/pooma/r2/src/Domain/Interval.h:365: instantiated from
> here
> /nfs/oz/home/oldham/pooma/r2/src/Domain/DomainTraits.Interval.h:266: warning:
> comparison
> between signed and unsigned integer expressions
Mark suggested adding the "-Wno-sign-compare" g++ warning flag to
suppress these warnings so the static_cast's are unnecessary.
Thanks,
Jeffrey D. Oldham
address@hidden