Stderr in S60
One thing that I noticed in the S60 3.0 port (the only one that runs anyhow at all so far) is the output to stderr. GNU Go seems to have several places (not in the interface code) where it prints out warning or error messages to stderr.
This has the unfortunate effect of opening up a console window like the one shown on top of the GUI. You can swich back using the app switcher, but it's annoying, and obviously can't be like that in the final version.
For the moment I am just going to #ifdef out the offending sections, but it seems like an inelegant solution. I wonder if there is a better way. Perhaps something like closing stderr will work, though I suppose it depends on where the console is automagically initiated.
0 comments:
Post a Comment