This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

host-side infra clean-up


Get the host-side infra building with current gcc.

Bart

2008-08-14  Bart Veer  <bartv@ecoscentric.com>

	* assert.cxx: fix build problems with recent gcc

Index: assert.cxx
===================================================================
RCS file: /cvs/ecos/ecos/host/infra/assert.cxx,v
retrieving revision 1.4
diff -u -p -r1.4 assert.cxx
--- assert.cxx	11 Aug 2002 21:42:03 -0000	1.4
+++ assert.cxx	14 Aug 2008 21:41:07 -0000
@@ -59,8 +59,10 @@
 
 // STDIO is needed for the default assertion handler.
 // STDLIB is needed for exit() and the status codes.
+// STRING is needed for strcpy()
 #include <cstdio>
 #include <cstdlib>
+#include <cstring>
 
 #if defined(__unix__) || defined(__CYGWIN32__)
 extern "C" {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]