Re: [fpc-pascal] Feature announcement: default namespaces

2018-05-08 Thread Graeme Geldenhuys
On 2018-05-06 14:45, Vojtěch Čihák wrote: > LCLIntf, LCLProc, LCLType isn't enough? I will use dotted units only if > there will be absolutely no other way around. > > I believe it can be useful but I don't think it's "must have" (when I > don't consider Delphi compat.).  > No, it's not a "must

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-08 Thread Ryan Joseph
You mean this line: PT:=P.Targets.AddLibrary('pas2jslib.pp’);? I removed that line but if I do a “make all” in the /utils/pas2js directory I still get this error. I remember getting this in the past before and doing a clean install seem to fix it but not this time. The file system.ppu is the cu

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-08 Thread Michael Van Canneyt
On Tue, 8 May 2018, Ryan Joseph wrote: You mean this line: PT:=P.Targets.AddLibrary('pas2jslib.pp’);? Yes. I removed that line but if I do a “make all” in the /utils/pas2js directory I still get this error. I remember getting this in the past before and doing a clean install seem to fix

Re: [fpc-pascal] fpWeb: How can I use heaptrc in standalone mode?

2018-05-08 Thread Marcos Douglas B. Santos
On Mon, May 7, 2018 at 6:05 PM, Michael Van Canneyt wrote: > > > On Mon, 7 May 2018, Marcos Douglas B. Santos wrote: > >>> Application.Run; >>> end. >>> >>> ===END=== >>> >>> My environment is: Lazarus 1.8.3 r57764 FPC 3.0.4 i386-win32-win32/win64 >>> >>> Best regards, >>> Marcos Douglas >> >>

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-08 Thread Ryan Joseph
> On May 8, 2018, at 6:47 PM, Michael Van Canneyt > wrote: > > Do a checkout of the pas2js repo, and in the toplevel fpmake.pp, remove the > line with AddLibrary. Ok it finally worked. The fpmake.pp file at https://svn.freepascal.org/svn/projects/pas2js/trunk was totally different than the

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-08 Thread Ryan Joseph
> On May 9, 2018, at 8:41 AM, Ryan Joseph wrote: > > Ok it finally worked. Making progress but the wiki is incomplete I think. I figured out how to add the rtl with -Fu but I’m getting an error. What’s wrong with that name? Can you show an example of a working command line? ./pas2js -Jc -Ji

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-08 Thread Michael Van Canneyt
On Wed, 9 May 2018, Ryan Joseph wrote: On May 9, 2018, at 8:41 AM, Ryan Joseph wrote: Ok it finally worked. Making progress but the wiki is incomplete I think. I figured out how to add the rtl with -Fu but I’m getting an error. What’s wrong with that name? Can you show an example of a

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-08 Thread Mattias Gaertner
On Wed, 9 May 2018 09:03:29 +0700 Ryan Joseph wrote: > > On May 9, 2018, at 8:41 AM, Ryan Joseph wrote: > > > > Ok it finally worked. > > Making progress but the wiki is incomplete I think. I figured out how to add > the rtl with -Fu but I’m getting an error. What’s wrong with that name? Ca

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-08 Thread Ryan Joseph
> On May 9, 2018, at 1:20 PM, Michael Van Canneyt > wrote: > > Where is the rtl.js file ? is it in /Developer/pas2js/packages/rtl ? it > should be in one of the directories specified with -Fu. I misunderstood the wiki I guess. I thought that command was supposed to generate the file for you.

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-08 Thread Michael Van Canneyt
On Wed, 9 May 2018, Ryan Joseph wrote: On May 9, 2018, at 1:20 PM, Michael Van Canneyt wrote: Where is the rtl.js file ? is it in /Developer/pas2js/packages/rtl ? it should be in one of the directories specified with -Fu. I misunderstood the wiki I guess. I thought that command was supp

Re: [fpc-pascal] fpWeb: How can I use heaptrc in standalone mode?

2018-05-08 Thread Michael Van Canneyt
On Tue, 8 May 2018, Marcos Douglas B. Santos wrote: On Mon, May 7, 2018 at 6:05 PM, Michael Van Canneyt wrote: On Mon, 7 May 2018, Marcos Douglas B. Santos wrote: Application.Run; end. ===END=== My environment is: Lazarus 1.8.3 r57764 FPC 3.0.4 i386-win32-win32/win64 Best regards,