Re: [fpc-pascal] lazarus problem

2013-03-07 Thread Mattias Gaertner
GMAIL hat am 7. März 2013 um 18:01 geschrieben: > I am using Lazarus for creating command line Free Pascal programs. > I did not realize what hapend but while compiling the free pascal program I > get > the following: > > ld: symbol(s) not found for architecture i386 > ld: warning: -macosx_versio

[fpc-pascal] lazarus problem

2013-03-07 Thread GMAIL
I am using Lazarus for creating command line Free Pascal programs. I did not realize what hapend but while compiling the free pascal program I get the following: ld: symbol(s) not found for architecture i386 ld: warning: -macosx_version_min not specified, assuming 10.7 Undefined symbols for archi

[fpc-pascal] Fwd: [Lazarus] Free-pascal question: Embedded programming

2013-03-07 Thread Chavoux Luyt
Sorry for cross-posting... I asked this question on Lazarus list and was told that it fits better here... -- Forwarded message -- From: Chavoux Luyt On 7 March 2013 12:11, Michael Schnell wrote: > > On 03/07/2013 10:45 AM, Chavoux Luyt wrote: >> >> 1. How good is Lazarus/fpc for

Re: [fpc-pascal] Sigsegv with refcounting interface

2013-03-07 Thread Joao Morais
On Thu, Mar 7, 2013 at 9:27 AM, José Mejuto wrote: > > Hello, > > AFAIK you are casting a IUnknown to iintf instead requesting the iintf > interface. I think the right procedure should be: > > v1 := vintf[0] as iintf; Hello, thanks for your reply. You are right, changing to a safe typecast, don'

Re: [fpc-pascal] arm-android, SQLite and the default libary

2013-03-07 Thread Sven Barth
On 07.03.2013 17:52, Michael Van Canneyt wrote: On Thu, 7 Mar 2013, Sven Barth wrote: Hello together! I'm currently experimenting with porting our Windows Mobile client to Android. After some poor man's debugging I noticed that the wrong SQLite library is loaded. While we might want to chang

[fpc-pascal] Patch to enable Win64 SEH was: Re: LuaJIT 2 crashes under FPC+Win64. SEH issue?

2013-03-07 Thread Reinier Olislagers
On 2-3-2013 15:02, Marco van de Voort wrote: > In our previous episode, denisgolovan said: >> Building FPC with -dTEST_WIN64_SEH makes the trick! > > Hmm, maybe it is slowly time to make this default in trunk? Uploaded a patch at http://bugs.freepascal.org/view.php?id=24012 Please have a look,

Re: [fpc-pascal] arm-android, SQLite and the default libary

2013-03-07 Thread Michael Van Canneyt
On Thu, 7 Mar 2013, Sven Barth wrote: Hello together! I'm currently experimenting with porting our Windows Mobile client to Android. After some poor man's debugging I noticed that the wrong SQLite library is loaded. While we might want to change the default library for Android to 'libsqlit

[fpc-pascal] arm-android, SQLite and the default libary

2013-03-07 Thread Sven Barth
Hello together! I'm currently experimenting with porting our Windows Mobile client to Android. After some poor man's debugging I noticed that the wrong SQLite library is loaded. While we might want to change the default library for Android to 'libsqlite.so' I thought I'd experiment with the '

[fpc-pascal] Re: Get error information

2013-03-07 Thread leledumbo
> How to read the information? You can take a look at the wiki article Executing External Programs, substituting Output property with StdErr. Or if you use FPC 2.7.1, you can see how RunCommand*** functions are implemented. Same as above article, subsitute Output with StdErr. > Ist stderr equal w

RE: [fpc-pascal] Re: Text IDE, the displayed cursor position

2013-03-07 Thread Pierre Free Pascal
The bug is indeed 64-bit specific... Hopefully fixed in rev 23704, http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=23704 Pierre Muller > -Message d'origine- > De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal- > boun...@lists.freepascal.org] De la part

Re: [fpc-pascal] Sigsegv with refcounting interface

2013-03-07 Thread José Mejuto
El 07/03/2013 12:29, Joao Morais escribió: Hello list, what's the problem with "RoundThree" procedure (below)? Here it raises a sigsegv trying to read an internal field. The difference from "RoundTwo" is that I create an implementation of the interface within the first param of tinterfacedlist.ad

[fpc-pascal] Sigsegv with refcounting interface

2013-03-07 Thread Joao Morais
Hello list, what's the problem with "RoundThree" procedure (below)? Here it raises a sigsegv trying to read an internal field. The difference from "RoundTwo" is that I create an implementation of the interface within the first param of tinterfacedlist.add method. Same problem with fpc 2.6.2 and 2.

Re: [fpc-pascal] Re: Get error information

2013-03-07 Thread Rainer Stratmann
Am Tuesday 05 March 2013 17:19:15 schrieb leledumbo: > If the 2nd program is FPC program and is compiled with -gl, then upon crash > StdErr will contain the runtime erorr information. 1st program can read > that when the 2nd program dies. How to read the information? Ist stderr equal with /dev/std

Re: [fpc-pascal] Ical/.ics library?

2013-03-07 Thread Michael Van Canneyt
On Thu, 7 Mar 2013, Reinier Olislagers wrote: Hi list, (Had posted this earlier on the forum) I'm looking at some day replacing some of my own utilities written using .net code with FPC code. One tool extracts birthdays from a database, slaps a reminder time on it and exports it as ical/.ic