From: "Dave Yeo" Received: from [192.168.100.201] (HELO mail.2rosenthals.com) by 2rosenthals.com (CommuniGate Pro SMTP 5.4.10) with ESMTPS id 939722 for cwmm-dev@2rosenthals.com; Sat, 01 Aug 2020 22:52:50 -0400 Received: from [192.168.200.201] (port=45013 helo=mail2.2rosenthals.com) by mail.2rosenthals.com with esmtp (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1k2477-0005Wo-04 for cwmm-dev@2rosenthals.com; Sat, 01 Aug 2020 22:52:41 -0400 Received: from mail-pl1-f173.google.com ([209.85.214.173]:33840) by mail2.2rosenthals.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1k242B-00041Q-1i for cwmm-dev@2rosenthals.com; Sat, 01 Aug 2020 22:47:36 -0400 Received: by mail-pl1-f173.google.com with SMTP id o1so19135111plk.1 for ; Sat, 01 Aug 2020 19:47:35 -0700 (PDT) X-CTCH-RefID: str=0001.0A02020D.5F262948.005C,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=WOqjIDmRsJT3vdaVoGP93k1jmLZFbv75AjiKUcDiFOA=; b=T+G1cQS6BJ3Q1XOtO2fw/vmxj4783iv31T5l4cINUw8en95c0WpPIM1Rik5QN8vFsG fsM4bbG9ZrDbcGcrTm0+R/CT/xEYEjjXWKx0GWD64xLfPCQRt4S1Ot80eyqubvIstiil vlnv65+9JKikTLE3ZazdzWNEE0hoUpfhxfG0x27mtI6PnciYsu8UVOQb87gdPYCpiYlP 75j5Nth2fXq+mRQqGQQEl0h3doRSyhlSOr3Y8P8iqyzhUng8YuTpPWMvZDlJXnuDvk/e zkem+63sRFNJerhg7R0nkHTErJzj9J9utvZC7rq/h5s6TCJGz0qVotUxG/fVhmjm1a0j JhAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=WOqjIDmRsJT3vdaVoGP93k1jmLZFbv75AjiKUcDiFOA=; b=Th1dtvZXY+/2qj7n2ojM5VzIAv7nd5izVaD2KOgLZe3NubV3fyeDGwQfIqu+7HiHWc fAfsVwTr0oTYGhNMCNVyFdH1pCEXm1SOcmry1mS1wlOOhkbLGIH3fuJzAKfd+mNlV87s m3vmtkNzw8BSyOFdIJPV4iraYtYLiVBFnGrSVe8K3vo2f+IGENShSVfTZxd7VIldK4hL JGz8I2Pqw6wsMWoO7tsSw+Y/d9Ri4uSRR+gpi1YDQenN1Yx4+ajck2uDQ7qUM/as79M6 SZrfpklEcBS0pT6op/D5ChbdOCVhmTmT3E8ju9dlAq21foM/DfuL/Zi2RI/81tor6v2I zGjw== X-Gm-Message-State: AOAM532a+tUM9bXr0nMqGFDsOIOACFkfQhMB/gurQMJePQo357KoYHj4 5p8aewt5bPTpLSrdZTVTSdGYipQx X-Google-Smtp-Source: ABdhPJyqhqB+TlisQ/+Jz82FEyA7OaCRQq2XhKKdki3VCFLvCoT0Qqz5W4xRQujkyh3zKMijjpwCPA== X-Received: by 2002:a17:90b:1116:: with SMTP id gi22mr6623449pjb.209.1596336453816; Sat, 01 Aug 2020 19:47:33 -0700 (PDT) Return-Path: Received: from [192.168.0.104] ([209.52.88.182]) by smtp.gmail.com with ESMTPSA id 199sm16531658pgc.79.2020.08.01.19.47.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Aug 2020 19:47:32 -0700 (PDT) Subject: Re: [cwmm-dev] Compiling cwwm To: CWMM Developers Mailing List References: Message-ID: Date: Sat, 1 Aug 2020 19:47:31 -0700 User-Agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 07/31/20 11:45 PM, Steven Levine wrote: > In , on 07/31/20 > at 10:28 PM, "Dave Yeo" said: > > Hi Dave, > >>> WPTYPES.IDL:23 >>> typedef unsigned long ULONG; > >> OK, I've installed the VACPP 3.08 including all fixes that Lewis kindly >> donated, I still see in G:\IBMCPP\INCLUDE\OS2\WPTYPES.IDL having at line >> 23, typedef int BOOL; > > My advice is make the G:\IBMCPP\INCLUDE\OS2\ directory disappear and > forget it existed. The same is true for any other SOM components in > \IBMCPP that have been superceded by newer components in the Toolkit. OK. My original env script put the 4.52 toolkit ahead of VACPP, which I'd think did the same thing. > > I apologize for taking so long to recall why this directory can exist. It > took some review of the VAC VACPP.PKG Software Installer Package file to > revive my memory. It's been over 20 years since I last had to think about > this directory. In software installer terms, the content of > IBMCPP\INCLUDE\OS2\ is part of > > COMPONENT > NAME = 'Warp Toolkit Headers & Libraries', > ID = 'WARPHLIB', > > This component existed because back in 1995 there was not yet a separately > delivered toolkit. When the toolkit appeared, I uninstalled the VAC > WARPHLIB component because to my form of common sense, keeping it around > could only cause problems. Also back in the 90's disk space was a bit > more of a scarce commodity. > > The same applies to the VAC SOM Component > > COMPONENT > NAME = 'SOM DLL', > ID = 'SOMDLL', > > It too got uninstalled when the separately installed toolkit appeared. > > The same thing applies to any copies of SOM .IR files that duplicate > copies in %_BOOT:\OS2\ETC. They sould be gone. Nothing good can come > from trying to use them. OK. It did take a bit for me to remember to edit the config.sys before rebooting to make sure the VACPP stuff wasn't at the head of LIBPATH, PATH etc. First try resulted in a pure blue screen where only CTRL-ALT-DEL worked to reboot :) > > This reminds me of an interesting feature of the VAC installer. Left to > its own devices, it would backlevel the SOM DLLs on the boot drive with: > > FILE > EXITWHEN = '"%TARGET%" == REMOTE', > EXITIGNOREERR = 'YES', > EXIT = 'REPLMOD %EPFIBOOTDRIVE%:\IBMCPP\DLL\SOM.DLL' > > and so on. Like I said before, nothing good could come of this. This didn't happen here luckily. All \os2\dll files are dated newer. > > Review SOM\LIB in your tooklit and make sure you are using the > backleveled: > > Toolkit\SOM\LIB\EMITC.DLL > 4-27-98 12:35 49,425 0 EMITC.DLL > > 280973a9abe88dd8dbfdd57343ebff64 *EMITC.DLL > > Lars discovered some defects in the EMITC.DLL that shipped with the 4.5.2 > toolkit. The fix is to use the EMITC.DLL from the 4.0 tooklit. It has > less defects. Which leads to, where to get the 4.0 toolkit? > > Now that we have gone over all this, it's now obvious to me why you have > > G:\IBMCPP\INCLUDE\OS2\WPTYPES.IDL having at line 23, > typedef int BOOL; > > It's a defect in the version of WPTYPES.IDL that shipped with VAC. I > assume that the version of SC.EXE that shipped with VAC accepted accepted > this usage without complaining because it did not understand that this was > a defect. Someone must have noticed/reported this and the defect was > fixed in the toolkit versions of SC.EXE and WPTYPES.IDL and part of the > fix was to report the defective usage of int. > So which toolkit to use? As noted earlier, I was running into problems with a Warp V4 define. I was hoping to reproduce Chris's environment to start with. Unluckily he didn't really follow the rules and there's those hand written hh files Dave -- This email was Anti Virus checked by Astaro Security Gateway. http://www.sophos.com