Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-09

UTF8ToSys function???

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

I'm trying to compile the tools/lazdatadesktop application and have quite a bit of trouble...

I have Lazarus v0.9.25 r16273M i386-linux-gtk and tried to use FPC 2.2.0, FPC 2.2.3 (r11538). Michael van Canneyt said that lazdatadesktop should compile fine with FPC 2.2.0 but that doesn't seem to be the case any more.

I got issues in "regdbexport.pp" and "reglazdatadict.pp" with IFDEF's being incorrect. They were easy to resolve.

The next issue I got was: Identifier not found "UTF8ToSys"

Michael said he didn't add that code.... So anybody got a clue as to what version of FPC has "UTF8ToSys" defined???

----------------[ Michael van Canneyt wrote: ]-----------------------

Show quoted text 16 lines
Then I got the following error: dicteditor.pp(672,29) Error: Identifier not found "UTF8ToSys" And the code is below... procedure TDataDictEditor.LoadFromFile(AFileName: String); begin FDD.LoadFromFile(UTF8ToSys(AFileName)); ShowDictionary; SetCaption; end; Any ideas in what version of FPC "UTF8ToSys" is defined? I'm still using FPC 2.2.3 (r11538).

Hell no, I definitely didn't put that code there, probably one of the Lazarus folks did that. I suggest you put

----------------------[ end ]------------------------

Regards,
- Graeme -

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

Reply by email

Vincent Snijders
to Graeme Geldenhuys
Graeme Geldenhuys wrote 15 lines
Hi, I'm trying to compile the tools/lazdatadesktop application and have quite a bit of trouble... I have Lazarus v0.9.25 r16273M i386-linux-gtk and tried to use FPC 2.2.0, FPC 2.2.3 (r11538). Michael van Canneyt said that lazdatadesktop should compile fine with FPC 2.2.0 but that doesn't seem to be the case any more. I got issues in "regdbexport.pp" and "reglazdatadict.pp" with IFDEF's being incorrect. They were easy to resolve. The next issue I got was: Identifier not found "UTF8ToSys"

It is in the FileUtil unit.

Vincent

Reply by email

Mattias Gaertner
to Graeme Geldenhuys: I'm trying to compile the tools/lazdatadesktop application and have quite a bit of…
Show quoted text 40 lines
Hi, I'm trying to compile the tools/lazdatadesktop application and have quite a bit of trouble... I have Lazarus v0.9.25 r16273M i386-linux-gtk and tried to use FPC 2.2.0, FPC 2.2.3 (r11538). Michael van Canneyt said that lazdatadesktop should compile fine with FPC 2.2.0 but that doesn't seem to be the case any more. I got issues in "regdbexport.pp" and "reglazdatadict.pp" with IFDEF's being incorrect. They were easy to resolve. The next issue I got was: Identifier not found "UTF8ToSys" Michael said he didn't add that code.... So anybody got a clue as to what version of FPC has "UTF8ToSys" defined??? ----------------[ Michael van Canneyt wrote: ]----------------------- > Then I got the following error: > > dicteditor.pp(672,29) Error: Identifier not found "UTF8ToSys" > > And the code is below... > > procedure TDataDictEditor.LoadFromFile(AFileName: String); > begin > FDD.LoadFromFile(UTF8ToSys(AFileName)); > ShowDictionary; > SetCaption; > end; > > > Any ideas in what version of FPC "UTF8ToSys" is defined? I'm still > using FPC 2.2.3 (r11538). Hell no, I definitely didn't put that code there, probably one of the Lazarus folks did that. I suggest you put

Fixed in r16353.

Mattias

Reply by email