* src/bddtest.cxx: Include <cstdlib> to compile with g++-4.3.
This commit is contained in:
parent
ab1a2ae5d7
commit
f217ff374c
2 changed files with 8 additions and 3 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
2008-03-13 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||||
|
|
||||||
|
* src/bddtest.cxx: Include <cstdlib> to compile with g++-4.3.
|
||||||
|
|
||||||
2007-09-19 Alexandre Duret-Lutz <adl@gnu.org>
|
2007-09-19 Alexandre Duret-Lutz <adl@gnu.org>
|
||||||
|
|
||||||
* src/kernel.c (bdd_default_gbchandler): Log garbage collection to
|
* src/kernel.c (bdd_default_gbchandler): Log garbage collection to
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/*========================================================================
|
/*========================================================================
|
||||||
Copyright (C) 1996-2002 by Jorn Lind-Nielsen
|
Copyright (C) 1996-2002, 2008 by Jorn Lind-Nielsen
|
||||||
All rights reserved
|
All rights reserved
|
||||||
|
|
||||||
Permission is hereby granted, without written agreement and without
|
Permission is hereby granted, without written agreement and without
|
||||||
|
|
@ -28,6 +28,7 @@
|
||||||
========================================================================*/
|
========================================================================*/
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <cstdlib>
|
||||||
#include "bdd.h"
|
#include "bdd.h"
|
||||||
#include "bvec.h"
|
#include "bvec.h"
|
||||||
|
|
||||||
|
|
@ -49,7 +50,7 @@ static void testSupport(void)
|
||||||
bdd odd = bdd_ithvar(1) | bdd_ithvar(3) | bdd_ithvar(5);
|
bdd odd = bdd_ithvar(1) | bdd_ithvar(3) | bdd_ithvar(5);
|
||||||
|
|
||||||
cout << "Testing support\n";
|
cout << "Testing support\n";
|
||||||
|
|
||||||
bdd s1 = bdd_support(even);
|
bdd s1 = bdd_support(even);
|
||||||
bdd s2 = bdd_support(odd);
|
bdd s2 = bdd_support(odd);
|
||||||
|
|
||||||
|
|
@ -76,7 +77,7 @@ static void testSupport(void)
|
||||||
void testBvecIte()
|
void testBvecIte()
|
||||||
{
|
{
|
||||||
cout << "Testing ITE for vector\n";
|
cout << "Testing ITE for vector\n";
|
||||||
|
|
||||||
bdd a = bdd_ithvar(0);
|
bdd a = bdd_ithvar(0);
|
||||||
bvec b = bvec_var(3, 1, 2);
|
bvec b = bvec_var(3, 1, 2);
|
||||||
bvec c = bvec_var(3, 2, 2);
|
bvec c = bvec_var(3, 2, 2);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue