[fpc-pascal] -Xg flag and lineinfo/lnfodwrf support
Hi to all, is someone working on the -Xg lineinfo/lnfodwrf support, so that using a separate .dbg file for the debug, the software is able to show the call-stack with source line? Another questions... What are currently the OS that supports the -Xg flag? -- Best regards... Fabio Dell'Aria. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Accessing ROM BIOS Font in Linux.
Anthony W.Henry wrote: One thing I'd add is that using Delphi it's possible (although not trivial) to embed a .fon as a resource in an executable. I don't know the extent to which this can be done using (in particular) Lazarus on Windows or on Linux. I imagine the easiest way is bin2obj and just make it a constant array in the program. :)That is a useful trick and much easier then resources. That's true (and interesting), but I was thinking about the bigger picture where a program was running under Windows or X and you wanted to pass a custom fount to the overall graphical environment rather than having to plot individual pixels. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] -Xg flag and lineinfo/lnfodwrf support
Hi to all, is someone working on the -Xg lineinfo/lnfodwrf support, so that using a separate .dbg file for the debug, the software is able to show the call-stack with source line? Make sure you use the latest svn code. There are already a lot of things refactored regarding the reading those units. Another questions... What are currently the OS that supports the -Xg flag? For the moment Windows only and i'm looking at Linux. Peter ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] -Xg flag and lineinfo/lnfodwrf support
On 20 Jan 2008, at 13:03, Peter Vreman wrote: What are currently the OS that supports the -Xg flag? For the moment Windows only and i'm looking at Linux. Also Darwin+dwarf. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] -Xg flag and lineinfo/lnfodwrf support
Hi to all, is someone working on the -Xg lineinfo/lnfodwrf support, so that using a separate .dbg file for the debug, the software is able to show the call-stack with source line? Please stop working on this. I have it already working. Peter ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Re: -Xg flag and lineinfo/lnfodwrf support
Ok Peter, I'm waiting for your news. 2008/1/20, Peter Vreman [EMAIL PROTECTED]: Hi to all, is someone working on the -Xg lineinfo/lnfodwrf support, so that using a separate .dbg file for the debug, the software is able to show the call-stack with source line? Please stop working on this. I have it already working. Peter ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- Best regards... Fabio Dell'Aria. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Re: -Xg flag and lineinfo/lnfodwrf support
Ok Peter, I'm waiting for your news. Finished, see r9813 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Re: -Xg flag and lineinfo/lnfodwrf support
Fabio Dell'Aria schreef: Ok Peter, I'm waiting for your news. Tip: subscribe to http://svn.freepascal.org/feeds/fpcsvn.rss. Vincent ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] FreePascal Coding style
Is there a standard Coding style for FreePascal (Pascal) available which programmers should use ? It is for my boss :) -- Damien Gerard [EMAIL PROTECTED] Le temps n'a pas d'importance. Seul le code est important -- (f00ty) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: RES: [fpc-pascal] dot within unit file name
On Friday 18 January 2008 20:12, John Stoneham wrote: [Ada package system] However, you can also do: with Unit_1; use Unit_1; This imports the namespace of Unit_1 into the current file so that now you *can* refernce foo without a qualifier. It's as if all the identifiers in Unit_1 were defined in the current file (and so yes, you can get conflicts). Yes, and that's what uses Unit_1; in Pascal does. The only difference between Pascal and Ada is that Ada complains about ambiguities (same identifier in different modules) while Pascal's scope model just uses the identifier from the last used module (while you're still able to overwrite that behaviour by prefixing the identifier just like you're required to do in Ada in case of ambiguities). So, the only difference is that Ada plays it safe and complains about ambiguities while a Pascal compiler tries to resolve the ambiguity by itself (and sometimes fails in a horrible way - I still remember the issue I once had, when I just reordered the used units and without changing any code, the application suddenly started crashing, because it used a different DisposeStr then. BTW, that's one of the reasons why I always use prefixed notation in Pascal now, just like I do in Ada). (As written before, this explanation is more from a user's point of view than from the view of a compiler writer.) Vinzent. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal