Re: ddd compilation error

Michael Eager <[email protected]> Thu, 22 Jun 2017 08:51:02 -0700
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <[email protected]>
On 06/21/2017 11:31 AM, A B wrote:
>
> Hallo Andreas,
>
> Ich benutze gdb seit Jahren, vor zwei Tagen habe ich versucht, auch ddd
> zu instalieren. Ich habe ddd-3.3.10 and ddd-3.3.12 runtergeladen and bei
> de zu kompilieren verucht. Beide fallen aus mit der gleichen vierfachen
> Fehlermeldung: "strclass.C : EOF not declared in this scope".

Diesen Patch anwended:


--- ddd-3.3.12-orig/ddd/strclass.C      2009-02-11 09:25:06.000000000 -0800
+++ ddd-3.3.12/ddd/strclass.C   2016-09-29 12:10:44.557486292 -0700
@@ -39,6 +39,7 @@ extern "C" int malloc_verify();
  #include <limits.h>
  #include <new>
  #include <stdlib.h>
+#include <stdio.h>

  void string::error(const char* msg) const
  {

-- 
Michael Eager	 [email protected]
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077