On Tue, 22 Jun 2004, MenTaLguY wrote:
On Tue, 2004-06-22 at 13:46, Bryce Harrington wrote:
On Tue, 22 Jun 2004, Bob Jamison wrote:
Well, come to think of it, I don't think we have ever had a completely different compiler build this. A good test of our portability would be the free command-line version of Borland C++ 5.5, here: http://borland.com/products/downloads/download_cbuilder.html#
It is a very strict ANSI compiler.
That's a good idea. Lauris had gotten Sodipodi to compile with MSVC, although I think there were some changes needed that are not in our codebase.
I can guarantee you that Inkscape will not compile with a non-gcc compiler at this time.
Off the top of my head, two culprits would be my use of gcc's __attribute__ extension (fixable with a simple #define, though), and fred and I have both used a hash_map class which is specific to gcc's version of the SGI STL.
Hmm... Yet another reason to consider using either the standard map<> template, or, if performance really is a serious issue, to implement a custom non-template version in the Inkscape codebase.
What does __attribute__ do? I haven't run across that before.
Bryce