pppchar error
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
define pppchar as following
type
pppchar=^ppchar;
program pppcharerror;
uses x,xlib,libc;
var
para3:PPPChar;
display:pdisplay;
fontset:TXFontset;
num_missing_charsets:plongint;
default_string:ppchar;
begin
fontset :=XCreateFontSet(display,PChar('--misc-medium-r-normal--16-------,---medium-r-normal--16-------*'),
para3,num_missing_charsets,default_string);
end.
when compile the source code got following error
Free Pascal Compiler version 1.9.2 [2004/01/08] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Linux for i386
Compiling pppcharerror.pp
pppcharerror.pp(11,16) Error: Incompatible type for arg no. 3: Got "PPPChar", expected "PPPChar"
pppcharerror.pp(13) Fatal: There were 1 errors compiling module, stopping
Additional information:
Reporter: gongyu
EMail:
Mantis conversion info:
- Mantis ID: 5014
- OS: All
- Version: 1.9.2