[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
Re: [Mingw-cross-env-list] g++ 4.5.2 is pulling system headers from the wrong place
Wed, 19 Jan 2011 19:34:09 +1100
On 19 January 2011 12:36, René Berber <address@hidden> wrote:
> 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.