Re: [fpc-pascal] Re: [Bulk] Re: Namespaces Support

2013-11-04 Thread Marcos Douglas
On Sun, Nov 3, 2013 at 10:22 PM, Dmitry Boyarintsev wrote: > On Sun, Nov 3, 2013 at 10:27 AM, Marcos Douglas wrote: >> >> Wrong. Do not breaks the compiler backward compatibility. >> I said " in the same directory and/or own tree", ie, in the same >> directory and subdirectories. For these cases,

Re: [fpc-pascal] Re: [Bulk] Re: Namespaces Support

2013-11-04 Thread Dmitry Boyarintsev
On Mon, Nov 4, 2013 at 8:07 AM, Marcos Douglas wrote: > >> First, if you have a lib that have dependencies to another lib, you > >> have to provide all sources together -- in the same directory or > >> subdirectories. For this case just use the rule #1. > >> But, if you did not provide the sourc

Re: [fpc-pascal] Re: [Bulk] Re: Namespaces Support

2013-11-04 Thread Marcos Douglas
On Mon, Nov 4, 2013 at 10:45 AM, Dmitry Boyarintsev wrote: > On Mon, Nov 4, 2013 at 8:07 AM, Marcos Douglas wrote: >> >> >> First, if you have a lib that have dependencies to another lib, you >> >> have to provide all sources together -- in the same directory or >> >> subdirectories. For this ca

Re: [fpc-pascal] Re: [Bulk] Re: Namespaces Support

2013-11-04 Thread Dmitry Boyarintsev
On Mon, Nov 4, 2013 at 9:08 AM, Marcos Douglas wrote: > 2- If ExtraUtils depends on StrUtils.pas from "lib". But "otherlib" is > not a subdirectory of lib then the "otherlib needs to be compiled > using a ALIAS: > -ALIAS=TheLib@lib\* > Ah, yes, you've mentioned the necessity for two steps compila

Re: [fpc-pascal] Re: [Bulk] Re: Namespaces Support

2013-11-04 Thread Marcos Douglas
On Mon, Nov 4, 2013 at 11:36 AM, Dmitry Boyarintsev wrote: > On Mon, Nov 4, 2013 at 9:08 AM, Marcos Douglas wrote: >> >> 2- If ExtraUtils depends on StrUtils.pas from "lib". But "otherlib" is >> not a subdirectory of lib then the "otherlib needs to be compiled >> using a ALIAS: >> -ALIAS=TheLib@l

Re: [fpc-pascal] Re: [Bulk] Re: Namespaces Support

2013-11-04 Thread Dmitry Boyarintsev
On Mon, Nov 4, 2013 at 10:06 AM, Marcos Douglas wrote: > On Mon, Nov 4, 2013 at 11:36 AM, Dmitry Boyarintsev > wrote: > > On Mon, Nov 4, 2013 at 9:08 AM, Marcos Douglas wrote: > >> > >> 2- If ExtraUtils depends on StrUtils.pas from "lib". But "otherlib" is > >> not a subdirectory of lib then th

Re: [fpc-pascal] MorphOS

2013-11-04 Thread Arne Hanssen
Den 03. nov. 2013 23:33, skrev jri...@comcast.net: I just happened across your group while scanning the internet for topics related to my interests. I used to use Pascal uner Microware OS-9 on the Tandy Color computer and I currently use MorphOS. As to the latter, I noticed that free Pascal is li

Re: [fpc-pascal] MorphOS

2013-11-04 Thread Nico Erfurth
On 03.11.13 23:33, jri...@comcast.net wrote: > I just happened across your group while scanning the internet for topics > related to my interests. > I used to use Pascal uner Microware OS-9 on the Tandy Color computer and > I currently use MorphOS. > As to the latter, I noticed that free Pascal is

Re: [fpc-pascal] MorphOS

2013-11-04 Thread jrigou
Thanks Nico, That is useful. - Original Message - From: "Nico Erfurth" To: fpc-pascal@lists.freepascal.org Sent: Monday, November 4, 2013 1:45:15 PM Subject: Re: [fpc-pascal] MorphOS On 03.11.13 23:33, jri...@comcast.net wrote: > I just happened across your group while scanning t

Re: [fpc-pascal] Re: [Bulk] Re: Namespaces Support

2013-11-04 Thread Marcos Douglas
On Mon, Nov 4, 2013 at 1:31 PM, Dmitry Boyarintsev wrote: > On Mon, Nov 4, 2013 at 10:06 AM, Marcos Douglas wrote: >> >> On Mon, Nov 4, 2013 at 11:36 AM, Dmitry Boyarintsev >> wrote: >> > On Mon, Nov 4, 2013 at 9:08 AM, Marcos Douglas wrote: >> >> >> >> 2- If ExtraUtils depends on StrUtils.pas

Re: [fpc-pascal] Re: [Bulk] Re: Namespaces Support

2013-11-04 Thread Dmitry Boyarintsev
On Mon, Nov 4, 2013 at 6:07 PM, Marcos Douglas wrote: > Sorry, but this is boring. > Do you not agree that is much better propose a solution to be possible > to use two -- or more -- units that have the same name but works > together at the same project? Thought process is a boring thing in natu

[fpc-pascal] Pointer to a const char

2013-11-04 Thread Alexander
How can I describe a "pointer to a constant char" in FreePascal? For example this C function: int some_func(const char *arg, ...); My guess in FreePascal is this(with ctypes unit): function some_func(const arg: pcchar): cint; cdecl; external; A constant argument to a function. I'm not sure, i