Lars Gullik Bjønnes wrote:
Does your compiler allow:

class Base {
public:
      virtual Base * clone();
};

class Derived : public Base {
public:
        virtual Base * clone() {
                return new Derived;
        }
};

?? (what about if we add some template classes?)

I haven't tried, since I ran out of time.

For those that are interested, attached is an archive of my changes so far. Apply the patch, put os_win32.h in src/support and the rest of the new files in development/win32.

I'd like to commit the struct<->class, and->&& and #include fixes, since those are uncontroversial and improve correctness for all platforms.

The rest of the changes are mostly quick hacks that allows me to discover the problematic areas. Those parts of NOT intended to be committed.

I'll not have time to continue work on this until tomorrow.

Regards,
Asger

Attachment: msvc.tar.bz2
Description: Binary data



Reply via email to