fpc-pascal
Subscribe to this list Your subscription
Latest threads
- [PATCH] Add the CreateCGIParams/FreeCGIParams methods in FCL FCGI4
Please see this patch in attached. Can I send it to bugtracker? Thank you! Silvio Clécio My public projects - github.com/silvioprog
- SCGI in Pascal?13
Can any one inform if exists a FPC or Delphi implementation to this protocol [1]? Thank you! [1] - http://en.wikipedia.org/wiki/Simple_Common_Gateway_Interface Silvio…
- NTP3
Does anyone have experience on how to get the current date/time of an NTP server? Torsten.
- {$WARNINGS OFF} isn't local1
Using FPC v2.6.3 the {$WARNINGS OFF}, {$HINTS OFF}, and {$NOTES OFF} directives affect all subsequently compiled units as well. That seems wrong. Delphi limits the…
- linux ACL4
I need to set ACL's on files on Linux. Is there something ready-made in fpc ? Or should I use a TProcess and execute a setfacl that way ? TIA Koenraad
- Cannot reuse TFPHTTPClient object for 2 different POST requests11
Consider the following program (it's a real program with real parameters, nothing hidden, so you can really just try it out because the target server is public): {$mode…
- Linker script doesn't search in /usr/lib32 when cross compiling from x86_64 to i3868
I just updated to FPC 29428 and now I can no longer cross compile to i386 (I'm on x86_64). The linking stage always fail with: "/usr/bin/ld: skipping incompatible…
- character escaping with ^LETTER8
today I saw this kind of character escaping: var a :char; begin a:=^M; // char(13) writeln(^X); // char(24) end; The code of the character is derived as…
- OSX x86_64 make problem6
Hello free pascal compiler developers, Problem: On OSX the x86_64-darwin compiler "ppcx64" is not being built. Background: I am in the process of writing a series of…
- TFileStream.Create and hidden files on Windows3
I have some old tools lying around that are still in use, and I modernized them a bit. One part of that is to replace file handling with FileStreams whenever apllicable.…
- Optimization switches1
Hi. By chance I was looking at help page for compiler switches regarding optimazations: http://www.freepascal.org/docs-html/prog/progsu58.html#x65-640001.2.58 And I…
- Debug information3
Can not get debug information -g -gl -gw switched on but no further information (line nr) is displayed when an error occured.
- raw printing throught USB port / WINDOWS7
I need a solution (unit?) to access printer (matricial like LX80, LX300 and so on) in raw mode throught USB port directly from FPC program build in mode win32 or win64.…
- FPC v.3.0 roadmap4
This morning I saw FPC's SVN was already marked for v.3.0. There must be some reasons why it's not marked for v.2.8 (as successor for currently v.2.6). May I ask... what…
- MIPS32 support4
Anybody know the status of MIPS32 support with Free Pascal? To be used on something like this board: http://shop.imgtec.com/uk/product/mips-creator-ci20/ - Graeme -…
- fpc2.6.4 compilation problem3
I have some difficulties to compile my PASCAL code with external subroutine in FORTRAN on MAC OS X Yosemite 10.10.1 using fpc 2.6.4. The problem is the following: I…
- windows handle0
I create a window using GLUTCREATEWINDOW https://www.opengl.org/documentation/specs/glut/spec3/node16.html and need MPlayer to run a video in the window created ...…
- SDL_Net vs Synapse7
Any opinions/experience pro/con using SDL2 (SDL_Net) vs Synapse (http://synapse.ararat.cz/doku.php) ? Thanks Brian View this message in context:…
- compiler message files16
I'm experimenting with FPC's message (.msg) files. I wonder, who did create those files? Where are the text taken from? Is there any tool to generate those files? I also…
- strlower causes EAccessViolation2
The simple program below compiles and produces the expected output in 2.6.4. In 2.7.1 (3.1.1 now) an EAccessViolation is caused. The strlower function seems to be in…
- Binary code generated for Integer and PtrInt5
Does it make sense to use PtrInt instead of Integer for optimization or code size reasons? In other words, does the compiler generate faster or smaller code in 64-bit…
- FormatSettings not updated in Linux11
Contrary to what written in docs, DefaultFormatSettings aren't adjusted to the current locale in Linux at the startup of an application both on fpc 2.6.4 and on fpc…
- Error while linking4
One of my project just started fail on compilation. Other projects compile fine. In lazarus message window I get only "Error: Error while linking". Normally in that…
- AWS Lib - Object Pascal library for the Amazon Web Services3
I'm glad to announce the 0.2 release of AWS Lib, a minimalistic Object Pascal implementation for the Amazon Web Services. The project has been completely rewritten using…
- memory leak in TCustomSQLQuery.Create1
In TCustomSQLQuery.Create, FRefreshSQL:TStringList is created on line 2095, but never freed. This causes a small memory leak. Please see the attached test program…
- cloning data containers8
I hope you all had nice christmas days and now can answer my question. ;) Is there any way of cloning record and objects having only data fields? Or do I have to copy…
- Generated names in specialized classes are weird in Free Pascal5
Recently I've made a class to generate error log for codes in Delphi and Free Pascal. It works capturing the class name where the problem occurred, adding the date/time…
- Question about functions returning a string7
Take the following function prototype (in {$mode objfpc}{$H+} for the record): Function SomeFunction(const Data: PChar; const Len: LongWord): String; cdecl; public;…
- Benchmarks are odious, but...1
At http://www.fourmilab.ch/fbench/fbench.html John Walker, formerly of Autodesk, rates FPC as one of the faster languages but remarks "To the best of my knowledge, none…
- we can "nintendo dual screen" begin, again brother - I'll pull some strutils0
/rtl/nds# make PP=ppcarm BINUTILSPREFIX=arm-none-eabi- Makefile.fpc <http://free-pascal-general.1045716.n5.nabble.com/file/n5720668/Makefile.fpc> View this message in…
