Page 1 of 1

Pbuild differences 1.9 and 2.0

Posted: Sun Sep 13, 2015 8:42 am
by bwolfsohn
When i've compiled under 1.9, i always got feedback on ambiguous variables i.e.

Xbase++ (R) Compiler 1.90.355 Apr 9 2009

Copyright (c) Alaska Software. All rights reserved.
File C:\cus20\auc\BUYERC~1.prg successfully compiled.
C:\cus20\auc\BUYERC~1.prg(176:0): warning XBT0103: Ambiguous variable reference, assuming MEMVAR aWidths
C:\cus20\auc\BUYERC~1.prg(184:0): warning XBT0102: Ambiguous variable reference oItems
C:\cus20\auc\BUYERC~1.prg(187:0): warning XBT0102: Ambiguous variable reference oItems

1.9 switches:
COMPILE = xpp
COMPILE_FLAGS = /q /n /w /m /b /dXBASE19 /dll:DYNAMIC
DEBUG = yes
GUI = yes
LINKER = alink
LINK_FLAGS =
RC_COMPILE = arc
RC_FLAGS = -v
OBJ_DIR = .\obj
OBJ_FORMAT = COFF
LINK_FLAGS = /FORCE:UNRESOLVED

i can't get 2.0 to display the same error messages.. i'm using:

COMPILE = xpp
COMPILE_FLAGS = /v /dXBASE20
DEBUG = yes
GUI = yes
LINKER = alink
LINK_FLAGS =
RC_COMPILE = arc
RC_FLAGS = -v
OBJ_DIR = .\obj20
OBJ_FORMAT = COFF
LINK_FLAGS = /FORCE:UNRESOLVED
AUC20.XPJ

all i get is:

xpp /v /dXBASE20 /COFF /b /dDEBUG /oc:\cus20\auc\obj20 @c:\temp\09138355.tmp
File: c:\cus20\auc\buyercheckout.prg Lines: 443
File c:\cus20\auc\buyercheckout.prg successfully compiled.

alink @c:\temp\09138375.tmp
Alaska 32-Bit Linker Version 2.00.623
Copyright (c) Alaska Software 1997-2015. All rights reserved.

Re: Pbuild differences 1.9 and 2.0

Posted: Sun Sep 13, 2015 12:27 pm
by rdonnay
I don't have that problem.

Look below:

Code: Select all

Xbase++ (R) ProjectBuilder Version 2.00.623
Copyright (c) Alaska Software 1997-2015. All rights reserved.
xpp /q /n /w /m /b /ga /dEXPRESS18 /dll:DYNAMIC /COFF /oC:\expd20\obj20 @c:
Xbase++ (R) Compiler 2.00.623 Aug 17 2015
Copyright (c) Alaska Software. All rights reserved.
C:\expd20\Source\Dclipx\_DCGETBX.PRG(321:0): warning XBT0103: Ambiguous var a
C:\expd20\Source\Dclipx\_DCGETBX.PRG(321:0): warning XBT0102: Ambiguous var b
File C:\expd20\Source\Dclipx\_DCGETBX.PRG successfully compiled.
I'm using dclipx_20.xpj.

Re: Pbuild differences 1.9 and 2.0

Posted: Sun Sep 13, 2015 12:40 pm
by bwolfsohn
that did the trick... thanks...

some of these don't show as valid options when you pbuild /?

that's what threw me off..
(that's my story and i'm stickin' too it..)