Article View: comp.graphics.explorer
Article #232compiler warning from mbuilder
From: Jim Haxby
Date: Fri, 22 Jan 1993 19:36
Date: Fri, 22 Jan 1993 19:36
25 lines
1574 bytes
1574 bytes
I compile my program with the module builder and I
get the following warnings:
ccom: Warning: unformat_to_3dLat.c, line 87: Argument 3 Type Doesn't Match prototype description; prototype: pointer to pointer to void is different from actual: pointer to pointer to int
cxLatPtrGet(lattice_2d, 0, &int_ptr, 0, 0);
-------------------------------------------^
--- ReadBin ---
rm -f ReadBin
cc -o ReadBin /usr/explorer/lib/cxMcw.o ReadBin.mdw.o unformat_to_3dLat.o -g -prototypes -cckr -float -L -L/lib -L/usr/lib -L/usr/explorer/lib -lfortranApi -lapi -lcxna -L/usr/lib -lm -lsun -lc_s -lmpc
/usr/bin/ld:
Warning: malloc: multiply defined
previous (used) definition from '/usr/lib/libc_s.a';
new (ignored) definition from '/usr/lib/libmpc.a'
Warning: free: multiply defined
previous (used) definition from '/usr/lib/libc_s.a';
new (ignored) definition from '/usr/lib/libmpc.a'
Warning: realloc: multiply defined
previous (used) definition from '/usr/lib/libc_s.a';
new (ignored) definition from '/usr/lib/libmpc.a'
Are these warning bad?
Any ways to eliminate the warnings?
Thanks in advance.
Technical Details
Message-ID:
<1993Jan22.193633.11579@alw.nih.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!nih-csl!postmanShow Full Headers
Complete Article Headers
Newsgroups: comp.graphics.explorer Path: arc1-ca.pugleaf.net!sparky!uunet!nih-csl!postman From: lnspet@forest.nia.nih.gov (Jim Haxby) Subject: compiler warning from mbuilder Message-ID: <1993Jan22.193633.11579@alw.nih.gov> Sender: postman@alw.nih.gov (AMDS Postmaster) Organization: National Institutes of Health, Bethesda, MD Date: Fri, 22 Jan 1993 19:36:33 GMT Lines: 27