fpc-devel · 2010-11
- FPC for Linux-ARM56
Looking at: http://www.freepascal.org/down/arm/linux-austria.var There is no download for 2.4.2 Was the page not updated or is something needed to get this working?…
- New language feature suggestion (probably not existing in Delphi)16
I thought about OOP recently, as many sometimes wonder that it's not as good as it can be in some areas. For example, the OOP encapsulation is good, but sometimes the…
- problem compiling11
When trying to compile svn version 16473 (and some earlier versions) I get: /usr/bin/ppc386 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -Fii386 -FE.…
- defaultformatsettings18
Seems Delphi XE has deprecated all separate variables, and after ten years did the same as FPC, use an absolute trick. And of course they named it differently (FPC:…
- Less comprehensive progress output for fpmake6
I have created a patch for fpmake that hides some of the raw compiler output. The new output looks more like scons and is actually more clear imho. You can however still…
- Is GLUT_EXCLUSIVE_FPUMODE really needed?2
This applies to GLUT_EXCLUSIVE_FPUMODE mode inside packages/opengl/src/glut.pp source code. Reading history, I see it was caused by this bug and patch:…
- Added new target to fpmake15
ZeelandNet Webmail Today I was playing with FPDoc and I decided to add creating the documents as a target to fpmake which seems logical to me. I only did a very basic…
- Question regarding thread finalization3
Hello together! As you might now, I'm working on a (according to Michael maybe temporary) solution for the clean up of external threads (see…
- StdOut capture for FPC RTL40
Dear All. Currently to implement logger we use the following approach (the code was implemented for Delphi/Kylix/FPC). Logger is intended for displaying in the GUI…
- x11/xrender.pas works for anyone?1
I am converting a couple of X11 extensions headers and I see that xrender.pas already exists in Free Pascal, but it links the XRender functions to libX11.so In the…
- Difference between S_L and S_IL topsize1
Hello. I'm trying to understand fpc's assembler's internals. In fpcsrc/compiler/i386/cpubase.inc the enumertaion topsize is defined. The elements S_B, S_W, S_L and S_Q…
- Component FTag and Tag should be int6427
I was looking at the code for Tag property in classes unit and noticed I can't safely use Tag to keep runtime pointers (at least on a 64 bit compile). What is the…
- Property TComponent.Tag change0
To remain compatible with the upcoming Delphi 64-bit release, I've changed the 'Tag' property type from Integer -> PtrInt. The practical upshot from this is that you can…
- Generics - anyone working on them?1
Hi! I've attached several patches regarding generics some time ago (http://bugs.freepascal.org/view.php?id=15875, http://bugs.freepascal.org/view.php?id=11777), but…
- mstackrealign2
http://bugs.freepascal.org/view.php?id=17384 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 can a C-ABI expert enlight us on this ABI mess. Does this also effect…
- error while linking on OSX1
Hello, FPC developers' list What can be a reason for the next error: "ld: in /usr/local/lib/fpc/2.4.2/units/i386-darwin/rtl/macpas.o, indirect symbol index out of range"…
- Suggestion regarding dynamic packages2
I recently read the info about current implementation of packages and a post that dynamic packages support is at the early stage or not started yet. Knowing that fpc…
- Some more THandle problems6
Hello together! While getting SysUtils and Classes to compile for Native NT I've stumbled upon some more spots where Handle=LongInt/LongWord is assumed. 1. In…
- constref in Windows23
In fpc 2.5.1 trunk today the QueryInterface in rtl\inc\objpash.inc is defined as: IUnknown = interface ['{00000000-0000-0000-C000-000000000046}'] function…
- LLVM code generation0
I like the llvm architecture and want to ask if I can help developing the llvm code generation for fpc (with the intention to make llvm fully replace fpc's own asm…
- utf8 or ascii ? win32: filenames in debug info0
If debug info is written to a file on windows, are filenames encoded as utf8, or in system-ascii ? gdb returns \344 for "a umlaut" => that looks like ascii but it also…
- libtinfo issue22
About this bug tracker item: http://bugs.freepascal.org/view.php?id=9734 It seams impossible to install the Free Pascal RPM and use the PCLinuxOS package manager…
- Boehm garbage collector for freepascal16
You can find boehm garbage collector bindings for freepascal, incl. replacement memory manager at http://freepascal.thaddy.co.uk/fpc_boehm_gc.zip For win32 a prebuild…
- Use widesting as default?3
I'm converting a Delphi 2009 project to FPC. In this project all strings are widestrings, which is default for Delphi 2009. However, in FPC all strings are still…
- Native Datatypes0
There could be "native" Datatypes, that means data types that are compiled into fastest code by compiler (without size casting). An example is the PtrInt, but there…
- Free Pascal 2.4.2 released!58
we have placed a new major release of the Free Pascal Compiler, version 2.4.2 on our ftp-servers. Changes that may break backwards compatibility are documented at:…
- Free Pascal 2.4.2 minimal distros for fpGUI available13
This web page has i386 Win32 and ARM WinCE cross-compiler zips that include everything needed (no install necessary) to test FPC 2.4.2 with the fpGUI 0.7 release (Aug…
- Pascal name mangling1
I have this procedure: function errorHandler(d: PDisplay; e: PXErrorEvent): cint; cdecl; And I would like to set a break-point in it in GDB. Any ideas how to do that?…
- x86_64/amd64 asmcse and peephole optimizer port2
the last days I've done a first step in Porting the i386 data flow analyzer, asmcse and peephole optimizations. Main motivation is: target instruction level…
- PDF docs downloads are outdated1
I just downloaded all the PDF docs from the Free Pascal website, then noticed they are all for v2.4.0, not 2.4.2. Just thought I would mention this. - Graeme -…
- revision.inc6
because i compile constantly the trunk i always wished the version string to have the svn revision. Looking at the version.pas i found that the only think i have to do…
- very misleading error msg...2
(using the -Se 10 switch) Compiling C:\Users\martin\AppData\Local\Temp\syn\project1.lpr project1.lpr(9,5) Error: Illegal expression project1.lpr(9,5) Fatal: Syntax…
- Re: Interface scope incompatibility with Delphi9
ok, answering my own mail after a small test below tested with following program and 2.4.0 (can someone verify on trunk) it gives somewhat the desired result, but not…
- Re: Interface scope incompatibility with Delphi39
It depends. You're not supposed to make assumptions on when an interface goes out of scope. If you search the archives, you'll find multiple threads about this, where…
- Pointer type declaration issue10
When I was adapting KOL for 2.5.1 (trunk) I noticed a delphi incompatibility: PSomeType = ^TMySomeType; TMySomeType = tagSometype; This doesn't compile. I have to change…
- Re: Interface scope incompatibility with Delphi0
I still use that trick daily in Delphi: the cursor handling stuff, that is. It makes it possible to keep the code readable without cluttering it with extra (explicit)…
- Two issues with variant type definitions2
Two questions I wanted to ask: 1) There are two variant type defintions (varxxx constants): one in compiler/symdef.pas, another one in rtl/inc/varianth.inc. Worse, they…
- Code Style in FPC1
what code style does fpc have? There is a lot of inconsistency in the units, for example the assembler units with "tai" in lower case everything and in other rtl units a…
- Free Pascal introduction to the world7
-------- Original Message -------- Subject: Interface scope incompatibility with Delphi Date: Wed, 10 Nov 2010 16:57:13 +0200 Op 2010-11-10 15:01, Michael Van Canneyt…
- crash report for constructor may point to destructor2
If a constructor crashes, the the object that it was constructing will be destroyed. (fpc inserts an exception frame to ensure that). So far so good, all correct. But if…
- FPC 2.5.1. rev. 16318 Segmentation fault1
tried to update my tools. Building FPC from sources all went fine. Building Lazarus the same. But when i tried to run Lazarus i got : Starting program:…
- gdb driving me nuts => it's starting a 2nd thread for no apparent reason....8
Ok, anyone with an idea.. Attached is a simple program (appologies for the many commented lines, but all logs refer to the lines as in this source, and I didn't want to…
- Question regarding FileSetDate implementation3
Hello together! As you might have noticed, I'm working on the NativeNT RTL again and discover some nice FPC_HAS_FEATURE_* and THandle problems on the way. Now I've found…
- bug in fpdoc HTML output - double spacing23
http://bugs.freepascal.org/view.php?id=17542 I reported this bug, because only recently did HTML output start being double spaced (extra blank lines between lists of…
- Error: Type is not automatable: "WideString"0
When I try to call automated method with string constants, I had the compile-time error: 'Error: Type is not automatable: "WideString"'. What I do wrong? Or may be It's…
- debug formats, differences and options?7
A few questions about the different debug formats (stabs, dwarf 1,2,3(,4)) I don't know at which stage debug info is added: when creating .ppu/o or when creating .exe…
- Re: memleak in fpdoc4
2010/11/5 Michael Van Canneyt : I debugged some more. In procedure ProcessInheritanceStrings(inhInfo:TStringList) the inhclass string list is created, but not freed. The…
- type inside a class with generics raises Fatal: Internal error 2007051520
When I create a file like the one I attached I reacived the following error message on line 10: Fatal: Internal error 200705152 When I remove the class to be outside of…
- [PATCH] XMLCFG AnsiStringDOMString conversion9
When I using xmlCfg unit i found problem with storing literals in arbitrary code page. XMLCfg perform automatic conversion with omit some chars. I've change it to use…
- Problem reading pgm image1
Hi, I'm loading PGM files to a TImage.Picture using its LoadFromFile or LoadFromStream methods. This works well on small to medium sized images, but I'm getting an…
