🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1616

trouble in building IV3.1

#1616
From: david.a.copperman
Date: Wed, 06 Jan 1993 15:48
28 lines
1943 bytes
In trying to build InterViews 3.1, the preprocessor issues these errors:

../../../.././src/include/IV-2_6/InterViews/box.h: 53: major: argument mismatch
../../../.././src/include/IV-2_6/InterViews/box.h: 53: minor: argument mismatch
../../../.././src/include/IV-2_6/InterViews/box.h: 57: major: argument mismatch
../../../.././src/include/IV-2_6/InterViews/box.h: 58: minor: argument mismatch
../../../.././src/include/IV-2_6/InterViews/box.h: 89: major: argument mismatch
../../../.././src/include/IV-2_6/InterViews/box.h: 89: minor: argument mismatch
../../../.././src/include/IV-2_6/InterViews/box.h: 115: major: argument mismatch../../../.././src/include/IV-2_6/InterViews/box.h: 115: minor: argument mismatch

Line 53, for example, is

virtual void GetActual(int& major, int& minor);

This looks fine.  Evidently, major and minor are themselves macros in some
other place?  I tried following all the nested includes, but after awhile
my head hurt.  I can edit the file and just take out major and minor from
all those prototypes, but the old saying applies - if you change someone
else's code, you own it!  I definitely want to avoid that.  Any ideas?

Also, I ran into a lack of definition for the type pid_t.  That turns
out to be in sys/stdtypes.h.  OS/types.h includes sys/types.h, but not
sys/stdtypes.h.  (It appears that OS/types.h is where this include should
be - is that correct?)  I can make that change readily enough; again, has
anyone else run into this?

Dave Copperman
dac@hoqaa.att.com
Technical Details
Message-ID: <1993Jan6.154831.28479@cbfsb.cb.att.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsk!cbnewsj!att-out!cbfsb!cbnewsf.cb.att.com!dac

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsk!cbnewsj!att-out!cbfsb!cbnewsf.cb.att.com!dac
From: dac@cbnewsf.cb.att.com (david.a.copperman)
Subject: trouble in building IV3.1
Message-ID: <1993Jan6.154831.28479@cbfsb.cb.att.com>
Sender: news@cbfsb.cb.att.com
Organization: AT&T
Date: Wed, 6 Jan 1993 15:48:31 GMT
Lines: 28