[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make fails on Mandrake 8.0 with gcc 3.0

From: David Brusowankin
Subject: make fails on Mandrake 8.0 with gcc 3.0
Date: Mon, 25 Jun 2001 23:47:29 -0400
User-agent: Mozilla/5.0 (X11; U; Linux 2.4.3-20mdk i686; en-US; rv:0.9.1) Gecko/20010607 Netscape6/6.1b1

c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include    -DNDEBUG -O2 -g -W -Wall -trigraphs  -c logplayer.C
In file included from logplayer.C:46:
/usr/local/include/g++-v3/backward/fstream.h:38: using directive `streampos'
   introduced ambiguous type `streampos'
make[1]: *** [logplayer.o] Error 1
make[1]: Leaving directory `/usr/local/src/ddd-3.3.1/ddd'
make: *** [all-recursive] Error 1

The following is the code from fstream.h:


#include "backward_warning.h"
#include <bits/std_fstream.h>

using std::filebuf;
using std::ifstream;
using std::ofstream;
using std::fstream;
using std::streampos;                         // <----- the line creating the error

using std::wfilebuf;
using std::wifstream;
using std::wofstream;
using std::wfstream;
using std::wstreampos;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]