[fpc-devel] cpstrnew branch: Search path for 'cpid.pp' unit?

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Dec 4 11:30:02 CET 2009


Hi,

Working on the 'cpstrnew' branch. I got code page conversions working in
the <XXX>to<YYY>Move functions - temporarily by hard-coding lookup values.

To remove the hard-coded lookups, I need to access the Encodings array
defined in the compiler/cpid.pas unit from the rtl/unix/cwstring.pp unit,
but if I include the cpid in the uses clause of the cwstring unit, the
compiler complains when I try and compile the RTL - saying it can't find
the cpid.pp unit.

How or where do I setup the search path to find the cpid.pas unit?


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-devel mailing list