This is the mail archive of the gcc@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: Anyone tried building Qt-2.3 with gcc3-prerelease?


On Fri, Jun 15, 2001 at 01:55:49PM +0800, Richard Chan wrote:
> Before I plunge in...has anyone built qt-2.3 with gcc3-prerelease?
> Any gotchas or recommended settings? (I seem to recall problems
> with exception handling). I want to use the ISO C++ compatibility libstdc++-v3 stuff
> including the -fhonor-std flags.
> 
Actually, just did this myself.

honor-std is default in gcc-3_0-branch IIRC.

Find qglobal.h. Look for #define Q_SPURIOUS_NON_VOID_WARNING
change
#if __GNUC__ == 2 && __GNUC_MINOR__ >= 95
to
#if __GNUC__ ==3 || __GNUC__ == 2 && __GNUC_MINOR__ >= 95

all else working just fine.

Of course, you first need to alter configs/$(your_file){static,shared}
so that it uses g++-3.0/gcc-3.0 if you don't have them as g++/gcc first
in your path.

-- 
Gordon Sadler


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