Re: [fpc-devel] TMSSQLConnection - sqlDB component for accessing MS SQL Server

2012-03-21 Thread LacaK
No. Anyway, I change the colum names (id,name to col1, col2) The error is: Cannot insert the value NULL into column 'col', table tempdb.dbo.#t... This error has nothing to do with FPC or SQLDB. Your SQL statement is trying to insert NULL in a required field. No Michael, see

Re: [fpc-devel] TMSSQLConnection - sqlDB component for accessing MS SQL Server

2012-03-21 Thread michael . vancanneyt
On Tue, 20 Mar 2012, Marcos Douglas wrote: On Tue, Mar 20, 2012 at 8:12 PM, michael.vancann...@wisa.be wrote: On Tue, 20 Mar 2012, Marcos Douglas wrote: On Tue, Mar 20, 2012 at 6:59 PM, Michael Van Canneyt mich...@freepascal.org wrote: On Tue, 20 Mar 2012, Marcos Douglas wrote:

Re: [fpc-devel] What's the state of string?

2012-03-21 Thread michael . vancanneyt
On Wed, 21 Mar 2012, Hans-Peter Diettrich wrote: I wonder about much code in the RTL/FCL, that depends on String type arguments, like: Procedure TStream.WriteAnsiString (const S : String); Var L : Longint; begin L:=Length(S); WriteBuffer (L,SizeOf(L)); WriteBuffer

Re: [fpc-devel] passing options for the build process.

2012-03-21 Thread Henry Vermaak
On 20 March 2012 22:42, peter green plugw...@p10link.net wrote: The buildfaq claims that OPT= will add parameters to every compiler commandline. Unfortunately it doesn't seem to actually do that. The options are added when building the compiler and RTL but it seems they aren't added when

Re: [fpc-devel] passing options for the build process.

2012-03-21 Thread Marco van de Voort
In our previous episode, peter green said: The buildfaq claims that OPT= will add parameters to every compiler commandline. Unfortunately it doesn't seem to actually do that. The options are added when building the compiler and RTL but it seems they aren't added when building fpmake.

Re: [fpc-devel] Patch: Add support for armhf

2012-03-21 Thread Jonas Maebe
On 20 Mar 2012, at 23:43, peter green wrote: I attatch a patch which adds support for armhf to freepascal. Thanks! Armhf reffers to arm with the VFP hardfloat variant of EABI. The defaults are setup to be suitable for debian armhf (armv7 vfpv3_d16). Are they Debian-specific? Adding

Re: [fpc-devel] TMSSQLConnection - sqlDB component for accessing MS SQL Server

2012-03-21 Thread LacaK
Then I have minor comments: - in packages/dblib/fpmake.pp at line 23: Author put please instead of Lacak2 Ladislav Karrach (as in dblib.pp header) - in packages/fcl-db/src/sqldb/mssql/makefile.fpc at line 2: change IBConnection to MSSQLConnection ;-) Done. Rev. 20540 and 20541. Now I found

Re: [fpc-devel] TMSSQLConnection - sqlDB component for accessing MS SQL Server

2012-03-21 Thread Marcos Douglas
On Wed, Mar 21, 2012 at 3:34 AM, LacaK la...@zoznam.sk wrote: No. Anyway, I change the colum names (id,name to col1, col2) The error is: Cannot insert the value NULL into column 'col', table tempdb.dbo.#t... This error has nothing to do with FPC or SQLDB. Your SQL statement is trying

Re: [fpc-devel] TMSSQLConnection - sqlDB component for accessing MS SQL Server

2012-03-21 Thread Marcos Douglas
On Wed, Mar 21, 2012 at 5:01 AM, michael.vancann...@wisa.be wrote: On Tue, 20 Mar 2012, Marcos Douglas wrote: On Tue, Mar 20, 2012 at 8:12 PM,  michael.vancann...@wisa.be wrote: On Tue, 20 Mar 2012, Marcos Douglas wrote: On Tue, Mar 20, 2012 at 6:59 PM, Michael Van Canneyt

Re: [fpc-devel] TMSSQLConnection - sqlDB component for accessing MS SQL Server

2012-03-21 Thread michael . vancanneyt
On Wed, 21 Mar 2012, Marcos Douglas wrote: On Wed, Mar 21, 2012 at 3:34 AM, LacaK la...@zoznam.sk wrote: create table #t (col1 int NULL, col2 varchar(60) NULL) (MS SQL Server nullability is controled by database setting ANSI null default so you can check this setting on your temp database

Re: [fpc-devel] TMSSQLConnection - sqlDB component for accessing MS SQL Server

2012-03-21 Thread LacaK
Yes, of course... you're right. ;-)) If I find some problems I can post in bugtracker or still early to do this? IMO, You can post them also here. Once Michael commits changes to fcl-db test suite I will run complete test suite and if any problems appears I will resolve them ASAP.

Re: [fpc-devel] Patch: Add support for armhf

2012-03-21 Thread peter green
Jonas Maebe wrote: On 20 Mar 2012, at 23:43, peter green wrote: I attatch a patch which adds support for armhf to freepascal. Thanks! Unfortunately just after I sent the mail what I thought was a minor problem in the build system turned out to be more serious than I thought, namely

Re: [fpc-devel] passing options for the build process.

2012-03-21 Thread Jonas Maebe
On 20 Mar 2012, at 23:42, peter green wrote: The buildfaq claims that OPT= will add parameters to every compiler commandline. Unfortunately it doesn't seem to actually do that. The options are added when building the compiler and RTL but it seems they aren't added when building fpmake.

Re: [fpc-devel] passing options for the build process.

2012-03-21 Thread peter green
Jonas Maebe wrote: The compiler should find the crt*.o files on its own, especially if you create a special compiler binary for the hard float ABI (there is no point in creating a special binary if you still need to separately specify a bunch of additional options to get the correct