Re: Constructors not called ???
Posted: Thu May 21, 2009 6:48 am
Ah, Planet Source Code! It has been a long long time since the last time I visit it.
EDIT: That project looks good. Clean and easy-to-understand code.
But there is still problems: it uses DJGPP. And another C++ kernel is Magneto also built under DJGPP. My code is identical to theirs, but their codes compile w/o errs or warnings (on DJGPP only, GCC generate errs ). Compiler specific ???
EDIT 2: After inserting _dso_handle, _cxa_atexit , the code is compliable on GCC/Cygwin. And still need some lines to be Multiboot compatible.
But after that, it compiled and ran flawlessly, except "deprecated conversion from string constant to char*" warnings ( I hates them so )
EDIT 3: It's keyboard driver sucks! All kind of errors, and stops with Triple Fault.
EDIT: That project looks good. Clean and easy-to-understand code.
But there is still problems: it uses DJGPP. And another C++ kernel is Magneto also built under DJGPP. My code is identical to theirs, but their codes compile w/o errs or warnings (on DJGPP only, GCC generate errs ). Compiler specific ???
EDIT 2: After inserting _dso_handle, _cxa_atexit , the code is compliable on GCC/Cygwin. And still need some lines to be Multiboot compatible.
But after that, it compiled and ran flawlessly, except "deprecated conversion from string constant to char*" warnings ( I hates them so )
EDIT 3: It's keyboard driver sucks! All kind of errors, and stops with Triple Fault.