[LLVMbugs] [Bug 6550] linker error for std::istream::seekg

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Mar 5 14:44:41 PST 2011


http://llvm.org/bugs/show_bug.cgi?id=6550

Tim <tim.dawborn at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #20 from Tim <tim.dawborn at gmail.com> 2011-03-05 16:44:40 CST ---
Yes, I believe so.

$ clang++ -v
clang version 2.9 (trunk 127110)
Target: i386-pc-linux-gnu
Thread model: posix
$ cat test.cc 
#include <fstream>
#include <iostream>

int
main(void) {
  std::ifstream in("/etc/group", std::ios::in);
  in.seekg(0, std::ifstream::beg);
  in.close();

  return 0;
}
$ clang++ -o test test.cc
$

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list