Comment 9 for bug 361735

Revision history for this message
Razzloss (razzloss) wrote :

Hrmh, Either I have began to ignore warnings because of all the crap that dcpp/-spews out or I'll need to increase my compiler default warning settings (though scons should set all that up?). I'll need to check when I get home...

1st warning from wulforUtil is from a function that needs some error checking improvements anyway. So I'll get back to that with my next push.
2nd from mainwindow is from dcdebug statement, which can removed if simple casting won't fix it.

When you get to it, check out how command line arguments are handled. Do you have any objections on storing them to WulforUtil::startArgs (it's a static struct CommandLineArgs)?. I thought about putting them in WulforManager, but that didn't feel any more 'right' place than Util (plus it needs to be started). The best place would probably be MainWindow, but reaching that from main would require going thru Manager. And since the parsing is already done in Util, arguments ended up in there...

--RZ