rosapps/net/telnet
diff -u -r1.4 -r1.5
--- Makefile 12 Jan 2004 22:45:53 -0000 1.4
+++ Makefile 10 Mar 2004 18:57:35 -0000 1.5
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.4 2004/01/12 22:45:53 sedwards Exp $
+# $Id: Makefile,v 1.5 2004/03/10 18:57:35 sedwards Exp $
PATH_TO_TOP=../../../reactos
@@ -10,7 +10,7 @@
TARGET_SDKLIBS = ws2_32.a
-TARGET_CPPFLAGS = -D__REACTOS__ -D__USE_W32API
+TARGET_CPPFLAGS = -D__REACTOS__ -D__USE_W32API -Wall
TARGET_GCCLIBS = stdc++
rosapps/net/telnet/src
diff -u -r1.4 -r1.5
--- stl_bids.h 24 Sep 2002 03:57:59 -0000 1.4
+++ stl_bids.h 10 Mar 2004 18:57:36 -0000 1.5
@@ -18,6 +18,7 @@
class TArrayAsVector : public vector<T> {
private:
const unsigned int growable;
+ typedef size_t size_type;
const size_type lowerbound;
public:
TArrayAsVector(size_type upper,
@@ -128,15 +129,11 @@
#ifdef _MSC_VER
_Destroy(begin(), end());
_Last = _First;
-#else
-// destroy(begin( ), end( ));
-#ifdef __CYGWIN__
+ destroy(begin( ), end( ));
+#elif defined (__CYGWIN__) || defined (__MINGW32__)
_M_finish = _M_start;
-#endif
-// finish = start; /* Removed for ReactOS */
-#ifdef __REACTOS__
- _M_finish = _M_start;
-#endif
+#else /* Anything else */
+ finish = start;
#endif
}