bug-ddd
[Top][All Lists]
Advanced

[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:

#ifndef _CPP_BACKWARD_FSTREAM_H
#define _CPP_BACKWARD_FSTREAM_H 1

#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

#ifdef _GLIBCPP_USE_WCHAR_T
using std::wfilebuf;
using std::wifstream;
using std::wofstream;
using std::wfstream;
using std::wstreampos;
#endif

#endif


reply via email to

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