fpcup + fpc trunk + crosswin64 + 'TEST_WIN64_SEH' lazarus / 3-General ---------------------------------------------------------------------- rasberryrabbit · 2013-01-22 11:40 I got error with fpcup --fpcurl=trunk --fpcopt="-dTEST_WIN64_SEH". The error is compile problem that gtree.pp 's three methods has nested procedure call. It also notify Generic doesn't allow nested procedure call. Anyone success fpcup with this option in windows 32bit? ---------------------------------------------------------------------- BigChimp · 2013-01-22 12:31 Don't know if the various makes are smart enough to only use the SEH for Win64 cross compiling on your machine However, on my Win64 machine, I did this: QuoteParameter list:         --binutilsdir="c:\development\fpcbootstrap64" --fpcboots trapdir="c:\development\fpcbootstrap64" --fpcdir="c:\development\fpctrunk" --laz dir="c:\development\lazarus64_fpctrunk" --fpcuplinkname="" --fpcOPT="-gw -gl -dT EST_WIN64_SEH" --keeplocalchanges --lazlinkname="Laz64FPCTrunk" --lazOPT="-gw -g l" --primary-config-path="c:\development\lazarus64settings_fpctrunk" --noconfirm  --fpcURL="http://svn.freepascal.org/svn/fpc/trunk" --verbosewith development fpcup: Quotefpcup 19d28898dcca (Tue Dec 18 09:04:16 2012 +0100)... and it give this result Code: [Select]The installer encountered the following error: External command "C:/development/fpctrunk/compiler/ppcx64.exe -Twin64 -FUfcl-stl \units\x86_64-win64\ -FuC:\development\fpctrunk\rtl\units\x86_64-win64\ -Fufcl-s tl\src -Ur -Xs -O2 -n -FuC:/development/fpctrunk/rtl/units/x86_64-win64 -gw -gl -dTEST_WIN64_SEH -dx86_64 -dRELEASE -S2h -viq fcl- stl\BuildUnit_fcl_stl.pp" fail ed with exit code 1. Console output: Target OS: Win64 for x64 Compiling fcl-stl\BuildUnit_fcl_stl.pp Compiling .\fcl-stl\src\garrayutils.pp Compiling .\fcl-stl\src\gdeque.pp Compiling .\fcl-stl\src\gset.pp Compiling .\fcl-stl\src\gmap.pp Compiling .\fcl-stl\src\gvector.pp Compiling .\fcl-stl\src\gpriorityqueue.pp Compiling .\fcl-stl\src\gqueue.pp Compiling .\fcl-stl\src\gtree.pp Compiling .\fcl-stl\src\gstack.pp gtree.pp(88,4) Error: Generic methods cannot have nested procedures gtree.pp(118,4) Error: Generic methods cannot have nested procedures gtree.pp(136,4) Error: Generic methods cannot have nested procedures gtree.pp(140) Fatal: There were 3 errors compiling module, stopping Fatal: Compilation aborted .... so I see the same problem. Perhaps due to recent changes in fcl-stl... ---------------------------------------------------------------------- BigChimp · 2013-01-22 12:38 Straight fpcup compile (without Win64 SEH) does work. Going to report a bug. Bug reported: http://bugs.freepascal.org/view.php?id=23724 Thanks for the heads up. ---------------------------------------------------------------------- rasberryrabbit · 2013-01-22 12:44 Quote from: BigChimp on January 22, 2013, 01:38:59 pmStraight fpcup compile (without Win64 SEH) does work. Going to report a bug. Thanks for the heads up. Thank you ---------------------------------------------------------------------- BigChimp · 2013-01-22 12:45 Bug reported: http://bugs.freepascal.org/view.php?id=23724 ---------------------------------------------------------------------- rasberryrabbit · 2013-01-26 09:36 After apply r23519, It working fine. Thank you