[fpc-devel] wrong line for deprecated

2011-09-10 Thread Martin
Just noticed the following program Project1; var a: integer deprecated; begin if 1 = a then writeln; end. project1.lpr(5,3) Warning: Symbol "a" is deprecated Which points to the "then" on the line after "a" is used. (even if the lines a joined, it always points to the next token) If a is

Re: [fpc-devel] Project Idea: Mini-FPC

2011-09-10 Thread Skybuck Flying
" Have you looked at target "embedded" ? " Just took a look at it it's still quite big/huge and uses arm ? " For what specific platform are you contemplating this for ? " None, redcode, cuda. Mini-fpc could be reduced to show proportions that it becomes virtual, an exercise at seperating the

Re: [fpc-devel] Project Idea: Mini-FPC

2011-09-10 Thread Skybuck Flying
3 comments: " 1) Floating point support is necessary for the compiler to compile/build itself, because floating point number support needs to be available in the compiler itself (otherwise source files containing floating point numbers cannot be processed by the compiler). " Why would a basic/co

Re: [fpc-devel] the new resourcestring in const translation

2011-09-10 Thread Anton Kavalenka
On 09.09.2011 18:27, Sergei Gorelkin wrote: 09.09.2011 18:36, Martin пишет: fpc recently added the ability to translate const Foo: String = resourcestring; if resourcestring changes so does Foo Any way to work around this? Probably only by duplicating the literal value which is used to initia

Re: [fpc-devel] the new resourcestring in const translation

2011-09-10 Thread Marco van de Voort
In our previous episode, Anton Kavalenka said: > This being translated always and is Delphi compatible It is if you use Delphi based resources for translating. It is not if you use thirdparty translation packages udner Delphi like e.g. dxgettext ___ fpc

Re: [fpc-devel] Project Idea: Mini-FPC

2011-09-10 Thread Tomas Hajny
On 9 Sep 11, at 14:15, Skybuck Flying wrote: > " > 1) Floating point support is necessary for the compiler to compile/build > itself, because floating point number support needs to be available in the > compiler itself (otherwise source files containing floating point numbers > cannot be processed

Re: [fpc-devel] the new resourcestring in const translation

2011-09-10 Thread Anton Kavalenka
On 10.09.2011 12:05, Marco van de Voort wrote: In our previous episode, Anton Kavalenka said: This being translated always and is Delphi compatible It is if you use Delphi based resources for translating. It is not if you use thirdparty translation packages udner Delphi like e.g. dxgettext

Re: [fpc-devel] Project Idea: Mini-FPC

2011-09-10 Thread Hans-Peter Diettrich
Skybuck Flying schrieb: Nano would be: One integer type, one string type, branch support, loop support, basic support, object orientation support, property support, array support, virtual methods support. You'll have much trouble in *removing* existing features from FPC, affecting parser,

Re: [fpc-devel] Project Idea: Mini-FPC

2011-09-10 Thread Jeff Duntemann
If a "mini-FPC" were to be created to help popularize the Pascal language and get beginners interested and up to speed, it would be more useful to provide a simple IDE than a stripped-down compiler. The console FP IDE has never worked well for me (crashes a lot) and Lazarus is very large and in

Re: [fpc-devel] Project Idea: Mini-FPC

2011-09-10 Thread Michael Van Canneyt
On Sat, 10 Sep 2011, Jeff Duntemann wrote: If a "mini-FPC" were to be created to help popularize the Pascal language and get beginners interested and up to speed, it would be more useful to provide a simple IDE than a stripped-down compiler. The console FP IDE has never worked well for me (c

Re: [fpc-devel] Project Idea: Mini-FPC

2011-09-10 Thread Martin Schreiber
Am 10.09.2011 15:42, schrieb Jeff Duntemann: If a "mini-FPC" were to be created to help popularize the Pascal language and get beginners interested and up to speed, it would be more useful to provide a simple IDE than a stripped-down compiler. The console FP IDE has never worked well for me (cras

Re: [fpc-devel] Project Idea: Mini-FPC

2011-09-10 Thread Mattias Gaertner
On Sat, 10 Sep 2011 16:51:36 +0200 (CEST) Michael Van Canneyt wrote: > > > On Sat, 10 Sep 2011, Jeff Duntemann wrote: > > > If a "mini-FPC" were to be created to help popularize the Pascal language > > and > > get beginners interested and up to speed, it would be more useful to > > provide

RE : [fpc-devel] Project Idea: Mini-FPC

2011-09-10 Thread Ludo Brands
> None, redcode, cuda. > > Mini-fpc could be reduced to show proportions that it becomes > virtual, an > exercise at seperating the processing of the pascal language > and giving > meaning/sense to the tokens so it becomes ready for > assembling. It could be > reduced to such a level that it

Re: [fpc-devel] Project Idea: Mini-FPC

2011-09-10 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Sat, 10 Sep 2011, Jeff Duntemann wrote: If a "mini-FPC" were to be created to help popularize the Pascal language and get beginners interested and up to speed, it would be more useful to provide a simple IDE than a stripped-down compiler. The console FP IDE has n

Re: RE : [fpc-devel] Project Idea: Mini-FPC

2011-09-10 Thread John Lee
> > > Have a look at the P4 pascal compiler > http://homepages.cwi.nl/~steven/pascal/ . The whole compiler is written in > pascal and is only 4000 lines in 1 file. It generates a high level pcode > and > comes with a pcode interpreter (1000 lines of pascal in a second file). > Simpler you can't get

[fpc-devel] Build error on Win32 - SVN Trunk

2011-09-10 Thread Leonardo M . Ramé
Hi, I'm trying to compile the SVN Trunk version using FPC 2.5.1 to bootstrap. I'm working on Windows 32 bits. Usually I just do this: e: cd fpc svn upmake clean all PP=e:\pp\bin\i386-win32\ppc386.exe make install And it worked without problems until today. I do this process once a month. When

Re: [fpc-devel] Build error on Win32 - SVN Trunk

2011-09-10 Thread Jonas Maebe
On 10 Sep 2011, at 20:52, Leonardo M. Ramé wrote: > Hi, I'm trying to compile the SVN Trunk version using FPC 2.5.1 to bootstrap. This is wrong. It has always been wrong and will always be wrong. Bootstrapping has always only been supported and will always only be supported when starting with

Re: RE : [fpc-devel] Project Idea: Mini-FPC

2011-09-10 Thread Marco van de Voort
In our previous episode, John Lee said: > > > > Maybe we could/should put a fpc compilable version of this into the fpc > docs, and into the fpc distribution? Can't imagine that one could do > anything smaller or more portable? P4 is not FPC compilable. It uses ISO style filehandling iirc. ___

RE : RE : [fpc-devel] Project Idea: Mini-FPC

2011-09-10 Thread Ludo Brands
> > > Maybe we could/should put a fpc compilable version of > this into the > > > fpc > > docs, and into the fpc distribution? Can't imagine that one > could do > > anything smaller or more portable? > > P4 is not FPC compilable. It uses ISO style filehandling > iirc. Correct. And it uses al

Re: RE : RE : [fpc-devel] Project Idea: Mini-FPC

2011-09-10 Thread John Lee
> > > Maybe we could/should put a fpc compilable version of > > this into the > > > > fpc > > > docs, and into the fpc distribution? Can't imagine that one > > could do > > > anything smaller or more portable? > > > > P4 is not FPC compilable. It uses ISO style filehandling > > iirc. > > Correct. >

Re: [fpc-devel] FPDoc and inherited methods

2011-09-10 Thread Hans-Peter Diettrich
Hans-Peter Diettrich schrieb: It looks like FPDoc links to an inherited item (method), when only a short description is provided for an overridden method. Is this intended behaviour? (see Controls.TDragControlObject) I also have the impression that FPDoc does not (always) overwrite existing H

Re: [fpc-devel] Project Idea: Mini-FPC

2011-09-10 Thread Jeff Duntemann
That just may do the job. Three years ago I started rewriting my BP7 Pascal book for FPC, but the issue of which IDE would be better for beginners drove me nuts. I looked around for something simple and reliable and eventually set the project aside. Lazarus is really the way to go for an IDE,

Re: [fpc-devel] Project Idea: Mini-FPC

2011-09-10 Thread Felipe Monteiro de Carvalho
On Sat, Sep 10, 2011 at 11:34 PM, Jeff Duntemann wrote: > Three years ago I started rewriting my BP7 Pascal book for FPC, but the > issue of which IDE would be better for beginners drove me nuts. I looked > around for something simple and reliable and eventually set the project > aside. Lazarus is

[fpc-devel] Request to merge commit 18230 (STABS fix) to FPC 2.6

2011-09-10 Thread cobines
Hello. Can the commit nr 18230 be merged into FPC 2.6 ? http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&revision=18230 Fixes bug: http://bugs.freepascal.org/view.php?id=20003 -- cobines ___ fpc-devel maillist - fpc-devel@lists.freepascal.org h