Ben, My System access path is:
Palm OS Supprt POL Support MSL_C\MSL_Common\Include MSL_C++\MSL_Palm_OS\Include It finds list but I have the 2 redefinitions I mentioned. Any ideas? Dave > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Ben > Combee > Sent: Friday, March 08, 2002 12:27 AM > To: Palm Developer Forum > Subject: Re: CodeWarrior question > > > "Dave Brown" <[EMAIL PROTECTED]> wrote in message > news:79113@palm-dev-forum... > > > > I figure many here use CodeWarrior for the Palm so I was hoping > someone may know how to include MSL. > > > > I am trying to use MSL C++ and when I include <list> to use the linked > list I get a boat load of redefinition errors. Like offsetof > > and new. I have looked at the docs and didn't see anything special to > define. > > The problem is probably with your access path. MSL's <list.h> conflicts > with the header <List.h> in the Palm OS SDK. Make sure that > "{Compiler}Palm OS Support" preceeds "{Compiler}(MSL for Palm OS)" in > your access path list. > > I just tried this with CW Palm 8.1, and it worked OK. I can't reproduce > your problem -- if I switch the order of access paths, I get the #error > I setup in MSL's List.h about the wrong order. > > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see >http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/