> >I won't try and get through the whole list but the first problem the
> >compiler balked about seems interesting. The 'limits' header in the MSL
> >defines a 'class numeric_limits' with 'min' and 'max' members. 'min' and
> >'max' are also macros defined in 'UICommon.h'. Boom...
>
> What do you mean "Boom"? Include one file. Undef min/max. Include
> the second
> file. Simple. If that's not practical, open UICommon.h, remove
> the definitions
> of min/max, and save the result.
My apologies Keith. You are correct that "Boom" is overkill and
inappropriate but all I've done is include 'Palm.h' and 'stdexcept'.
Christopher's Teenee is packaged with his own 'stdexcept' but I was just
tinkering with using the MSL header instead. I'm a conformist at heart and
figured that since it shipped with the compiler, it was sanctioned. Being a
conformist, it goes against my grain to modify the headers that shipped with
it as well.
<soapbox directed@metrowerks !keith>
Call me old fashion (I'm only 30!) but I believe a tool vendor should ship a
product with appropriate peripherals and should expect customers to use
those peripherals. I once saw my kid brother hammering a screw into a
board. He explained why saying the screws were in the drawer next to the
hammer. Don't ship the MSL and the PalmOS headers in the same package if
they shouldn't be used together. You end up with inflammatory idiots like
myself trying to shoot themselves in the foot.
</soapbox>
>
> >I'm guessing MSL is not appropriate yet for use with Palm development?
> >Comments?
>
> It would all depend on what you're using it for and how you're
> using it. If
> you're using the min/max template functions (or is that function
> templates?),
> then it's fine. If you're using the streaming classes with full
> locale support,
> they're not.
Granted. We don't need to rehash code bloat generated by inappropriate use
of C++.
I humbly back down now after removing the offending MSL references from my
code and project.
-Paul
--
Paul Dugas, Computer Engineer mailto:[EMAIL PROTECTED]
Dugas Enterprises, LLC At The Ga. DOT http://pauld.dugas.com
1711 Indian Ridge Drive tel:404-624-7840 tel:770-516-4955
Woodstock, GA 30189-6856, USA fax:404-624-7842 fax:770-516-4841