Andrej Borsenkow <[EMAIL PROTECTED]> wrote:
> It is much more simple than that. Using any Txt* function in above
> configuration generates
>
> #APP
> ** Sorry; calling this function with these header files doesn't work yet.
> Life will be much better with 3.5 headers
> #NO_APP
...and then the function just didn't get called, so it seemed to return 0.
Sorry about that; that message between the #APPs was supposed to cause a
compile time error alerting you that the "selectorized" function wouldn't
work in GCC with that SDK. Unfortunately `*' introduces a comment... :-(
So that you'll get warned next time, change line 83 in
sdk-3.1/include/Core/Common.h so that it has some *truly* invalid syntax:
-#define _ALAS __attribute__ ((__callseq__ ("** Sorry; calling this [...]
+#define _ALAS __attribute__ ((__callseq__ ("@; Sorry. Calling this [...]
>>> I'd use glue library - but headers seem to be missing in 3.1 SDK just as
>>> library itself in PRC-tools 2.0.
(You wouldn't expect to find the library in prc-tools, since it's a part of
the Palm OS SDK rather than part of prc-tools. Certainly the 3.5 SDK is the
first one which contains libraries in GCC format as well as in CodeWarrior
format.)
John
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html