[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] g++ 4.5.2 is pulling system headers from the
From: |
Tony Theodore |
Subject: |
Re: [Mingw-cross-env-list] g++ 4.5.2 is pulling system headers from the wrong place |
Date: |
Wed, 19 Jan 2011 19:34:09 +1100 |
On 19 January 2011 12:36, René Berber <address@hidden> wrote:
> Hi,
>
> I just found this, the new g++ 4.5.2 fails where the old 4.4.0 was doing
> it right.
>
> The problem is obvious, 4.5.2 is including header /usr/include/wchar.h
[...]
> -I'../../usr/i686-pc-mingw32/include/QtDBus' -I'/usr/include' -I'..'
How are you generating those compiler flags? The "-I'/usr/include'" is
present in both and it's likely some other reason that gcc 4.4.0 isn't
failing also. See if not including that directory helps.
Cheers,
Tony