Well, got my systems up and running again, so got some development done too. Nothing big and fancy yet tho - added minimal module example to aid future module writers, and enabled -pedantic compile flag, which enforces strict ISO C++ standard compliance from all code. Interesting thing about the latter is that it also detects (and gives errors) on extronous semicolons (;) in places where they shouldn't be (e.g. after function definitions). Generally you don't put semicolons there, e.g.
void myfunc() { ... };However, since MSVC parser couldn't handle function-level try .. catch blocks properly and gave parse errors in some cases such as this:
void myfunc() try { ... } catch (myerr&) { ... } catch (...) { .. }I had to add ; to the last line to keep the parser happy. However, ISO C++ requires no ; there. Ohwell, guess I'll have to implement MSVC_ONLY() macro to compile code only on MSVC in such cases (writing #ifdefs at all such places is tiresome).
On other news, as you might notice, there's google ads on the right side of this blog. While there aren't many visitors right now on the blog, it's still worth a try. Since this is a development blog, adsense will most likely pick up software development-related ads, which should be rather interesting (personally I already found one interesting piece of software through that ad - some MSVC extension called IncrediBuild, that seems interesting and worth a trial run). The money coming from clicks on those ads will be used for additional hardware for better/faster development.
Madcat, ZzZz