Re: Does PODS support exceptions
Hmmm, it seems to me exception handling is a must-have for modern C++ developers. Many projects couldn't be ported to PalmOS until this is fixed. When will it be implemented? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Does PODS support exceptions
I dont use very many templates. Just for scoped ptrs and vectors. Does any form of the STL run on pods? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Does PODS support exceptions
On Fri, May 06, 2005 at 12:02:19AM -0500, Ben Combee wrote: > The 68K compiler has C++ template support, but I'm not sure if there's a > good way to put template instances into different sections, so if you're > not careful, it will be easy to fill up the 32K you have for the default > code section. You can put template instances into different sections, but if you instantiate a template with a lot of different types, it's still possible to fill up the template's section. I have not yet found a good way to put different instantiations of the same template into different sections. -- Dave Carrigan Seattle, WA, USA [EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680 UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Does PODS support exceptions
Ben Combee wrote: At 08:14 PM 5/5/2005, you wrote: what about templates and stl. does pods support them? The 68K compiler has C++ template support, but I'm not sure if there's a good way to put template instances into different sections, so if you're not careful, it will be easy to fill up the 32K you have for the default code section. I haven't tried it (and I'm rusty on templates), but it seems like one idea would be to explicitly instantiate the templates in some .cc file or files. Then, since you can control the segment in which certain code lands, in theory you should be able to control where the explicit instantiations land in the same manner. You'd probably want to turn off implicit template instantiation to make sure you catch all the templates. (Or maybe not, if you just care about getting *enough* of them to keep the size down.) - Logan -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Does PODS support exceptions
At 08:14 PM 5/5/2005, you wrote: what about templates and stl. does pods support them? The 68K compiler has C++ template support, but I'm not sure if there's a good way to put template instances into different sections, so if you're not careful, it will be easy to fill up the 32K you have for the default code section. There is a version of stlport for 68K included with PODS, but I don't remember how well it's been tested. It is mainly there for Palm OS Protein applications. -- Ben Combee, Senior Software Engineer, palmOne, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Does PODS support exceptions
what about templates and stl. does pods support them? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Does PODS support exceptions
At 04:56 PM 5/5/2005, you wrote: I have a simple test application where I am throwing an exception in a PODS project. This compiles just fine in both CodeWarrior and PODS 1.1, but the PODS compiled program dies when throwing the exception. Does PODS support exception handling? The prc-tools compiler used for 68K development in PODS doesn't have exception handling support. -- Ben Combee, Senior Software Engineer, palmOne, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/