On 09/13/2017 05:13 AM, Mattias Gaertner via Lazarus wrote:
On Wed, 13 Sep 2017 10:44:23 +0200 (CEST)
Michael Van Canneyt via Lazarus <lazarus@lists.lazarus-ide.org> wrote:
[...]
I tested in Delphi:

c:\Temp>dcc32 /NSos /NSweb testns.dpr
Embarcadero Delphi for Win32 compiler version 30.0
Copyright (c) 1983,2015 Embarcadero Technologies, Inc.
os.utils.pas(14)
testns.dpr(6) Error: E2003 Undeclared identifier: 'webfunction'
testns.dpr(7)

webfunction is in the web.utils.pas unit.

Did you add "uses utils"?

ummm...

On 09/13/2017 04:44 AM, Michael Van Canneyt via Lazarus wrote:
[...]
> Imagine:
>
> web.utils.pas
> os.utils.pas
>
> and in my project I have (I love to use the namespace param)
>
> *uses utils;*
>
> And now I compile with a (hypothetical) /NSweb /NSos -> problem.

;)

--
 NOTE: No off-list assistance is given without prior approval.
       *Please keep mailing list traffic on the list unless*
       *a signed and pre-paid contract is in effect with us.*
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to