[Dcmlib] Voila l'interet du coverage...
Mathieu Malaterre
mathieu.malaterre at kitware.com
Mon Nov 22 20:45:43 CET 2004
J'ai passer 3h ce matin a fixer gdcm pour borland...
Resultat ils ont overloade l'operateur >= par l'operateur <=
genial non
Mathieu
99% ce n'est pas suffisant :)
-------- Original Message --------
Subject: Re: Stupid borland
Date: Mon, 22 Nov 2004 14:36:07 -0500
From: Bill Hoffman <>
To: Mathieu Malaterre <>, Andy Cedilnik <>
References: <41A231B7.4000605 at kitware.com>
Looks like a typo in the borland header files:
/*
* bool operator>= (const long&) const
*/
template <class stateT>
inline bool
fpos<stateT>::operator>= (const long& pos) const
{
return ( __pos <= pos );
}
At 01:36 PM 11/22/2004, Mathieu Malaterre wrote:
>#include <iostream>
>
>int main()
>{
> std::streampos a = 9;
> long c = 10;
>
> if( a >= c)
> {
> std::cerr << "What the hell !" << std::endl;
> }
> else
> {
> std::cerr << "Seems reasonable" << std::endl;
> }
>
> return 0;
>}
>
More information about the Dcmlib
mailing list