Primitive Unix I/O should not be used outside of lib/System: c:\llvm\lib\Bytecode\Reader\ReaderWrappers.cpp(140) : error C2039: 'read' : is not a member of 'operator``global namespace'''
Jeff, Thanks for reporting this. I had no idea ::read was being used in ReaderWrappers. I have re-implemented it using istream facilities. This should be much more portable. Please try again and let me know if its better. Thanks, Reid. On Mon, 2004-12-20 at 22:31, Jeff Cohen wrote:> Primitive Unix I/O should not be used outside of lib/System: > > c:\llvm\lib\Bytecode\Reader\ReaderWrappers.cpp(140) : error C2039: > 'read' : is not a member of 'operator``global namespace''' > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- 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/20041220/37ab6f6c/attachment.sig>
It works now, though I had to fix a compilation error in SystemUtils.h that only occured in release builds. Strange that VC++ accepted it in debug builds. Reid Spencer wrote:>Jeff, > >Thanks for reporting this. I had no idea ::read was being used in >ReaderWrappers. I have re-implemented it using istream facilities. This >should be much more portable. Please try again and let me know if its >better. > >Thanks, > >Reid. > >On Mon, 2004-12-20 at 22:31, Jeff Cohen wrote: > > >>Primitive Unix I/O should not be used outside of lib/System: >> >>c:\llvm\lib\Bytecode\Reader\ReaderWrappers.cpp(140) : error C2039: >>'read' : is not a member of 'operator``global namespace''' >> >>_______________________________________________ >>LLVM Developers mailing list >>LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >>http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev >> >>