[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcc 3.0.1
From: |
J.H.M. Dassen (Ray) |
Subject: |
Re: gcc 3.0.1 |
Date: |
Tue, 30 Apr 2002 14:49:30 +0200 |
User-agent: |
Mutt/1.3.28i |
On Tue, Apr 30, 2002 at 13:54:34 +0200, Georg Ritter wrote:
> I found that the ddd/logplay.C does not compile with gcc 3.0.1 on linux.
>
> Some <fstream.h> compat. issue.
Move the '#include <fstream.h>' before the '#include "logplayer.h"':
--- ddd-3.3.1.orig/ddd/logplayer.C
+++ ddd-3.3.1/ddd/logplayer.C
@@ -33,6 +33,8 @@
#pragma implementation
#endif
+#include <fstream.h>
+
#include "logplayer.h"
#include "assert.h"
@@ -43,7 +45,6 @@
#include "streampos.h"
#include <iostream.h>
-#include <fstream.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
HTH,
Ray
--
Windows 2001: "Oh my god, it is full of bugs"
- gcc 3.0.1, Georg Ritter, 2002/04/30
- Re: gcc 3.0.1,
J.H.M. Dassen (Ray) <=