mirror of https://github.com/CGAL/cgal
- CGAL_CFG_CCTYPE_MACRO_BUG.C run time test was buggy.
- Remove some "unused variable" warnings.
This commit is contained in:
parent
d5a39d96e8
commit
1978b29ebd
|
|
@ -1,3 +1,7 @@
|
|||
2.8
|
||||
+ CGAL_CFG_CCTYPE_MACRO_BUG.C run time test was buggy.
|
||||
+ remove some "unused variable" warnings.
|
||||
|
||||
2.7
|
||||
+ Small fix to CGAL_CFG_NO_ITERATOR_TRAITS.C for MSVX 7
|
||||
|
||||
|
|
|
|||
|
|
@ -46,11 +46,9 @@ using std::isspace;
|
|||
using std::isupper;
|
||||
using std::isxdigit;
|
||||
|
||||
bool all_assertions_correct = true;
|
||||
|
||||
int main()
|
||||
{
|
||||
all_assertions_correct &= (std::isdigit('0'));
|
||||
bool all_assertions_correct = std::isdigit('0');
|
||||
return !all_assertions_correct;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ main()
|
|||
{
|
||||
W< P<int> > wp;
|
||||
W< L<int> >* wl_ptr = dynamic_cast<W< L<int> >* >( &wp );
|
||||
(void) wl_ptr;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@ int main()
|
|||
{
|
||||
A<float> a;
|
||||
float f = a.square(1.2);
|
||||
(void) f;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -72,13 +72,13 @@ public:
|
|||
|
||||
template < class I> inline
|
||||
typename iterator_traits<I>::iterator_category
|
||||
query( I i) {
|
||||
query( I) {
|
||||
return iterator_traits<I>::iterator_category();
|
||||
}
|
||||
|
||||
// A function to match bidirectional iterators.
|
||||
inline
|
||||
int discr( std::bidirectional_iterator_tag tag) { return 42; }
|
||||
int discr( std::bidirectional_iterator_tag ) { return 42; }
|
||||
|
||||
bool all_assertions_correct = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -46,5 +46,7 @@ struct D {
|
|||
int main() {
|
||||
C<A> c(1);
|
||||
D< double, A> d( 3.8);
|
||||
(void) c;
|
||||
(void) d;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
maintainer: Geert-Jan Giezeman <geert@cs.uu.nl>
|
||||
Geert-Jan Giezeman <geert@cs.uu.nl>
|
||||
Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
|
||||
|
|
|
|||
|
|
@ -46,11 +46,9 @@ using std::isspace;
|
|||
using std::isupper;
|
||||
using std::isxdigit;
|
||||
|
||||
bool all_assertions_correct = true;
|
||||
|
||||
int main()
|
||||
{
|
||||
all_assertions_correct &= (std::isdigit('0'));
|
||||
bool all_assertions_correct = std::isdigit('0');
|
||||
return !all_assertions_correct;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ main()
|
|||
{
|
||||
W< P<int> > wp;
|
||||
W< L<int> >* wl_ptr = dynamic_cast<W< L<int> >* >( &wp );
|
||||
(void) wl_ptr;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@ int main()
|
|||
{
|
||||
A<float> a;
|
||||
float f = a.square(1.2);
|
||||
(void) f;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -72,13 +72,13 @@ public:
|
|||
|
||||
template < class I> inline
|
||||
typename iterator_traits<I>::iterator_category
|
||||
query( I i) {
|
||||
query( I) {
|
||||
return iterator_traits<I>::iterator_category();
|
||||
}
|
||||
|
||||
// A function to match bidirectional iterators.
|
||||
inline
|
||||
int discr( std::bidirectional_iterator_tag tag) { return 42; }
|
||||
int discr( std::bidirectional_iterator_tag ) { return 42; }
|
||||
|
||||
bool all_assertions_correct = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -46,5 +46,7 @@ struct D {
|
|||
int main() {
|
||||
C<A> c(1);
|
||||
D< double, A> d( 3.8);
|
||||
(void) c;
|
||||
(void) d;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue