Re: [fpc-devel] AV in compiler

2006-02-17 Thread Martin Schreiber
On Thursday 16 February 2006 20.46, Jonas Maebe wrote: FPC crashes with AV: Same problem with version 0.8. Fixed. Thank you very much Jonas. There is another AV: - with MSEide+MSEgui version 0.8 open project 'msegui/apps/ide/mseide.prj'. - 'Project'-'Build'. -

Re: [fpc-devel] AV in compiler

2006-02-17 Thread Jonas Maebe
On 17 feb 2006, at 10:04, Martin Schreiber wrote: There is another AV: - with MSEide+MSEgui version 0.8 open project 'msegui/apps/ide/ mseide.prj'. - 'Project'-'Build'. - 'File'-'Open'-'objectinspector.pas' (you will be asked for 'main.mfm' and 'actionsmodule.mfm'). - Enter a space at

Re: [fpc-devel] AV in compiler

2006-02-17 Thread Martin Schreiber
On Friday 17 February 2006 11.01, Jonas Maebe wrote: Note that I can't use msegui, because it seems that its redrawing is incompatible with the Mac OS X port of xfree86 (I'm running msegui remotely on a linux/x86 box). E.g. the menus are drawn behind the main window (so you can only select

[fpc-devel] Windows Defines

2006-02-17 Thread Felipe Monteiro de Carvalho
Hello, I am working on the Windows CE Widgetset for Lazarus. There were some defines on LCL like this: {$ifdef win32} do something windows specific {$endif} But I would like those to be executed for Windows CE also, so we discovered that WINDOWS is defined for both on 2.1.x. Later we found

Re: [fpc-devel] Windows Defines

2006-02-17 Thread Bogusław Brandys
Felipe Monteiro de Carvalho wrote: Hello, I am working on the Windows CE Widgetset for Lazarus. There were some defines on LCL like this: {$ifdef win32} do something windows specific {$endif} But I would like those to be executed for Windows CE also, so we discovered that WINDOWS is defined

Re: [fpc-devel] Windows Defines

2006-02-17 Thread Daniël Mantione
Op Fri, 17 Feb 2006, schreef Felipe Monteiro de Carvalho: Hello, I am working on the Windows CE Widgetset for Lazarus. There were some defines on LCL like this: {$ifdef win32} do something windows specific {$endif} But I would like those to be executed for Windows CE also, so we

Re: [fpc-devel] Windows Defines

2006-02-17 Thread Felipe Monteiro de Carvalho
On 2/17/06, Bogusław Brandys [EMAIL PROTECTED] wrote: What about using {$ifdef win32} and for WinCE specific {$ifdef wince} ? The problem is that the code works for both. There are no WinCE specific parts. And win32 isn´t defined for Windows CE. -- Felipe Monteiro de Carvalho

Re: [fpc-devel] Windows Defines

2006-02-17 Thread Oro06
Danil Mantione wrote: Op Fri, 17 Feb 2006, schreef Felipe Monteiro de Carvalho: Hello, I am working on the Windows CE Widgetset for Lazarus. There were some defines on LCL like this: {$ifdef win32} do something windows specific {$endif} But I would like those to be executed

Re: [fpc-devel] Windows Defines

2006-02-17 Thread Peter Vreman
Hello, I am working on the Windows CE Widgetset for Lazarus. There were some defines on LCL like this: {$ifdef win32} do something windows specific {$endif} But I would like those to be executed for Windows CE also, so we discovered that WINDOWS is defined for both on 2.1.x. Later we

Re: [fpc-devel] Windows Defines

2006-02-17 Thread Peter Vreman
this could not work ? (i think i already use it ) {$if defined(win32) or defined(wince)} {$endif} Of course it can, but I think the ultimate goal is to make all source code files {$ifdef windows}. Forcing the define in a global include file will make that possible with the current

Re: [fpc-devel] Windows Defines

2006-02-17 Thread Felipe Monteiro de Carvalho
On 2/17/06, Peter Vreman [EMAIL PROTECTED] wrote: Merged patch of the WINDOWS define to 2.0.3 Thanks. -- Felipe Monteiro de Carvalho ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

[fpc-devel] libc bug on Linux

2006-02-17 Thread petr . kristan
Linux, fpc from svn. program pokus; uses Libc; begin writeln(CODESET,', ', nl_langinfo(CODESET)); end. If I compile with Borland dcc, then I get right answer: 14, ISO-8859-2 but with fpc I get: 14, ANSI_X3.4-1968 If I try to modify program to eliminate the rtl errors: program pokus; const

[fpc-devel] Profiling on win32 (again)

2006-02-17 Thread Giulio Bernardi
Hi, a strange thing has happened :P When Peter fixed the gprof bug on win32, I simply downloaded gprt0.as from svn, recompiled it and replaced the old gprt0.o in my 2.0.2 install with the new one: everything worked. Now, I made a small package (gprof_win32) with libraries from cygwin and