[fpc-devel] LNet svn commit 2781 not compatible with FPC 3.0.4
Hello, I just want to inform you that in latest LNet commit 2781, changes applied to /lnet/trunk/lib/lnetssl.pp are not compatile with FPC 3.0.4: SslTLSMethod is not defined. https://svn.freepascal.org/cgi-bin/viewvc.cgi/lnet/trunk/lib/lnetssl.pp?root=fpcprojects&r1=2781&r2=2780&pathrev=2781 Best regards. Sandro Cumerlato ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
[fpc-devel] Multiple type sections - Far forward type declarations [feasible feature request?]
Hello, please take a look at this small example: -- program types; type PMyTypeA = ^MyTypeA; PMyTypeB = ^MyTypeB; type MyTypeA = record foo: integer; bar: integer; end; type MyTypeB = record foo: string; bar: string; end; begin end. -- it obviously doesn't compile because there are multple "type" sections defined and forward types are not properly resolved within the same "type" section, reference: https://www.freepascal.org/docs-html/ref/refse16.html Considering that I often encounter difficulties translating C headers to Pascal because declared types are most of the time dislocated in the header source file and splitted in different blocks, I'd like to know if there is a switch to enable forward type resolution within the same source file at least, and if not please let me know if it can be considered a feasible feature request. Thank You in advance. Sandro Cumerlato ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
[fpc-devel] /trunk/packages/libfontconfig/src/libfontconfig.pp
Hello, in file /trunk/packages/libfontconfig/src/libfontconfig.pp I found the following code: - Const {$ifdef darwin} DefaultLibName = 'libfontconfig.so'; {$else} DefaultLibName = 'libfontconfig.dylib'; {$endif} - it sounds strange to me, I would expected the opposite assignment: - Const {$ifdef darwin} DefaultLibName = 'libfontconfig.dylib'; {$else} DefaultLibName = 'libfontconfig.so'; {$endif} - Am I wrong? Thank you in advance for your clarifications. Best regards. Sandro Cumerlato ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
[fpc-devel] fpc svn trunk building fails
Hello, fpc svn trunk version 33910 building fails with error: Start compiling package fcl-db for target i386-win32. Warning: Circular dependency detected when compiling target dbf_fields with target dbf_dbffile Warning: Circular dependency detected when compiling target dbf_memo with target dbf_dbffile Warning: Circular dependency detected when compiling target dbf_parser with target dbf Warning: Circular dependency detected when compiling target dbf_parser with target dbf_dbffile Warning: Circular dependency detected when compiling target dbf_idxfile with target dbf_dbffile Compiling fcl-db\BuildUnit_fcl_db.pp Compiling .\fcl-db\src\base\dbconst.pas Compiling .\fcl-db\src\base\db.pas Compiling .\fcl-db\src\dbase\dbf_prssupp.pas Compiling .\fcl-db\src\dbase\dbf_prsdef.pas Compiling .\fcl-db\src\dbase\dbf_prscore.pas Compiling .\fcl-db\src\base\bufdataset_parser.pp Compiling .\fcl-db\src\base\bufdataset.pas Compiling .\fcl-db\src\base\sqlscript.pp Compiling .\fcl-db\src\base\sqltypes.pp Compiling .\fcl-db\src\sqldb\sqldb.pp Compiling .\fcl-db\src\base\csvdataset.pp Compiling .\fcl-db\src\base\dbcoll.pp Compiling .\fcl-db\src\base\dbwhtml.pp Compiling .\fcl-db\src\base\xmldatapacketreader.pp Compiling .\fcl-db\src\dbase\dbf_wtil.pas Compiling .\fcl-db\src\dbase\dbf_common.pas Compiling .\fcl-db\src\dbase\dbf_str.pas Compiling .\fcl-db\src\dbase\dbf_pgfile.pas Compiling .\fcl-db\src\dbase\dbf_cursor.pas Compiling .\fcl-db\src\dbase\dbf_fields.pas Compiling .\fcl-db\src\dbase\dbf_dbffile.pas Compiling .\fcl-db\src\dbase\dbf_memo.pas Compiling .\fcl-db\src\dbase\dbf_dbffile.pas Compiling .\fcl-db\src\dbase\dbf_idxfile.pas Compiling .\fcl-db\src\dbase\dbf_parser.pas Compiling .\fcl-db\src\dbase\dbf.pas Compiling .\fcl-db\src\dbase\dbf_dbffile.pas Compiling .\fcl-db\src\dbase\dbf_idxfile.pas Compiling .\fcl-db\src\dbase\dbf_collate.pas Compiling .\fcl-db\src\dbase\dbf_lang.pas Compiling .\fcl-db\src\dbase\dbf_dbffile.pas Compiling .\fcl-db\src\dbase\dbf_idxcur.pas Compiling .\fcl-db\src\datadict\fpdatadict.pp Compiling .\fcl-db\src\codegen\fpddcodegen.pp Compiling .\fcl-db\src\codegen\fpcgcreatedbf.pp Compiling .\fcl-db\src\codegen\fpcgdbcoll.pp Compiling .\fcl-db\src\codegen\fpcgsqlconst.pp Compiling .\fcl-db\src\codegen\fpcgtiopf.pp Compiling .\fcl-db\src\export\fpdbexport.pp Compiling .\fcl-db\src\export\fpcsvexport.pp Compiling .\fcl-db\src\export\fpdbfexport.pp Compiling .\fcl-db\src\codegen\fpddpopcode.pp Compiling .\fcl-db\src\datadict\fpdddiff.pp Compiling .\fcl-db\src\datadict\fpdddbf.pp Compiling .\fcl-db\src\datadict\fpddsqldb.pp Compiling .\fcl-db\src\sqldb\interbase\ibconnection.pp Compiling .\fcl-db\src\datadict\fpddfb.pp Compiling .\fcl-db\src\sqldb\mysql\mysql40conn.pas Compiling .\fcl-db\src\datadict\fpddmysql40.pp Compiling .\fcl-db\src\sqldb\mysql\mysql41conn.pas Compiling .\fcl-db\src\datadict\fpddmysql41.pp Compiling .\fcl-db\src\sqldb\mysql\mysql50conn.pas Compiling .\fcl-db\src\datadict\fpddmysql50.pp Compiling .\fcl-db\src\sqldb\mysql\mysql51conn.pas Compiling .\fcl-db\src\datadict\fpddmysql51.pp Compiling .\fcl-db\src\sqldb\mysql\mysql55conn.pas Compiling .\fcl-db\src\datadict\fpddmysql55.pp Compiling .\fcl-db\src\sqldb\odbc\odbcconn.pas Compiling .\fcl-db\src\datadict\fpddodbc.pp Compiling .\fcl-db\src\sqldb\oracle\oracleconnection.pp Compiling .\fcl-db\src\datadict\fpddoracle.pp Compiling .\fcl-db\src\sqldb\postgres\pqconnection.pp Compiling .\fcl-db\src\datadict\fpddpq.pp Compiling .\fcl-db\src\sqldb\mssql\mssqlconn.pp Compiling .\fcl-db\src\datadict\fpddmssql.pp Compiling .\fcl-db\src\sqldb\sqlite\sqlite3conn.pp Compiling .\fcl-db\src\datadict\fpddsqlite3.pp Compiling .\fcl-db\src\datadict\fpddregstd.pp Compiling .\fcl-db\src\sqlite\customsqliteds.pas Compiling .\fcl-db\src\export\fpfixedexport.pp Compiling .\fcl-db\src\export\fprtfexport.pp Compiling .\fcl-db\src\export\fpsimplejsonexport.pp Compiling .\fcl-db\src\export\fpsimplexmlexport.pp Compiling .\fcl-db\src\export\fpsqlexport.pp Compiling .\fcl-db\src\export\fptexexport.pp Compiling .\fcl-db\src\export\fpstdexports.pp Compiling .\fcl-db\src\export\fpxmlxsdexport.pp Compiling .\fcl-db\src\sqldb\interbase\fbadmin.pp The installer encountered the following error: Compilation of "BuildUnit_fcl_db.pp" failed make[2]: Leaving directory `C:/freepascal/fpc/trunk/packages' make[1]: Leaving directory `C:/freepascal/fpc/trunk' Please take a look. Best regar
Re: [fpc-devel] Revision 32823 - * Applied patch from José Mejuto to fix bug ID 27486
Hello Michael, fix is OK, thank you. I notice only a missing "white space" if compared to previous output. Please review attached patch. Sandro On 2 January 2016 at 00:22, Michael Van Canneyt wrote: > > I attempted a fix in rev. 32818. > Please test. > > Michael. > > > On Fri, 1 Jan 2016, Sandro Cumerlato wrote: > > Hello, >> after revision 32823 I've tried to re-import (using Lazarus "Import Type >> Library..." Tool) "C:\Windows\SysWOW64\mshtml.tlb" and >> "C:\Windows\SysWOW64\shdocvw.dll", but I've got a lot of compiling issues >> like this: >> >> "mshtml_4_0_tlb.pas(10397,78) Error: Illegal symbol for property access" >> >> IMHO related to "var" in "procedure Set_returnValue(var p:OleVariant); >> safecall;" (line 10367) >> >> >> Can someone please verify this issue? >> >> Thanx in advance. >> >> http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=32823 >> http://bugs.freepascal.org/view.php?id=27486 >> >> btw: Happy New Year! >> >> >> Sandro Cumerlato >> >> ___ > fpc-devel maillist - fpc-devel@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel > Index: packages/winunits-base/src/typelib.pas === --- packages/winunits-base/src/typelib.pas (revision 32828) +++ packages/winunits-base/src/typelib.pas (working copy) @@ -821,7 +821,7 @@ sDefault:=sl; end; end; -tmp:=' procedure Set_%s(%s %s:%s); %s;'#13#10; +tmp:=' procedure Set_%s(%s %s:%s); %s;'#13#10; if not bParamByRef then Modifier:='const' else ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
[fpc-devel] Revision 32823 - * Applied patch from José Mejuto to fix bug ID 27486
Hello, after revision 32823 I've tried to re-import (using Lazarus "Import Type Library..." Tool) "C:\Windows\SysWOW64\mshtml.tlb" and "C:\Windows\SysWOW64\shdocvw.dll", but I've got a lot of compiling issues like this: "mshtml_4_0_tlb.pas(10397,78) Error: Illegal symbol for property access" IMHO related to "var" in "procedure Set_returnValue(var p:OleVariant); safecall;" (line 10367) Can someone please verify this issue? Thanx in advance. http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=32823 http://bugs.freepascal.org/view.php?id=27486 btw: Happy New Year! Sandro Cumerlato ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Suggestion: reference counted objects
I strongly agree! On 27 Sep 2014 12:23, "Florian Klämpfl" wrote: > If the time spent in this thread had been spent in coding, FPC would have > already ARC. The list has > approx. 600 members, 200 message were written. If each of the 600 members > spent on average 1 min > reading this thread, this is 2000 man-hour, i. e. approx. 1 MY :) > ___ > fpc-devel maillist - fpc-devel@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel > ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
[fpc-devel] FPC ide installation issue - fpmake.pp - missing body part
I'm not lucky with the mailing list and gmail encoding (Skipped content of type multipart/alternative-- next part -=) This is the body of my previous message: Operating System: Windows 7 Affected FPC svn revision: 26202 IDE is not properly installed into bin directory (bin\i386-win32 in my case), listed below files are resetted in place instead: ide\cvsco.tdf ide\cvsdiff.tdf ide\cvsup.tdf ide\fp.ans ide\fp32.ico ide\gplprog.pt ide\gplunit.pt ide\grep.tdf ide\program.pt ide\tpgrep.tdf ide\unit.pt Attached patch solves this problem under Windows. Please test under other Operating Systems and apply to trunk if ok. Best regards. Sandro Cumerlato Follow patch.txt: Index: ide/fpmake.pp === --- ide/fpmake.pp (revisione 26202) +++ ide/fpmake.pp (copia locale) @@ -188,17 +188,17 @@ T.Directory:='compiler'; T.Install:=false; -P.InstallFiles.Add('fp.ans','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('gplprog.pt','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('gplunit.pt','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('program.pt','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('unit.pt','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('cvsco.tdf','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('cvsdiff.tdf','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('cvsup.tdf','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('grep.tdf','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('tpgrep.tdf','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('fp32.ico', [win32, win64], '$(BASEINSTALLDIR)ide'); +P.InstallFiles.Add('fp.ans','$(BININSTALLDIR)'); +P.InstallFiles.Add('gplprog.pt','$(BININSTALLDIR)'); +P.InstallFiles.Add('gplunit.pt','$(BININSTALLDIR)'); +P.InstallFiles.Add('program.pt','$(BININSTALLDIR)'); +P.InstallFiles.Add('unit.pt','$(BININSTALLDIR)'); +P.InstallFiles.Add('cvsco.tdf','$(BININSTALLDIR)'); +P.InstallFiles.Add('cvsdiff.tdf','$(BININSTALLDIR)'); +P.InstallFiles.Add('cvsup.tdf','$(BININSTALLDIR)'); +P.InstallFiles.Add('grep.tdf','$(BININSTALLDIR)'); +P.InstallFiles.Add('tpgrep.tdf','$(BININSTALLDIR)'); +P.InstallFiles.Add('fp32.ico', [win32, win64], '$(BININSTALLDIR)'); P.Sources.AddDoc('readme.ide'); ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
[fpc-devel] FPC ide installation issue - fpmake.pp
Operating System: Windows 7 Affected FPC svn revision: 26202 IDE is not properly installed into bin directory (bin\i386-win32 in my case), listed below files are resetted in place instead: ide\cvsco.tdf ide\cvsdiff.tdf ide\cvsup.tdf ide\fp.ans ide\fp32.ico ide\gplprog.pt ide\gplunit.pt ide\grep.tdf ide\program.pt ide\tpgrep.tdf ide\unit.pt Attached patch solves this problem under Windows. Please test under other Operating Systems and apply to trunk if ok. Best regards. Sandro Cumerlato Index: ide/fpmake.pp === --- ide/fpmake.pp (revisione 26202) +++ ide/fpmake.pp (copia locale) @@ -188,17 +188,17 @@ T.Directory:='compiler'; T.Install:=false; -P.InstallFiles.Add('fp.ans','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('gplprog.pt','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('gplunit.pt','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('program.pt','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('unit.pt','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('cvsco.tdf','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('cvsdiff.tdf','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('cvsup.tdf','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('grep.tdf','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('tpgrep.tdf','$(BASEINSTALLDIR)ide'); -P.InstallFiles.Add('fp32.ico', [win32, win64], '$(BASEINSTALLDIR)ide'); +P.InstallFiles.Add('fp.ans','$(BININSTALLDIR)'); +P.InstallFiles.Add('gplprog.pt','$(BININSTALLDIR)'); +P.InstallFiles.Add('gplunit.pt','$(BININSTALLDIR)'); +P.InstallFiles.Add('program.pt','$(BININSTALLDIR)'); +P.InstallFiles.Add('unit.pt','$(BININSTALLDIR)'); +P.InstallFiles.Add('cvsco.tdf','$(BININSTALLDIR)'); +P.InstallFiles.Add('cvsdiff.tdf','$(BININSTALLDIR)'); +P.InstallFiles.Add('cvsup.tdf','$(BININSTALLDIR)'); +P.InstallFiles.Add('grep.tdf','$(BININSTALLDIR)'); +P.InstallFiles.Add('tpgrep.tdf','$(BININSTALLDIR)'); +P.InstallFiles.Add('fp32.ico', [win32, win64], '$(BININSTALLDIR)'); P.Sources.AddDoc('readme.ide'); ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
[fpc-devel] fpmake.diff patch
Hello, please take a look at the attached patch... it is a first attempt to solve following timestamp warnings and files reset to zero bytes: Warning: Failed to set timestamp on file "X:\freepascal\fpc\2.7.1\/ide\fp.ans" Warning: Failed to set timestamp on file "X:\freepascal\fpc\2.7.1\/ide\ gplprog.pt" Warning: Failed to set timestamp on file "X:\freepascal\fpc\2.7.1\/ide\ gplunit.pt" Warning: Failed to set timestamp on file "X:\freepascal\fpc\2.7.1\/ide\ program.pt" Warning: Failed to set timestamp on file "X:\freepascal\fpc\2.7.1\/ide\ unit.pt" Warning: Failed to set timestamp on file "X:\freepascal\fpc\2.7.1\/ide\cvsco.tdf" Warning: Failed to set timestamp on file "X:\freepascal\fpc\2.7.1\/ide\cvsdiff.tdf" Warning: Failed to set timestamp on file "X:\freepascal\fpc\2.7.1\/ide\cvsup.tdf" Warning: Failed to set timestamp on file "X:\freepascal\fpc\2.7.1\/ide\grep.tdf" Warning: Failed to set timestamp on file "X:\freepascal\fpc\2.7.1\/ide\tpgrep.tdf" Warning: Failed to set timestamp on file "X:\freepascal\fpc\2.7.1\/ide\fp32.ico" with the attached patch paths are corrected but timestap still fails and files are reset to zero bytes anyway... is there a solution out there? Best regards. Sandro Cumerlato fpmake.diff Description: Binary data ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
[fpc-devel] Fwd: FPC SVN revision 24611
Please read it :-) -- Forwarded message -- From: "Sandro Cumerlato" Date: May 26, 2013 10:32 PM Subject: FPC SVN revision 24611 To: Cc: Hello, I don't understand the meaning of the following change: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/fpmkunit/src/fpmkunit.pp?r1=24611&r2=24610&pathrev=24611&diff_format=l I think that Result:=D1=D2; is not correct. Best regards. Sandro Cumerlato ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel