From: "Steven Levine" Received: from [192.168.100.201] (HELO mail.2rosenthals.com) by 2rosenthals.com (CommuniGate Pro SMTP 5.4.10) with ESMTPS id 936182 for cwmm-dev@2rosenthals.com; Thu, 30 Jul 2020 02:33:40 -0400 Received: from secmgr-va.2rosenthals.com ([50.73.8.217]:41279 helo=mail2.2rosenthals.com) by mail.2rosenthals.com with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1k128D-0003jT-06 for cwmm-dev@2rosenthals.com; Thu, 30 Jul 2020 02:33:33 -0400 Received: from elasmtp-curtail.atl.sa.earthlink.net ([209.86.89.64]:52056) by mail2.2rosenthals.com with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1k128A-0003dV-2n for cwmm-dev@2rosenthals.com; Thu, 30 Jul 2020 02:33:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=earthlink.net; s=dk12062016; t=1596090810; bh=alTo9KQowDu1HjNIVgyeBAY+a3uSZ5hVCaFh W8eGA+4=; h=Received:From:Date:To:In-Reply-To:Subject:X-Mailer: Message-ID:X-ELNK-Trace:X-Originating-IP; b=MN8OL89Qc1NDSBYo02XVBG 2AU5p/9tQYy65kZEB6CMvcS5wPAGVQp8NwOuw9ePc3X9l2csUgbeV+wvK7XcxptVv+T yZUqCGcvYDsrkPi1G7tIl5i0Brws9ung8aUNqn6I2m+VpOmWdsKxeggMk5wjGujShQC 7aTzBcMeiveTvTUSObLcgb1yLoRE5pyQpNPi8LdK51MSKhVPIQDgmqEAx3E8bAX2bKP eQrcWPT10DsWpEaPsAKvUWbIFz60Qc9iZcxtqj6P+Iz77DCQLp+JhiVfLCd0lsvJjcE yycMjMV7K+qprBI/SO0X/0Q2aklnsGvdVXkmJoqpcDIyTj+I9t4w== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk12062016; d=earthlink.net; b=mAvbon32ZS/Sp6kM0PCpE+VsbvJEo3K6hDk2/DY8tC5EXWtSh9+A1U/Ud81gxfp1mGOSW4jqMIMTMKCsJ7v3d/YVxZaS/MWqMBBx1Q4hg5b6kFCv5wZV+7MCGNWss462siggywQ5FpPBYE6yyEmhLF4yA1izgAUylxoNmJGSG5I4eSGM/Qqp1t49wg1ctf9ogGPxdVtJE/wZE8pCru9ANsdUB/+/18pLImE9evMaMuf+yI2stc3SdZX6m1sYb4JYlLg13J2tlSu8XPJfJE83Wl+L8O1/GPAfBP289PNGWhOIGFLyHoAuhAn7azomr7y2TaMGfEJ3c274KOykEgYvBA==; h=Received:From:Date:To:In-Reply-To:Subject:X-Mailer:Message-ID:X-ELNK-Trace:X-Originating-IP; Received: from [108.193.252.206] (helo=slat60-1) by elasmtp-curtail.atl.sa.earthlink.net with esmtpa (Exim 4) (envelope-from ) id 1k127e-000CLS-U6 for cwmm-dev@2rosenthals.com; Thu, 30 Jul 2020 02:32:59 -0400 Date: Wed, 29 Jul 2020 22:41:50 -0700 To: "CWMM Developers Mailing List" In-Reply-To: Subject: Re: [cwmm-dev] Compiling cwwm X-Mailer: MR/2 Internet Cruiser Edition for OS/2 v3.00.11.21 BETA/60 Message-ID: X-ELNK-Trace: a1109158fca87577d780f4a490ca6956846b590522b13c951e0d6686227f938c5546cfd70d76d093350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 108.193.252.206 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable In , on 07/29/20 at 09:12 PM, "Dave Yeo" said: Hi, Just a few random thoughts. >Well, stupid error. Trying to work around various stuff that hasn't been= =20 >defined by including wptypes.hh, I get this when building the wptypes.hh, >"g:\IBMCPP\INCLUDE\OS2\wptypes.idl", line 23: error: "int" has not been=20 >declared This raises a number of questions. The error does not make a lot of sense to me since my line 23 claims to be: WPTYPES.IDL:23 typedef unsigned long ULONG; FWIW, I'm pretty sure you don't need to build or #include a wptypes.*.=20 wptypes.idl is #included into wpobject.idl, so it or its relatives should not need to be #included separately. It appears I built wptypes.hh etc a couple of days ago while doing some r&d and I got no errors. Perhaps we are using different command lines. I modeled mine on the makefiles, but tweaked them to be easier to use from the command line. A typical invocation was: sc -p -r -sih;h;hh -dinclude -maddstar -mnoint -S128000 -C128000=20 D:\Toolkit\IDL\WPFSYS.IDL run from the classes subdirectory with INCLUDE set to avoid the need for -I parameters. >. >"g:\IBMCPP\INCLUDE\OS2\wptypes.idl", line 23: warning: Non-portable=20 >"int" will be generated in emitter files. >Number of errors: 1 I'm not sure where your version of IBMCPP came from, but there is no \IBMCPP\INCLUDE\OS2 directory in mine and it was installed directly from CD. I'll check the CD tomorrow to verify I never had a case of the mad-cleanies in the area. It has a live-run directory tree. What I do have is \IBMCPP\INCLUDE\SOM with IBM supplied *.h *.hh *.api and *.efw files. >Earlier in the build, in classes when building the hh files, I did see a= =20 >similar warning about the non-portable int but no error in cwimage.idl. What does this mean? Did you or did you not get a warning run running sc for cwimage.idl? >I'm not used to this environment This is the first time I've needed pay attention to DTS. However, I have enough understanding of SOM to have written a couple fo SOM classes. >and just take it for granted that int=20 >is a fundamental type, int is a fundamental type for c and c++, but apparently not for SOM. See the "Integral Types" help panel in the SOM Programming Guide. That said, the docs show examples that use int types in what appears to be SOM code, so I need to experiment. >Ideas? Let's figure out why our .idl files seem to differ and go from there. Steven --=20 ---------------------------------------------------------------------- "Steven Levine" Warp/DIY/BlueLion etc. www.scoug.com www.arcanoae.com www.warpcave.com ---------------------------------------------------------------------- --=20 This email was Anti Virus checked by Astaro Security Gateway. http://www.so= phos.com