[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: Mark Brand
Subject: Re: [Mingw-cross-env-list] g++ 4.5.2 is pulling system headers from the wrong place
Date: Wed, 19 Jan 2011 19:37:04 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101206 SUSE/3.1.7 Thunderbird/3.1.7

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.
Good catch!  Yes that causes the problem; seems that 4.5.2 changes the
order of searching for headers, that's why 4.4.0 does find the correct one.

The parameters are generated by Qt (i686-pc-mingw32-qmake) with the help
of pkg-config (no problem on the .pc files), I'm looking into qmake.conf
to see how the include got there.

Hi René,

Just wanted to mention that you should probably be using the development version of mingw-cross-env from mercurial for this. It has .pc files for Qt and dbus (which I think you need). Are you using "i686-pc-mingw32-pkg-config"?



reply via email to

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