This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.0 - wchar_t redeclared?
- To: Pavel Novy <novy at feld dot cvut dot cz>
- Subject: Re: gcc 3.0 - wchar_t redeclared?
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Mon, 3 Sep 2001 16:12:00 -0400
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <3B93AA44.7080503@feld.cvut.cz>
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