[fpc-devel] Status of dynamic packages

2016-11-10 Thread gabor

Hello.
What's the status of dynamic packages? Are they usable?

Regards,
Michał.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Status of dynamic packages

2016-11-16 Thread gabor
Thank you for your answer. It seems that it is too early to more 
questions. Perhaps one: Dynamic packages will be supported like in 
Delphi (FindClassHInstance, GetPackageInfo...etc)?


Regards, Michał.

W dniu 2016-11-10 o 17:29, Sven Barth pisze:

Am 10.11.2016 15:17 schrieb "gabor" <ga...@poczta.onet.pl
<mailto:ga...@poczta.onet.pl>>:


Hello.
What's the status of dynamic packages? Are they usable?


Currently only compile time packages work (meaning you can't load
additional packages at runtime). Also currently only i386-win32 and the
OS X targets (I did only test powerpc-darwin however) would be supported
if packages would be enabled.
Additionally there still needs to be fpmake support for dynamic packages
added (so that the ppk is generated based on the fpmake.pp and that it
indeed compiles the package).

Regards,
Sven



___
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


Re: [fpc-devel] Status of dynamic packages

2016-11-16 Thread gabor

Thanks and best regards,
Michał

W dniu 2016-11-16 o 14:35, Sven Barth pisze:

I have not yet looked at the APIs in detail, but in essence that should
be the case.

Regards,
Sven


___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Discussion about "Dynamic packages"

2017-04-13 Thread gabor



W dniu 2017-04-13 o 22:27, Sven Barth via fpc-devel pisze:

And it's not about saving RAM or disk memory! It's about *binary code
reuse*, the ability to fix a bug in multiple executables by merely
fixing the one bug in a package.


Should not all packages depend on the "fixed" package also be recompiled 
in this case?


Regards, Michał.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] "Blank slate" next version of FPC

2019-02-20 Thread gabor

W dniu 2019-02-16 o 23:37, Benito van der Zander pisze:
So are inline variables coming soon? 
http://blog.marcocantu.com/blog/2018-october-inline-variables-delphi.html


Who cares ininline variables since we do not have dynamic packages yet?

Regards, Michał.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Unexpected behaviour of bit operators

2019-05-17 Thread gabor
Never mind, I thought that comes to code in C language but it's about 
variable named "c".


W dniu 2019-05-17 o 16:45, gabor pisze:

Can you provide c source code?



Regards, Michał.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Unexpected behaviour of bit operators

2019-05-17 Thread gabor

Can you provide c source code?
I'm not sure about this:
...(a SHL 5+b SHR 2)...
Maybe it should look like this:
((a SHL 5+b) SHR 2)

Regards, Michał.


W dniu 2019-05-17 o 10:47, Marco Borsari via fpc-devel pisze:

In the code below

program test;
const n=12;
s=1 shl n;
var a,b,c,h1,h2:word;
begin
a:=77;
b:=0;
(*c:=(a XOR b)*(a SHL 5+b SHR 2);*)
h1:=((a XOR b)*(a SHL 5+b SHR 2)) SHR (16-n);
(*h1:=c SHR (16-n);*)
h2:=((a XOR b)*(a SHL 5+b SHR 2)) AND ((s-1) SHL (16-n)) SHR (16-n);
(*h2:=c AND ((s-1) SHL (16-n)) SHR (16-n);*)
writeln(h1,',',h2);
end.

the results of h1 and h2 (they are hashes) are different, and only h2
appears to be correct and inside the range.
If we precompute the hash value with c, then both h1 and h2 are
the same.
Does this is an effect of some multiplication overflow,
or is it a bug?

Regards, Marco Borsari


___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Some thoughts on multi-line string support, and a possible syntax that I think is perfectly clean and Pascal-ish.

2019-07-03 Thread gabor

W dniu 2019-07-03 o 20:43, Michael Van Canneyt pisze:
But the main question is: do we actually want a multiline string ? As 
far as I am concerned, that question needs to be answered first, and for

me personally the answer to that is still a resounding "no".


I am also against this, but on the other hand, we could extend 
{$I}/{$INCLUDE} directive to include file as a string.


E.g:
const
  SomeString = {$INCLUDESTR filename.txt};
var
  S: String = {$INCLUDESTR filename.txt};
begin
  S := {$INCLUDESTR filename.txt};
...

or even:

S := 'blah' + {$INCLUDESTR filename.txt} + 'blah';

Regards,
Michał
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Some thoughts on multi-line string support, and a possible syntax that I think is perfectly clean and Pascal-ish.

2019-07-03 Thread gabor

W dniu 2019-07-03 o 21:39, Michael Van Canneyt pisze:

See the bugreport I indicated.

Michael.


Ah, I missed that... So this is a popular idea.

Regards,
Michał.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Some thoughts on multi-line string support, and a possible syntax that I think is perfectly clean and Pascal-ish.

2019-07-03 Thread gabor

W dniu 2019-07-03 o 22:20, Ben Grasset pisze:

const SA = `
   This is a multiline
   string using hypothetical backticks.
   Imagine it was fully syntax-highlighted
   like normal strings and the comment
   above are.
`;


What is the end-of-line character in this case? #13#10, #10 or #13?

Regards,
Michał.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Reserved words in OLE automation properties

2019-09-28 Thread gabor

if I remember correctly use '&' as preffix, eg: MyObj.

W dniu 2019-09-28 o 18:50, Werner Pamler pisze:
I am porting an older Delphi project to Lazarus/FPC which analyzes the 
internal structure of PowerPoint files using OLE automation. While the 
overall program is working I am stuck with some OLE properties which 
have the name of Pascal keywords, e.g. Shape.*Type *or ColorEffect.*To*.


FPC 3.0.4 and trunk refuse to compile lines like

     DisplayValue('Type', MsoShapeTypeStr(AShape.Type), true);

even if {$MODE DELPHI} is used. AShape is an OLEVariant, MsoShapeTypeStr 
a function which converts the integer value of AShape.Type to a string. 
The error message is 'Fatal: Syntax error, "identifier" expected but 
"TYPE" found'.


Any idea how I could make this work?

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] New feature announcement: constant parameters for generics

2020-04-26 Thread gabor

W dniu 2020-04-26 o 09:38, Michael Van Canneyt pisze:
Sven gave some examples, and they show how it works, but from his 
examples I don't see the point

of this feature.

Michael.


It can be quite useful. You can do something similar (I hope):
https://sourceforge.net/p/ultravnc/code/HEAD/tree/UltraVNC%20Project%20Root/UltraVNC/vncviewer/ClientConnectionHextile.cpp

Michał.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] AsString and AsWideString both return 255 Bytes

2020-05-09 Thread gabor

W dniu 2020-05-08 o 22:26, Bob via fpc-devel pisze:

Hi, using SQLite3, the latest version of Lazarus 2.0.8 and I assume FPC.

This
sqlMain.FieldByName('name').AsString;
and this
sqlMain.FieldByName('name').AsWideString;

BOTH return 255 Bytes. I have a TEXT Field in the database 1776 Bytes 
long. The data looks OK in SQBrowser, but FPC/Lazarus brings in only 255 
Bytes. Yes I have the fpcobj and $H+ set.


I posted here but so far not getting anywhere.
https://forum.lazarus.freepascal.org/index.php/topic,49721.0.html

The 1776 Bytes of data is being saved (.ExecSQL) to the file OK, but on 
read back I only get that 255.


How can I make this work please?


Maybe wrong TField.Size value?
Can you check value of sqlMain.FieldByName('name').Size?

Michał.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] Compile errors in HEAD Rev. 4429

2006-08-17 Thread Gabor Boros

Hi!

Platform is i386-win32.

1. problem: make install/zipinstall

upx: fpcmemdll.exe: FileNotFoundException: fpcmemdll.exe

Packed 0 files.
make[6]: [fpc_install] Error 1 (ignored)
	C:/FPC/2.0.4/bin/i386-Win32/cp.exe -fp fpcmemdll.exe 			 
C:/fpc_source/../fpc-pack/bin/i386-win32

cp.exe: fpcmemdll.exe: No such file or directory
make[6]: *** [fpc_install] Error 1


2. problem: make cycle CPU_TARGET=arm OS_TARGET=wince

system.inc(666,11) Error: Forward declaration not solved
FinalizeHeap


3. problem: After removed the FinalizeHeap declaration and call, tried 
 make again


	make[3]: *** No rule to make target `/sharemem.pp', needed by 		 
`sharemem.ppu'.  Stop.



Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] WinCE compiler compilation is broken

2006-11-03 Thread Gabor Boros

Hi,

The error message is:
math.pp(2063,14) Fatal: Unknown compilerproc SUBS. Check if you use 
the correct run time library.


Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] Re: WinCE compiler compilation is broken

2006-11-03 Thread Gabor Boros

SVN 5194

wich fpc2.1.1 thrunk svn version ?
last i checked was 5172 from yesterday and was ok
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] freepascal.org HTTP and SVN access

2008-03-27 Thread Gabor Boros

Hi,

I have same problem too. I can access http://www.freepascal.org from 
home but not from the office. If try ping www.freepascal.org at the 
office i get response. But the http://62.166.198.202 not working.

At home everything works.

Gabor

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] Backport request

2013-04-28 Thread Gabor Boros

Hi,

Please backport 24225 and 24234 from trunk to fixes_2_6.

Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] SVN checkout errors

2015-01-27 Thread Gabor Boros

Hi,

When I try to checkout form http://svn.freepascal.org on Windows with 
TortoiseSVN always got an error at different stage.



ra_serf: An error occurred during decompression

or

Checksum mismatch for

'X:\...\Lazarus\fixes_1_4\components\codetools\examples\changeparamlist.lpi':

   expected:  3fd9c46765068ce28c40925209e59bb0
 actual:  03b2e1b96c172a5eb85196012c02e5c4

or

Error retrieving REPORT: The server sent an improper HTTP response


No error with other repositories from other servers. Lazarus CCR, 
Firebird, etc.


Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] SVN checkout errors

2015-01-28 Thread Gabor Boros

2015.01.27. 21:06 keltezéssel, Maciej Izak írta:

Hi,

Open %APPDATA%\Subversion\servers in a text editor, find section
[global] and add the line

http-bulk-updates = yes

Regards

Maciej Izak


Works like a charm! Thank You!

Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] Snapshots mixed on FTP

2015-01-11 Thread Gabor Boros

Hi All,

In ftp://ftp.freepascal.org/pub/fpc/snapshot/

v30 and v31 directories is empty.

v26/i386-win32 and v26/x86_64-linux and other directories contains 3.0.1 
files.


v27/i386-win32 and v27/x86_64-linux and other directories contains 3.1.1 
files.


Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Snapshots mixed on FTP

2015-01-11 Thread Gabor Boros

2015.01.11. 13:41 keltezéssel, Tomas Hajny írta:

On Sun, January 11, 2015 10:04, Gabor Boros wrote:


Hi Gabor,


In ftp://ftp.freepascal.org/pub/fpc/snapshot/

v30 and v31 directories is empty.

v26/i386-win32 and v26/x86_64-linux and other directories contains 3.0.1
files.

v27/i386-win32 and v27/x86_64-linux and other directories contains 3.1.1
files.


Thank you, hopefully sorted out now (symbolic links trunk and fixes moved
and files placed in the proper directory).

Tomas


ftp://ftp.freepascal.org/pub/fpc/snapshot/v30/source directory contains 
source of fixes_2_6.


Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] RandomFrom vs Generics

2018-06-06 Thread Gabor Boros

Hi All,

This

var
  x:Integer;
  a:array of Integer;

begin
  x:=RandomFrom(a);

code works with 3.0.4 but cannot compile with trunk and got "Error: 
Generics without specialization cannot be used as a type for a 
variable". Tried x:=specialize RandomFrom(a); but got "Error: 
Identifier not found "RandomFrom"". How to call RandomFrom with trunk?


Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] RandomFrom vs Generics

2018-06-06 Thread Gabor Boros

2018. 06. 06. 9:05 keltezéssel, Sven Barth via fpc-devel írta:
Seems like a bug due to there being multiple overloads plus the generic. 
Would you please report that to the bug tracker?



Done:

https://bugs.freepascal.org/view.php?id=33829

Does it work if you add "overload;" to the generic's declaration in the 
Math unit?


No. (After modified the math.pp and build the whole compiler from 
scratch with make all zipinstall.)


Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Win32 build of actual trunk

2019-09-08 Thread Gabor Boros

2019. 09. 08. 13:14 keltezéssel, Jonas Maebe írta:
You should perform a "make cycle" in the compiler directory, or "make 
all" at the top level FPC directory. The ppudump utility will then only 
be compiled with the final compiler. The compiler built during the first 
pass may not be feature-complete due to known bugs or limitations of the 
bootstrap compiler.



I use "make all zipinstall".

The "make all zipinstall OS_TARGET=win64 CPU_TARGET=x86_64" works as 
expected and "make all zipinstall OS_TARGET=win32 CPU_TARGET=i386" not.


Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] Win32 build of actual trunk

2019-09-08 Thread Gabor Boros

Hi All,

If I try to build trunk (42942) with 3.0.4 Win32 got the next error:

r:/src/compiler/ppc386.exe -Ur -Xs -O2 -n -Fu.. 
-Fur:/src/rtl/units/i386-win32 -FE. -FUunits/i386-win32 -dRELEASE 
ppuutils/ppudump.pp -Fu../generic -dGENERIC_CPU -Fi..

globals.pas(58,29) Error: Identifier not found "m_prefixed_attributes"
globals.pas(633,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Win32 build of actual trunk

2019-09-08 Thread Gabor Boros

2019. 09. 08. 16:20 keltezéssel, Jonas Maebe írta:
Try doing a "make distclean" first, it seems some old compiled unit 
being used.


Thank you! I always copy the fresh source to a ramdisk then build, but 
accidentally started a build in the original source(svn) directory 
sometime in the past.


Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] When will the next version of FPC be released?

2019-11-30 Thread Gabor Boros

2019. 05. 30. 9:05 keltezéssel, Michael Van Canneyt írta:

I would not count on it before september, and even that is "iffy".


Any news/update in this subject?

The fixes_3_2 branch created more than a year ago and the latest stable 
(3.0.4) released 2 years ago.


Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Problem with importtl

2020-09-06 Thread gabor via fpc-devel

W dniu 2020-09-06 o 21:41, Bart via fpc-devel pisze:

I get:
C:\Windows\SysWOW64>importtl msdxm.ocx -n
Reading typelib from -n ...
An unhandled exception occurred at $00439916:
EOleSysError: Fout bij laden van type DLL-bestand.
   $00439916  OLEERROR,  line 569 of ./winunits-base/src/comobj.pp
   $00429A4F  TTYPELIBIMPORTER__DOIMPORTTYPELIB,  line 1812 of
./winunits-base/src/typelib.pas
   $0042A5B2  TTYPELIBIMPORTER__EXECUTE,  line 1971 of
./winunits-base/src/typelib.pas
   $004213AE  IMPORTTYPELIB,  line 188 of ./winunits-base/src/typelib.pas
   $00401EB8  main,  line 103 of importtl/importtl.pas

(With r45606)



Unfortunately, msdxm.ocx file does not contain type library. Try 
msdxm.tlb instead.


Michał.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] Problem with importtl

2020-09-06 Thread gabor via fpc-devel
I try to import a type library using "importtl" but it fails - ends with 
EAccessViolation exception. I am using fpc trunk from today. I have 
tried importing different libraries but with no success. Could someone 
confirm the problem?


d:\fpcupdeluxetrunk\fpc\bin\i386-win32>importtl 
C:\Windows\SysWow64\OICFiscalPrinterLib.ocx

Reading typelib from C:\Windows\SysWow64\OICFiscalPrinterLib.ocx ...
An unhandled exception occurred at $00423718:
EAccessViolation: Access violation
  $00423718  TYPETOSTRING,  line 354 of winunits-base/src/typelib.pas
  $00423D16  TYPETOSTRING,  line 427 of winunits-base/src/typelib.pas
  $00424617  INTERFACEDECLARATION,  line 582 of 
winunits-base/src/typelib.pas

  $004292BA  CREATEINTERFACES,  line 1437 of winunits-base/src/typelib.pas
  $0042B374  DOIMPORTTYPELIB,  line 1821 of winunits-base/src/typelib.pas
  $0042BE32  EXECUTE,  line 1971 of winunits-base/src/typelib.pas
  $00422B8E  IMPORTTYPELIB,  line 188 of winunits-base/src/typelib.pas
  $00401EA8  main,  line 103 of importtl/importtl.pas

Michał.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Google APIs - Authenticate using a service account?

2020-07-10 Thread gabor via fpc-devel

W dniu 2020-07-10 o 22:31, Florian Klämpfl pisze:
It starts with simply things: how to use multiple screens with the web 
based solutions: how to undock chat window, screen cast, participants or 
videos and arrange them to different screens?


Yes, webapps. Readability and usability less important than dark theme.

Michał.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] ViewVC not working

2020-11-17 Thread gabor via fpc-devel
Can't open ViewVC page from SVN repository - I'm getting 404 error. Is 
the website down or is it a temporary problem?

I use this address: https://svn.freepascal.org/cgi-bin/viewvc.cgi/

Michał.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] C library header - var vs pointer for function arguments

2022-08-03 Thread gabor via fpc-devel
I'd like to provide some fixes for packages that are headers for c 
libraries. When and should I use the "var" argument for function 
arguments that return a value, or should I always use pointers 
(excluding arguments that might accept nil)?


Eg:
function Foo(var A: Integer): Integer;
vs
function Foo(A: PInteger): Integer;

Michał.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] C library header - var vs pointer for function arguments

2022-08-04 Thread gabor via fpc-devel

W dniu 2022-08-04 o 07:40, Michael Van Canneyt via fpc-devel pisze:

It's best to use pointers, but you can always provide overloads with var
arguments.

And as Dmitry Boyarintsev pointed out, don't change existing signatures for
backwards compatibility.

Michael.


Thanks. I'll use pointers.

Michał.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] C library header - var vs pointer for function arguments

2022-08-04 Thread gabor via fpc-devel

W dniu 2022-08-04 o 02:18, Dmitry Boyarintsev pisze:

Consider backwards compatibility in fixes


Good point, thanks. However, I mean non-existent / incorrect / not 
up-to-date declarations.


Michał.

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] Build Lazarus fixes_2_2 with actual FPC main

2021-09-19 Thread Gabor Boros via fpc-devel

Hi All,

I tried to build Lazarus fixes_2_2 (0bc0484c) with FPC main (5bcc5307) 
on Windows 10 64bit and got the below error.



(3104) Compiling easylazfreetype.pas
e:\Lazarus\fixes_2_2\components\freetype\easylazfreetype.pas(347,10) 
Warning: (3018) Constructor should be public
e:\Lazarus\fixes_2_2\components\freetype\easylazfreetype.pas(704,27) 
Error: (1026) Compilation raised exception internally

Fatal: (1018) Compilation aborted
An unhandled exception occurred at $00010015FA5F:
EAccessViolation: Access violation
  $00010015FA5F
  $00010015FB22
  $00010011000D
  $0001001100EB
  $000100110181
  $0001001AA507
  $0001001ABD3D
  $0001001ABD7F
  $0001001ABD7F
  $0001001ABD7F
  $0001001AD15D
  $0001001928D7
  $00010018F825
  $000100192705
  $00010018F825
  $000100192705
  $000100192D85

make[1]: *** [freetypelaz.ppu] Error 217
make[1]: Leaving directory `e:/Lazarus/fixes_2_2/components/freetype'
make: *** [lazbuild] Error 2


Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Preparing 3.2.4, call for merge request and regressions

2021-09-29 Thread Gabor Boros via fpc-devel

2021.09.26. 10:42 keltezéssel, Florian Klämpfl via fpc-devel írta:
To do so, some stuff from main 
(former trunk) might need to be merged as well as regressions against 
3.2.2 need to be fixed.



Florian,

f6e6b807d5db9adaebd4f17f83b331bed1e09399 (https://lists.freepascal.org 
pipermail/fpc-pascal/2020-July/058287.html)


Fixed in trunk earlier but 3.2.2 still slow. Can you backport the fix to 
fixes_3_2 or is not an easy task?


Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] Cannot build Lazarus with actual FPC main

2022-08-19 Thread Gabor Boros via fpc-devel

Hi All,

With actual FPC main (61debb15) got the below error. No error with an 
earlier FPC main (8028a769). Any idea?



make -C packager/registration
make[1]: Entering directory `e:/Lazarus/main/packager/registration'
E:/FPC/3.2.2/bin/i386-Win32/rm.exe -f ../units/x86_64-win64/fcllaz.ppu
E:/FPC/3.2.2/bin/i386-Win32/gmkdir.exe -p ../units/x86_64-win64
E:/FPC/3.3.1/bin/x86_64-win64/ppcx64.exe -MObjFPC -Scghi -O1 -g -gl -l 
-vewnhibq -Fu. -FE. -FU../units/x86_64-win64 -dx86_64 fcllaz.pas
Hint: (11030) Start of reading config file 
E:\FPC\3.3.1\bin\x86_64-win64\fpc.cfg
Hint: (11031) End of reading config file 
E:\FPC\3.3.1\bin\x86_64-win64\fpc.cfg

Free Pascal Compiler version 3.3.1 [2022/08/19] for x86_64
Copyright (c) 1993-2022 by Florian Klaempfl and others
(1002) Target OS: Win64 for x64
(3104) Compiling fcllaz.pas
e:\Lazarus\main\packager\registration\fcllaz.pas(11,3) Fatal: (10022) 
Can't find unit db used by fcllaz

Fatal: (1018) Compilation aborted
make[1]: *** [fcllaz.ppu] Error 1
make[1]: Leaving directory `e:/Lazarus/main/packager/registration'
make: *** [registration] Error 2


Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Cannot build Lazarus with actual FPC main

2022-08-19 Thread Gabor Boros via fpc-devel

2022.08.19. 11:51 keltezéssel, Michael Van Canneyt írta:


Do you find the db.ppu unit if you look for it ?



Yes:

e:\FPC\3.3.1\units\i386-win32\fcl-db\db.ppu
e:\FPC\3.3.1\units\x86_64-win64\fcl-db\db.ppu


I found an issue from the past with same error:

https://gitlab.com/freepascal.org/fpc/source/-/issues/34779

Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] Compile error with actual FPC main and Lazarus main

2022-09-28 Thread Gabor Boros via fpc-devel

Hi All,

With actual FPC (123f196d) and Lazarus (11bb7ce4) got the below error. 
Any idea?


sourcefilemanager.pas(311,1) Error: Compilation raised exception internally

Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Compile error with actual FPC main and Lazarus main

2022-09-28 Thread Gabor Boros via fpc-devel

2022.09.28. 19:09 keltezéssel, Ondrej Pokorny via fpc-devel írta:


That is quite normal. If you see such errors, check the "clean all" 
checkbox in the Build Lazarus dialog.


Ondrej



I never seen this problem before. The "clean all" trick works. Thank you 
Ondrej!


Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Compile error with actual FPC main and Lazarus main

2022-09-28 Thread Gabor Boros via fpc-devel

2022.09.28. 17:42 keltezéssel, J. Gareth Moreton via fpc-devel írta:

Which platform and OS is this for?

Kit



x86_64-win64, Windows 10 64bit.

Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Compile error with actual FPC main and Lazarus main

2022-09-28 Thread Gabor Boros via fpc-devel

2022.09.28. 17:43 keltezéssel, Ondrej Pokorny via fpc-devel írta:

Try a clean build.

Ondrej



Clean build is ok. The problem appears when use "Build Lazarus with 
Profile: Normal IDE".


Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] Will be 3.2.4?

2022-10-12 Thread Gabor Boros via fpc-devel

Hi All,

Florian started a thread "Preparing 3.2.4, call for merge request and 
regressions" in September 2021, but 3.2.4 not released yet. Any news in 
this subject? :-)


Gabor
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel