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 937370 for cwmm-dev@2rosenthals.com; Thu, 30 Jul 2020 22:38:02 -0400 Received: from [192.168.200.201] (port=42036 helo=mail2.2rosenthals.com) by mail.2rosenthals.com with esmtp (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1k1Kvf-0003Lp-0v for cwmm-dev@2rosenthals.com; Thu, 30 Jul 2020 22:37:51 -0400 Received: from mail-pj1-f49.google.com ([209.85.216.49]:33964) by mail2.2rosenthals.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1k1Kqh-0000Ia-2t for cwmm-dev@2rosenthals.com; Thu, 30 Jul 2020 22:32:44 -0400 Received: by mail-pj1-f49.google.com with SMTP id c10so3220161pjn.1 for ; Thu, 30 Jul 2020 19:32:42 -0700 (PDT) X-CTCH-RefID: str=0001.0A02020A.5F2382CC.0013,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=ikKWhHaY/euN0z2zEiu3KTRNG4smZQBqOqDJHAQpxDU=; b=j5yN3iB5K34ZfaM0vijwdyNR8lFs4Mj1t0JEJTr/sGUYwyGxI4zmUIUPNJ7YeIwza6 B9FSloinQ0B3SC9kyMROJSS1Fue4NEeOJmxU4tU7vPP6/rA1t+LtE4nw1k2V6NmERdlZ eOXVrUWoKixDYHK0cH8fb88OI4JSTkYJTDVqOmKKLCvC3ch8J5H3E0bMHr7iDABx3GZU x8PJlAFMafTqA6KMAj4ddirOUhSnAI3zKzgcXqjj1meoXG2YNXnHchUm/eknNUI8g4o/ zRZ95N5MYD75o7FG4oVlXjEPHbFq1clLdvwgMPECNBrJgCvxL0kiBJAUygrulTpDM9bN phGA== 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=ikKWhHaY/euN0z2zEiu3KTRNG4smZQBqOqDJHAQpxDU=; b=nxB89J0MKKY7bNDeFc0vc3B7P5rjq8/E5u/ZqpJOhc9koxTNZQKpVIYrzp+N4XwwRY Sw/6NaeBrE7xB7jsWnm4b6zrAKNFzjXvN3q6cpqA6Lrguv02e0clTNVQzrvhqds/g9Ga vKSq4IOQYnXjmgTCmIF9BwM+ffM9J+PC3ykVu9juLcWv8VnlAQbsRqYyDJM0cdNLkMYq xQQc3sSRpMIqVzakCPk75jXKY2mMlG7bG041U3lUy+/h72W4kGslWQmPdfeVN7nd5Pae UYVU83Kb32ns9/RIFqubC03hMr5G7pklYzodUM/ZtwL9P30D9fRNQWH6N9CxIiif7vPL V4nw== X-Gm-Message-State: AOAM531EWHWGl3lIgph60wjGUQoO0wBKICzj8pN5oqoMeZjgrUlKmf6t 44zpAllBtZeqxQ78OWLac8dybURr X-Google-Smtp-Source: ABdhPJz6dJob1YlhgJyhxsChi37kCiG6nIzJagJQIc/2uVSMaQzF16dmOqkkzW4smVvfwWZ8c+9UNg== X-Received: by 2002:a63:fe0a:: with SMTP id p10mr1609284pgh.255.1596162761300; Thu, 30 Jul 2020 19:32:41 -0700 (PDT) Return-Path: Received: from [192.168.0.104] ([209.52.88.182]) by smtp.gmail.com with ESMTPSA id c134sm7803754pfc.115.2020.07.30.19.32.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jul 2020 19:32:40 -0700 (PDT) Subject: Re: [cwmm-dev] Compiling cwwm To: CWMM Developers Mailing List References: Message-ID: <19cba11e-b2c0-e38d-9b1f-76688b9e66cb@gmail.com> Date: Thu, 30 Jul 2020 19:32:40 -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: 8bit On 07/29/20 10:41 PM, Steven Levine wrote: > 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 >> 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 >> 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.*. > wptypes.idl is #included into wpobject.idl, so it or its relatives should > not need to be #included separately. OK, I was getting some missing defines or typedefs that seemed to be in wptypes. > > 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 > D:\Toolkit\IDL\WPFSYS.IDL > > run from the classes subdirectory with INCLUDE set to avoid the need for > -I parameters. I basically used the makefile command line. Perhaps I should try yours. > >> . >> "g:\IBMCPP\INCLUDE\OS2\wptypes.idl", line 23: warning: Non-portable >> "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. I downloaded it from Winworld or similar place, unluckily it seems to have got lost in a HD crash. It was 2 ISO's IIRC, the basic VACPP v3 and a bunch of updates to bring it up to 3.08 via 3.06 according to the syslevel. The som stuff seems to be version 2.01.1, current CSD level SM20004. Possibly this is what differs, though os2.h and such are in INCLUDE/OS2 and there is also INCLUDE/SOM. > > What I do have is \IBMCPP\INCLUDE\SOM with IBM supplied *.h *.hh *.api and > *.efw files. Same, though there are idl files in INCLUDE and INCLUDE\OS2 > >> Earlier in the build, in classes when building the hh files, I did see a >> 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? ... sc -shh -I ./idl/idl_image -S128000 -dinclude -m noqualifytypes idl/idl_image/cwimage.idl "idl/idl_image/cwimage.idl", line 57: warning: Non-portable "int" will be generated in emitter files. ... > >> 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 >> 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. > Possibly different fixes applied? Winworld does have an ISO of version 3, perhaps I need to start over? Most of the syslevels seem to point at version 3.08 except the som ones I mentioned above and a weird one, G:\IBMCPP\SYSLEVEL\SYSLEVEL.OUT PP\SAMPLES\TOOLKIT\PM\TEMPLATE Version 4.4ç.Ç Component ID Type \SAMPLES\ Current CSD level: Prior CSD level: Dave -- This email was Anti Virus checked by Astaro Security Gateway. http://www.sophos.com