Home Overview FAQ Documentation Download Mailing List Geomview For Windows? Support Users Development Bug Reporting Contributing Contact Us Sponsors
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Closed REQ 5033]: compiler warnings
From: Philip.Lijnzaad at EMBL-Heidelberg.DE (Philip Lijnzaad) Message-Id: <9408241444.AA02020 at hawk.EMBL-Heidelberg.DE> Subject: compiler warnings To: software@geom Dear Geometry Center, recently i tried to compile your 'Geomview' on a Silicon Graphics, using x11 (from distribution file geomview-src.x11-beta.tar, version 1.4.3) instead of GL. The reason for this peculiar setup is that i'd like to use it on terminals that only know X, not GL. I defined CPU as 'unknown', and MACHTYPE x11. It turned out that i had to #undefine sgi. Using gcc, it compiled completely, though not fully cleanly. I append a list of compiler warnings that do not seam totally innocent. Hope this helps, kind regards, Philip Lijnzaad camstream.c:19: warning: initialization from incompatible pointer type camstream.c:20: warning: initialization from incompatible pointer type camstream.c:21: warning: initialization from incompatible pointer type transobj.c:51: warning: initialization from incompatible pointer type transobj.c:52: warning: initialization from incompatible pointer type transobj.c:53: warning: initialization from incompatible pointer type dgstream.c:145: warning: comparison is always 0 due to limited range of data type dgpick.c:40: warning: return from incompatible pointer type geomstream.c:21: warning: initialization from incompatible pointer type geomstream.c:22: warning: initialization from incompatible pointer type geomstream.c:23: warning: initialization from incompatible pointer type mallocp.c:26: warning: initialization from incompatible pointer type mallocp.c:28: warning: initialization from incompatible pointer type fsa.c:56: warning: useless keyword or type name in empty declaration winstream.c:19: warning: initialization from incompatible pointer type winstream.c:20: warning: initialization from incompatible pointer type winstream.c:21: warning: initialization from incompatible pointer type math2oogl.c:133: warning: passing arg 2 of `execvp' from incompatible pointer type math2oogl.c:137: warning: passing arg 2 of `execvp' from incompatible pointer type math2oogl.c:138: warning: passing arg 2 of `execvp' from incompatible pointer type drawer.c:1229: warning: cast to pointer from integer of different size drawer.c:2834: warning: cast to pointer from integer of different size drawer.c:2850: warning: cast to pointer from integer of different size togeomview.c:70: warning: passing arg 2 of `execvp' from incompatible pointer type togeomview.c:71: warning: passing arg 2 of `execvp' from incompatible pointer type =========================================================================== daeron assigned to request 5033 on Mon Oct 3 11:48:04 CDT 1994 closed Geometry Center User Request 5033 by daeron on Sat Oct 8 06:11:33 CDT 1994
|
||
Home | Overview | FAQ | Documentation | Support | Download | Mailing List Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors |
|||
site hosted by |