At 10:48 2003-2-26 +0100, you wrote:
Hi,

I try to port my app from 8.3 to 9.1, but when i compile i have link errors :

Link Error : gameDetector.cpp: '_current_locale' referenced from 'GameDetector::parseCommandLine(int,char**)' is undefined.

Link Error : dialog.cpp: '_current_locale' referenced from 'Dialog::handleKeyDown(unsigned short,int,int)' is undefined.

Link Error : message.cpp: '_current_locale' referenced from 'MessageDialog::addLine(const char*,int)' is undefined.

Link Error : ListWidget.cpp: '_current_locale' referenced from 'ListWidget::handleKeyDown(unsigned short,int,int)' is undefined.

Link Error : EditTextWidget.cpp: '_current_locale' referenced from 'EditTextWidget::handleKeyDown(unsigned short,int,int)' is undefined.

Link Error : file.cpp: '_current_locale' referenced from 'File::fopenNoCase(const char*,const char*,const char*)' is undefined.

Link Error : player.cpp: '_current_locale' referenced from 'isdigit' is undefined.

_current_locale is a variable used by the Metrowerks Standard Library in V9. It is defined in the MSL static library for your runtime type. You need to include the right lib file from "CW for Palm OS Support\MSL\MSL_C++\MSL_Palm_OS\Lib\68K" in your project, and then your code should link again.


--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com



-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to