[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ddd 3.3.1 do not compile with gcc 3.0 (fix)
From: |
Vladimir Kondratiev |
Subject: |
ddd 3.3.1 do not compile with gcc 3.0 (fix) |
Date: |
Mon, 09 Jul 2001 16:39:37 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2+) Gecko/20010708 |
ddd 3.3.1 failed to compile with gcc 3.0 due to conflicting 'streampos'
declarations.
Patch attached.
With this patch, ddd compiles and runs for me on Linux/i386 with no
problems.
Vladimir.
--- ddd-3.3.1-orig/ddd/logplayer.C Thu Apr 26 07:08:07 2001
+++ ddd-3.3.1/ddd/logplayer.C Mon Jul 9 15:53:35 2001
@@ -40,7 +40,10 @@
#include "strclass.h"
#include "cook.h"
#include "config.h"
+// GCC 3.0 defines streampos by itself
+#if !(defined(__GNUC__) && __GNUC__==3)
#include "streampos.h"
+#endif
#include <iostream.h>
#include <fstream.h>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- ddd 3.3.1 do not compile with gcc 3.0 (fix),
Vladimir Kondratiev <=