Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal

fpc-pascal · 2021-03

  1. FPC PasCocoa/Differences

    The FPC PasCocoa/Differences wiki <https://wiki.lazarus.freepascal.org/FPC_PasCocoa/Differences> writes about ObjC class extensions: "You can use regular (non-external)…

    Adriaan van Os, Jonas Maebe
    2
  2. Hide warning number

    Is there a way to hide a warning for all files from the command line? The "not inlined" warnings (6058) are too numerous to even be useful anymore so I'd like to disable…

    Ryan Joseph, Bart, Marco van de Voort
    2
  3. Pass type as function parameter

    Would it be possible in FPC to pass a type of a variable as a parameter to a function? e.g. MyFunction(integer); I have legacy C code that does this via a macro.…

    Darius Blaszyk, Marco van de Voort, Michael Van Canneyt
    3
  4. RaspberryPi GPIO access from multiple applications using /dev/gpiomem?

    I have a control application that uses GPIO pins to switch ON/OFF power feed to a data collection system and to start it using a trigger pulse. Now I am trying to…

    Bo Berglund
    1
  5. SinclairQL (M68K) Port

    Back in November, we had a visit on our Sinclair QL forum (qlforum.co.uk) from ChainQ informing us that he had created a Sinclair QL version of Free Pascal for M68K.…

    Norman Dunbar, Karoly Balogh, Tomas Hajny
    6
  6. fpreport: can not use two ObjectLists as datasource in one report

    I have a sample attached to show the problem. I want in the report (created a runtime) to use more than one report datasource. I create a databand and connect this with a

    Andreas Frieß, Bart, Michael Van Canneyt
    13
  7. Pull request for fphttpclient.pp in git mirror repo

    I just received a notification that somebody created a pull request for FPC in my git mirror repository. I will notify the person that it's a read-only repository, but…

    Graeme Geldenhuys, Martin Frb, Michael Van Canneyt
    3
  8. Extraneous generic parameters

    This program compiles, but is it a bug? I would think the specialization should fail because "S" in TArray is not specified. ======================== {$mode objfpc} type…

    Ryan Joseph, Sven Barth
    3
  9. JSONStringToString question

    Function result Pascal string with escaped characters replaced {$mode objfpc} {$h+} uses fpjson; var S1, S2: TJSONStringType; begin repeat write('S: ');readln(S2); S1 :=…

    Bart, Michael Van Canneyt, Sven Barth
    10
  10. Smart-linking versus Whole Program Optimization

    my goal is DO NOT include unused procedures, methods in final program/library on Win32 target exe/dll. A.) I compile my (units) program/library with -CX -XX (set in…

    LacaK, Jonas Maebe, Karoly Balogh
    12
  11. Cannot write datetime field on sqlite3 database on ARM

    I am developing my app on Windows and building apps for other platforms by using cross compiler. Now I have a problem only occurred on Linux ARM. The problem is that it…

    Toru Takubo, Cappelletto Gabriele, Florian Klämpfl
    15
  12. Is RV32I instruction set for RISC-V (embedded) supported?

    I would like to use fpc to program a FPGA softcore RISC-V cpu. The softcore has the RV32I instruction set implemented. I modified the Makefile in rtl/embedded, so that…

    Bernd Mueller, Florian Klämpfl
    5
  13. Unicode chars losing information

    I came across a bug which was caused but a unicode character losing information and narrowed it down to this. Why doesn't the chars[1] print the same character as…

    Ryan Joseph, Adriaan van Os, Bart
    37
  14. Why has the tkFloat default value changed?

    In FPC 3.2.0 the default "Default" value of a single/double property has changed from $80000000 (fpc 3.0.4) to 0. This breaks TWriter. The $80000000 means the property…

    Mattias Gaertner, Ondrej Pokorny, Peter
    5