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] [ REQ 5033]: compiler warnings
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
|
||
Home | Overview | FAQ | Documentation | Support | Download | Mailing List Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors |
|||
site hosted by |