std C/C++ patch #5

Eddie Kohler kohler at icir.org
Thu Apr 25 18:00:46 EDT 2002


Hi Scott,

Versions of patches #3-5 have been integrated.

Mostly small changes, except that:

     // read flow codes, create `codes' array
+#if defined( __GNUG__ )
     Bitvector *codes = new Bitvector[noutputs](ninputs, false);
+#else  // standard C++
+    Bitvector *codes = new Bitvector[noutputs] ;
+    codes->resize(ninputs);
+    codes->clear();
+#endif

this patchlet was incorrect. Also, I'm avoiding using namespaces at all in
Click, including anonymous namespaces and "std::".

Again, thanks a ton!! How close are we?

Eddie



More information about the click mailing list