RE : RE : [fpc-pascal] Error when translating a C header

2011-10-05 Thread Ludo Brands
ey(_c); End; Ludo > -Message d'origine- > De : fpc-pascal-boun...@lists.freepascal.org > [mailto:fpc-pascal-boun...@lists.freepascal.org] De la part > de Luciano de Souza > Envoyé : mercredi 5 octobre 2011 01:28 > À : FPC-Pascal users discussions > Objet : R

RE : [fpc-pascal] Error when translating a C header

2011-10-04 Thread Ludo Brands
The problem is in line 20: replace #define K_apostrophe '\'' /* 39 */ with #define K_apostrophe ' ' /* 39 */ and h2pas will create iupkey.pp. Then, in iupkey.pp replace K_apostrophe = ' ' with K_apostrophe = The problems aren't over yet. You'll need to replace K_quotedbl = '\"' with K_qu