Re: pgAdmin3 1.4 stability issues on ubuntu/dapper - Mailing list pgadmin-hackers

From Magnus Hagander
Subject Re: pgAdmin3 1.4 stability issues on ubuntu/dapper
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0FA82@algol.sollentuna.se
Whole thread Raw
In response to Re: pgAdmin3 1.4 stability issues on ubuntu/dapper  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgadmin-hackers
> > Hm, they are using gcc 4.0.3 by default. Since using that compiled
> > lead to a pgadmin3 that wouldn't even start up, I'm now
> using gcc 3.3.
> > Of course, wx is compiled with 3.3 too, but gtk and friends are the
> > ubuntu version, and therefore compiled with 4.0.3 I
> believe. But for
> > _C_ code, mixing compiler versions shouldn't hurt, should it?
>
> It certainly can do (recent example; wx built with VC++ 6.0
> won't work with pgAdmin built with VC++ 8.0 at all). Dunno if
> there are any incompatible changes between the GCC versions though.

That's not because the *compilers* are different, that is because they
link to different versions of the runtime (libc/msvcrt versions). This
is documented as safe if and only if you don't pass CRT pointers between
the two modules. (for example, this kills gettext because of the
overriding of the *printf* functions)

As long as the lib is the same, the compiler *sohuldn't* matter. That's
not to say that it's so in reality, though ;-)


//Magnus

pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: pgAdmin3 1.4 stability issues on ubuntu/dapper
Next
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r5238 - trunk/pgadmin3/src/frm