This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc 3.0 - wchar_t redeclared?


On Mon, Sep 03, 2001 at 06:05:24PM +0200, Pavel Novy wrote:
> Hi,
> since gcc 3.0 I am experiencing the following issue when compiling any 
> C++ source code with Novell NDK headers included:
> 
> ../../bin/gcc.exe -c -save-temps -v -B ../../bin/ -I../../include 

Why are you using -B here?


> Using builtin specs.

That's never a good sign.  Try not using -B.

> Configured with: ./configure --target=i386-pc-linux-gnu

You need to read the installation instructions, specifically the part about
"we highly recommend building the compiler in a separate build directory."

> Is it a bug in gcc 3.0+? Or, could it be solved by some compiler switch?

Try not using -B.


Phil

-- 
Would I had phrases that are not known, utterances that are strange, in
new language that has not been used, free from repetition, not an utterance
which has grown stale, which men of old have spoken.
                                     - anonymous Egyptian scribe, c.1700 BC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]