My fixes are definately a hack. I added a param to change the signatures of said functions. Basically, it looks like someone was trying to be clever and use templates in a strange way. My gentoo box had no problems with this way of using templates, I suggest you try using gcc 3.3. If we just rename those troubled methods (I think this is how it was originally), we should be fine. Let me know if you need a list of the 5 functions that are causing the problem.
/Shawn On 4/1/07, Kai Antweiler <[EMAIL PROTECTED]> wrote:
Hi, Considering the mail from Shawn about his compiler having problems with some of our code, I have tried to get our code to work with flags -wall -pedantic . But I couldn't get gcc to complain about the functions that Shawns compiler had trouble with. I spend hours doing changes like removing "," from the last enum elements and removing ";" from the closing "}" of namespaces. Or putting in type conversions between int and unsinged. But I added some missing return statements and a lot of type conversions too. So question is shall I upload this to cvs? I would say yes. But if some of you prefer using commas or semicolons in these places I leave everything the way it is in cvs now. And try to find the missing return types and most serious type conversions again. If no one complains, I will upload the changes in a few days. Shawn, can you mail me your Map.cpp and Map.h, so that I can implement your fixes before we release? Alternatively you'll can get an cvs account and commit them yourself. ps: I had to compile files that used VARARRAY by hand. It was criticised that compilers can't deal with this, but we provide an extra macro for theses compilers. -- Kai Antweiler _______________________________________________ glob2-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/glob2-devel
_______________________________________________ glob2-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/glob2-devel
