[fpc-pascal] Firebird stored procedure exceptions generate access violation

2010-06-05 Thread Jim
Hi all, Still working on my locate clone at http://bitbucket.org/jb/flocate/ - download at http://bitbucket.org/jb/flocate/downloads Running Free Pascal Compiler version 2.4.1 [2010/06/01] for x86_64 on Windows. I've cobbled together some Firebird database code. If you want to have a more comple

Re: [fpc-pascal] Firebird stored procedure exceptions generate access violation

2010-06-05 Thread Michael Van Canneyt
On Sat, 5 Jun 2010, Jim wrote: Hi all, Still working on my locate clone at http://bitbucket.org/jb/flocate/ - download at http://bitbucket.org/jb/flocate/downloads Running Free Pascal Compiler version 2.4.1 [2010/06/01] for x86_64 on Windows. I've cobbled together some Firebird database cod

Re: [fpc-pascal] Firebird stored procedure exceptions generate access violation

2010-06-05 Thread Jim
On 5-6-2010 10:47, Michael Van Canneyt wrote: > On Sat, 5 Jun 2010, Jim wrote: >> Finally, the question: >> What I really want is to get a Firebird SQLCODE error code or some other >> details that allow me to figure out whether one of my custom exceptions >> get called. Also, it seems something is

Re: [fpc-pascal] Firebird stored procedure exceptions generate access violation

2010-06-05 Thread Jim
On 5-6-2010 10:47, Michael Van Canneyt wrote: > On Sat, 5 Jun 2010, Jim wrote: >> Finally, the question: >> What I really want is to get a Firebird SQLCODE error code or some other >> details that allow me to figure out whether one of my custom exceptions >> get called. Also, it seems something is

Re: [fpc-pascal] Firebird stored procedure exceptions generate access violation

2010-06-05 Thread Michael Van Canneyt
On Sat, 5 Jun 2010, Jim wrote: On 5-6-2010 10:47, Michael Van Canneyt wrote: On Sat, 5 Jun 2010, Jim wrote: Finally, the question: What I really want is to get a Firebird SQLCODE error code or some other details that allow me to figure out whether one of my custom exceptions get called. Al

Re: [fpc-pascal] Crosscompile FPC from Win32 to Linux

2010-06-05 Thread Henry Vermaak
On 5 June 2010 00:47, Henry Vermaak wrote: > > It may be better building the whole compiler for the latest version of > cygwin, but I'll see if I can scrape together the necessary files you > can drop into your fpc bin directory for this to work (not that many). >  I managed to get a simple writel

[fpc-pascal] regex vs synregexpr unit

2010-06-05 Thread Bihar Anwar
I've search fpc mailing list about this matter, I found they were discussed a long time ago (2006), and I still didn't have a conclusion about which one should be used. I need an advice about which unit should be used in terms of features, speed, etc. Also, if someone here know a better approac

[fpc-pascal] linking name issue

2010-06-05 Thread spir
Hello, I have renamed a unit previously called "UnitType" to "UnitSystem". The unit name itself, its file name, and the name used to import it in a uses clause inside a testing program where all changed. But the linker still expects the previous name: testUnit.pas(78,1) Warning: Object UnitType.

Re: [fpc-pascal] regex vs synregexpr unit

2010-06-05 Thread spir
On Sat, 5 Jun 2010 09:54:51 -0700 (PDT) Bihar Anwar wrote: > I've search fpc mailing list about this matter, I found they were discussed a > long time ago (2006), and I still didn't have a conclusion about which one > should be used. I need an advice about which unit should be used in terms of

Re: [fpc-pascal] linking name issue

2010-06-05 Thread Jonas Maebe
On 05 Jun 2010, at 19:38, spir wrote: > I have renamed a unit previously called "UnitType" to "UnitSystem". The unit > name itself, its file name, and the name used to import it in a uses clause > inside a testing program where all changed. > But the linker still expects the previous name: > te

Re: [fpc-pascal] regex vs synregexpr unit

2010-06-05 Thread Schindler Karl-Michael
Hi The pcre library (written in C) has a good reputation. You can get pascal headers from the Project JEDI Code Library (JCL). Mischi___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] linking name issue

2010-06-05 Thread David Emerson
Try deleting testunit.o and/or testunit.a, testunit.ppu ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] [SOLVED] linking name issue

2010-06-05 Thread spir
On Sat, 5 Jun 2010 11:13:31 -0700 David Emerson wrote: > Try deleting testunit.o and/or testunit.a, testunit.ppu Yes, there was another unit still referencing "UnitType" -- but not used by the TestUnit test prog. Strange that it may prevent testUnit to compile and link. Anything, deleted all bu

Re: [fpc-pascal] regex vs synregexpr unit

2010-06-05 Thread Bihar Anwar
Schindler Karl-Michael wrote on June 6, 2010 1:09:02 AM: >The pcre library (written in C) has a good reputation. You can get pascal headers from the Project JEDI Code Library (JCL). Wow, that seems a more promising approach in the current time, I'll look on it. Thanks so much. BTW, which approa