go to www.geomview.org home page
 
Home

Overview
FAQ
Documentation

Download

Mailing List

Geomview For Windows?

Support
Users
Development

Bug Reporting
Contributing
Contact Us

Sponsors

 

Site Search

 

Advanced
Search

 
About the software@geom archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Update REQ 5366]: geomview and OpenGL on DEC Alphas


  • To: software@geom
  • Subject: Re: [Update REQ 5366]: geomview and OpenGL on DEC Alphas
  • From: "Tim Rowley" <trowley>
  • Date: Mon, 8 May 95 7:36:10 CDT

> ----------------------------------------
> rm -f mgbufclip.o mgbufclip.c
> ln ../mgbufclip.c .
> cc -I.. -O2   -DMACHTYPE='"x11"' -I../../../../../include  -c mgbufclip.c
> 
> [2]    Exit 1               make all >& make.all.log
> 205.95u 131.82s 7:46 72% 0+7k 1360+1452io 0pf+0w
> /usr/lib/cmplrs/cc/cfe: Error: mgbufclip.c, line 185: This expression is not a lvalue.
>    if (xyz[4]) { Xmgr_cliptoplane(2,  --1.0,  -1.0); if (prim2->numvts == 0) { aprim->numvts = 0; return 7; } vtstemp = vts2; vts2 = vts1; vts1 = vtstemp; primtemp = prim2; prim2 = prim1; prim1 = primtemp; };
>  -------------------------------------^
> *

Ok, this is pretty easy to fix.  In src/lib/mg/buf/mgbufclip.c,
change the line

#define ZNEARCLIP               -1.0

to

#define ZNEARCLIP		(-1.0)

Perform the same change to src/lib/mg/x11/mgx11clip.c

-- 
Tim Rowley  --  trowley at geom.umn.edu  --  "Do or do not, there is no try."


 
Home | Overview | FAQ | Documentation | Support | Download | Mailing List
Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors
 
site hosted by
SourceForge Logo