Re: [fpc-pascal] Constants in generics

2019-01-07 Thread Sven Barth via fpc-pascal
Am 07.01.2019 um 02:05 schrieb Ryan Joseph: I updated the github with the requested changes. Is that everything? I’ll submit a patch if so. https://github.com/genericptr/freepascal/tree/generic_constants Looks better. The following points remain: - make sure that you don't have any unrelated

Re: [fpc-pascal] Constants in generics

2019-01-07 Thread Ryan Joseph
> On Jan 6, 2019, at 11:32 PM, Ben Grasset wrote: > > Also, there's: > > pgenutil.pas(158,28) Warning: Class types "tenumdef" and "torddef" are not > related > > which breaks compilation because the compiler is built with -sew turned on if > you do it through the normal makefiles. I think y

Re: [fpc-pascal] Get "disk" ID

2019-01-07 Thread Graeme Geldenhuys
On 05/01/2019 16:03, Bart wrote: > I need some function to get a unique ID for a disk. Take a look at OnGuard - which is software copy projection software written for Delphi and FPC (originally by TurboPower Software Co). The latest software changes I made to it can be found on Github: https:/

Re: [fpc-pascal] Small typo in User_Changes_Trunk ?

2019-01-07 Thread LacaK
> Am Mo., 7. Jan. 2019, 08:33 hat LacaK > geschrieben: > > Hi, > > reading > > http://wiki.freepascal.org/User_Changes_Trunk#Modeswitch_TypeHelpers_in_Delphi_modes_enables_type_helper-syntax > there is: > > Remedy: The only problems arise if one disabl

Re: [fpc-pascal] Small typo in User_Changes_Trunk ?

2019-01-07 Thread Sven Barth via fpc-pascal
Am Mo., 7. Jan. 2019, 08:33 hat LacaK geschrieben: > Hi, > > reading > > http://wiki.freepascal.org/User_Changes_Trunk#Modeswitch_TypeHelpers_in_Delphi_modes_enables_type_helper-syntax > there is: > > Remedy: The only problems arise if one disabled the modeswitch on > purpose which now longer dis