At 02:40 PM 8/6/2004, you wrote:
sorry for the few information! I am using codewarrior 8.0 to compile my
projects and in this I break up of codigo meeting the following error!

I want to use the macro offsetof!!!

Code:

UInt16 offset = offsetof(PackedCliente, nome);

Error   : function has no prototype
DBrecordMain.c line 297       UInt16 offset = offsetof(PackedCliente, nome);

So i try use

#include <cstddef> and #include<stddef.h>

You need to add the MSL access path to your access path list -- it should be "{compiler}MSL for Palm OS" in V8.


-- Ben Combee, DTS technical lead, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Palm OS Dev Fourm 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/

Reply via email to