Re: [fpc-pascal] How to list USB devices on Windows?

2018-06-26 Thread R0b0t1
On Wed, Jun 27, 2018 at 12:32 AM, Bo Berglund wrote: > I am writing a class that interfaces to a specific USB device HID type > and I would like to list all such devices currently connected to the > PC (usin Windows). > > On Linux I can do this on the command line: > > $ lsusb > Bus 001 Device 004

Re: [fpc-pascal] Lazarus and Linked Lists

2018-06-26 Thread leledumbo via fpc-pascal
> Is there a basic linked List object for Lazarus? https://svn.freepascal.org/svn/fpc/tags/release_3_0_4/packages/fcl-stl/src/glinkedlist.pp -- Sent from: http://free-pascal-general.1045716.n5.nabble.com/ ___ fpc-pascal maillist - fpc-pascal@lists.

[fpc-pascal] How to list USB devices on Windows?

2018-06-26 Thread Bo Berglund
I am writing a class that interfaces to a specific USB device HID type and I would like to list all such devices currently connected to the PC (usin Windows). On Linux I can do this on the command line: $ lsusb Bus 001 Device 004: ID 07f2:0003 Microcomputer Applications, Inc. Bus 001 Device 003:

[fpc-pascal] Lazarus and Linked Lists

2018-06-26 Thread Terry A. Haimann
Dumb question, Is there a basic linked List object for Lazarus? Terry Haimann ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] Format specifier in FPC?

2018-06-26 Thread Darius Blaszyk
Hi, I have the following format specifier in C : %+.05f. What would be the FPC equivalent? A float is printed like this: -0.70711 The specified '+' will explicitly print out the sign for the float independent if it is a positive or negative. Rgds, Darius

Re: [fpc-pascal] how to get rid of hints

2018-06-26 Thread Florian Klämpfl
Am 25.06.2018 um 09:19 schrieb Mattias Gaertner: Hi, How to get rid of hint 6068? With fpc 3.1.1 using some units like fgl the compiler emits: .../fpc/rtl/objpas/fgl.pp(899,1) Hint: "inherited" not yet supported inside inline procedure/function .../fpc/rtl/objpas/fgl.pp(899,1) Hint: Inlining d

Re: [fpc-pascal] macos make 3.1.1 fails

2018-06-26 Thread Mattias Gaertner
On Tue, 26 Jun 2018 09:07:00 +0100 C Western wrote: >[...] > Carbon is i386 only, so i386 is still needed. I haven't figured out all > the options, but the command line that works for me is: > > FPC=/usr/local/lib/fpc/3.0.4/ppc386 make distclean install PREFIX=~/usr > CPU_SOURCE=i386 > > (All

Re: [fpc-pascal] macos make 3.1.1 fails

2018-06-26 Thread C Western
On 26/06/18 03:35, Anthony Walter wrote: I don't believe i386 is supported by the newer OSX dev tools. Use x86_64 instead. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal Ca