|
From: Leif J. <le...@am...> - 2003-10-19 09:59:20
|
On Sat, 18 Oct 2003, Robert Lechner wrote: > Teiniker Egon wrote: > >> - facet, receptacle, facet_basic_types, receptacle_basic_types : > >> Didn't compile because my compiler complained about `assert' in > >> src/Hello_mirror_app.cc. I added `#include <assert>' but haven't > >> gotten a chance to test that it works. > > > > Hmm, my compiler does not matter about it but a student of mine has > > had the problem and fixed it with #include<cassert> I think. > > I added > > #include <assert.h> > > to 'CCM_Utils/Debug.h'. That solved the problem. Excellent. I've been adding `#include <cassert>', but on my linux box, the /usr/include/c++/3.2/cassert header file contains a single line : `#include <assert.h>'. :) I've been squashing bugs in the ccmtools this weekend ... there have been lots of simple errors generating the proper #include statements. Also, all of the user_types tests were failing because of a one-word typo---doh ! And the IDL syntax for array typedefs is quite strange, had to do a little hacking to fix that up. So on my box 20 of the 37 C++ tests pass now, and I hope to get about 10 more to pass by the end of the weekend. Looks like there are about 5 tests that barf when trying to pass an abstract base class by value, we'll have to wait for the smartpointer++ to fix those. Cheers ! leif -- Leif Morgan Johnson : http://ambient.2y.net/leif/ |