fpc-pascal
Subscribe to this list Your subscription
Latest threads
- 0.9.20 released2
The Lazarus team is glad to announce the 0.9.20 release. This release is based on fpc 2.0.4. This release can be downloaded from the sourceforge download page:…
- Fpc compiler error win32 "Entrypoint _mainCRTStartup not defined"13
Was trying the last trunk and got this error on the i386-win32. Its not a big deal, we still got a working fpc/lazarus for win32 & wince, just wundering if this is a…
- C API call problem under WinCE0
If I start the test application on the WinCE device the result is: "project1.exe is not a valid Windows CE application." If I comment out the SCAN_FindFirst call, the…
- Is it necessary to protect passed passwords in memory?6
I was thinking of writing a daemon in freepascal. When the program is started it will ask for a password. Then keep the pass in a string variable, using it every 10…
- Progress Bar in different widget sets36
GTK's progress bar has a feature where the progress bar moves left and right repeatedly, instead of the normal from Min to Max. What do you call that feature and what do…
- How to fix - Hint: Type size mismatch1
I am trying to clean up the fpGFX code and trying to get rid of all compiler warnings. I get the following compiler hint on every line in the RectToXRect function. Using…
- Re: PROJECT_DERIVED_FILE_DIR1
Thank you very much, that has helped a lot. The project files readme has a good description of how XCode's build system works, which also has helped. Erling's template…
- Problem with multiple inheritance4
I was trying to split the o-o wrappers around Qt procedural wrappers in 2 parts. One that depends on Lazarus and another that can be used with only Free Pascal. So I…
- Generics1
As I can see, there already is some support for generics in FreePascal, but only for classes. Will records, their operators and free functions be supported too ? Could…
- PROJECT_DERIVED_FILE_DIR1
With fpc, in trying to compile an example brought in from CW, and using XCode 2.4.1 on a Dual 2.0 G5 10.4.8, I have started with a Carbon template. In the target rules…
- DateToStr locale5
hello all i've noticed that DateToStr gives correct results on win32 (regarding locale), but on linux and osx it always gives the date as dd-mm-yyyy. i read somewhere in…
- Program needs probably the variants unit0
I wrote accidentally the following line of pascal code: writeln(output, a + b); where a was a double, and b was a string. The program compiled, linked successfully. Why?…
- Linux Install: Is it me or the documentation? ;-)9
First let me say how pleased I am to discover FreePascal. 'Twas my favourite programming language way back around 1988-89, being the last time I put my serious…
- ROPS and latest FPC compiler (svn)15
I'm running into strang ROPS behaviour when using the latest compiler in svn. Is there a compiler switch required for it to work ok? Using revision 3823 I have no…
- -Xe and -Xi question3
when using -Xe option DBG is working, but when using -Xi it is not. Is it normal? (Using an old 3823 revision.) I tried r4479 (v2.0.4) and v2.0.4 FPC version but -Xe is…
- how FPC expects string/interface/variant results?7
I have a question (for ROPS) in FPC that is way over my head. - Can you find out how FPC expects string/interface/variant results ? Is there documentation where I could…
- FPC hackers contest [was: Eye Candy Contest]0
On Wed, 01 Nov 2006 12:19:57 +0100 Lots of people are very fond of C because you can write 'unreadable' code and do some fancy/hackerish things like printing program's…
- Linux library access violation4
I get an "Access violation" when I call a function from a C library. Not sure if I can explain well enough, so I will just post the code: The C library: #include…
- Makefiles vs Pascal Automation4
In many cases makefiles take about just as long to create as shell scripts or pascal programs - they just offer a nice framework to automate compiling in an easy way -…
- Rename executable extension MAKE or FPC2
Hi all, it's been a long time.. but I have a question. Is there any way tell FPCMAKE to rename all PROGRAMS to have a different extension? Example: On Windows:…
- Order of {$H+} and OBJFPC5
{$H+}{$MODE OBJFPC} Results in short strings with fpc-2.0.4, and long strings with previous compilers. Is this a bug fix, or a new bug? - Jeff
- TypInfo Error: type identifier not allowed here1
Why do I get this error? /tiOPF/UnitTests/Common/tiDUnitUtils.pas(231,32) Error: type identifier not allowed here It works on other enumerated declarations, but not on…
- win resource sections4
could you tell what progress (approximately in percents) is done with Windows exe resource sections support, please? Herewith i want to note that login status label in…
- I think I must be the first person to ever use tmemds for anything serious...0
I think I've just found my 3rd bug in the unit. for me, it always says true when booleans are returned with .asBoolean, and as empty strings when returned with .asString…
- Compilation error with compiler abort2
Hi ! I'm developing a program in FPC. The success of this project will define the use of FPC as a approved tool here in my job. Suddenly I became to receive a strange…
- Qt4 binding ported to 64bit3
FYI: thanks to a patch from Giulio Berna, the Qt4 binding now also works on 64 bit platforms ( ifdef _LP64... ) Important note from Giulio: there is a bug on fpc 2.0.4…
- XSLT library2
Is there a XSLT library included with FPC. I did have a look and couldn't find anything, but thought I would ask to be sure. Otherwise, has anybody ever use the…
- FPC 2.0.2 vs 2.0.4 xmlread3
I had an old application that worked fine with 2.0.2 but doesn't work with 2.0.4. The problem is that it reads XML and then uses the data to do some processing.…
- typed constants...5
is this bit of syntactic weirdness a fpc element, or from delphi. I've largely been away from pascal since the early 90s, mostly only using it to write dos-y…
- fpc arm crossbuild error0
I have removed the FC5 rpm versions of fpc and installed the source and x86_64 binary so everything is the same... # fpc Free Pascal Compiler version 2.0.4 [2006/08/20]…
