I've just updated from CVS and am now getting some warnings while building LLVM: Linking z bytecode library WARNING: Type conflict between types named 'struct.z_stream_s'. Src=' %struct.z_stream_s'. Dest=' %struct.z_stream_s' WARNING: Type conflict between types named 'struct.internal_state'. Src=' %struct.internal_state'. Dest=' %struct.internal_state' WARNING: Type conflict between types named 'struct.z_stream_s'. Src=' %struct.z_stream_s'. Dest=' %struct.z_stream_s' WARNING: Type conflict between types named 'struct.internal_state'. Src=' %struct.internal_state'. Dest=' %struct.internal_state' ... Are these okay? I remember Chris saying that "any warning during compilation was not acceptable" a while back. Just wanted to check with you guys before I ignore these warnings. Reid. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040307/18f4c898/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040307/18f4c898/attachment-0001.sig>
On Sun, 7 Mar 2004, Reid Spencer wrote:> I've just updated from CVS and am now getting some warnings while > building LLVM: > > Linking z bytecode library > WARNING: Type conflict between types named 'struct.z_stream_s'. > Src=' %struct.z_stream_s'. > Dest=' %struct.z_stream_s'> Are these okay? I remember Chris saying that "any warning during > compilation was not acceptable" a while back. Just wanted to check with > you guys before I ignore these warnings.These warnings are coming from zlib, which we now include in the runtime libraries directory. This is a real type-safety problem in libz, which we should either fix in our imported source or eliminate libz from the runtime directory. I'll file a bug, but for now, you can safely ignore the warning. -Chris -- http://llvm.cs.uiuc.edu/ http://www.nondot.org/~sabre/Projects/