<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-text-flowed" style="font-family: -moz-fixed;
      font-size: 14px;" lang="x-western">Hi, I'm trying to compile a
      simple dll with Clang under windows using the MinGW STL (latest
      versions for clang and mingw) and I get the following errors when
      I include <map>:
      <br>
      <br>
      C:\Program Files (x86)\LLVM\vc11\bin\Debug>clang++
      -fno-ms-compatibility -nostdinc -c -shared -v -o simple.o
      simple.cpp -I "C:\MinGW\include\sys" -I
      "C:\MinGW\lib\gcc\i686-pc-mingw32\4.8.0\include" -I
      "C:\MinGW\include" -I "C:\MinGW\include\c++" -I
      "C:\MinGW\include\c++\4.8.0" -I
      "C:\MinGW\include\c++\4.8.0\backward" -I
      "C:\MinGW\include\c++\4.8.0\bits" -I
      "C:\MinGW\include\c++\4.8.0\debug" -I
      "C:\MinGW\include\c++\4.8.0\decimal" -I
      "C:\MinGW\include\c++\4.8.0\ext" -I
      "C:\MinGW\include\c++\4.8.0\i686-pc-mingw32" -I
      "C:\MinGW\include\c++\4.8.0\tr1" -I
      "C:\MinGW\include\c++\4.8.0\tr2" -I
      "C:\MinGW\include\c++\4.8.0\profile" -Wl,--verbose
      <br>
      clang version 3.4 (trunk)
      <br>
      Target: i686-pc-win32
      <br>
      Thread model: posix
      <br>
      clang++.exe: warning: -Wl,--verbose: 'linker' input unused
      <br>
      clang++.exe: warning: argument unused during compilation:
      '-shared'
      <br>
       "C:/Program Files (x86)/LLVM/vc11/bin/Debug/clang++.exe" -cc1
      -triple i686-pc-win32 -emit-obj -mrelax-all -disable-free
      -main-file-name simple.cpp -mrelocation-model static
      -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases
      -target-cpu pentium4 -v -coverage-file simple.o -nostdsysteminc
      -nobuiltininc -resource-dir "C:/Program Files
      (x86)/LLVM/vc11/bin/Debug\\..\\lib\\clang\\3.4" -I
      "C:\\MinGW\\include\\sys" -I
      "C:\\MinGW\\lib\\gcc\\i686-pc-mingw32\\4.8.0\\include" -I
      "C:\\MinGW\\include" -I "C:\\MinGW\\include\\c++" -I
      "C:\\MinGW\\include\\c++\\4.8.0" -I
      "C:\\MinGW\\include\\c++\\4.8.0\\backward" -I
      "C:\\MinGW\\include\\c++\\4.8.0\\bits" -I
      "C:\\MinGW\\include\\c++\\4.8.0\\debug" -I
      "C:\\MinGW\\include\\c++\\4.8.0\\decimal" -I
      "C:\\MinGW\\include\\c++\\4.8.0\\ext" -I
      "C:\\MinGW\\include\\c++\\4.8.0\\i686-pc-mingw32" -I
      "C:\\MinGW\\include\\c++\\4.8.0\\tr1" -I
      "C:\\MinGW\\include\\c++\\4.8.0\\tr2" -I
      "C:\\MinGW\\include\\c++\\4.8.0\\profile" -std=c++11
      -fdeprecated-macro -ferror-limit 19 -fmessage-length 150
      -mstackrealign -fms-extensions -fmsc-version=1300
      -fdelayed-template-parsing -fobjc-runtime=gcc
      -fobjc-default-synthesize-properties -fcxx-exceptions -fexceptions
      -fdiagnostics-show-option -fcolor-diagnostics -backend-option
      -vectorize-loops -o simple.o -x c++ simple.cpp
      <br>
      clang -cc1 version 3.4 based upon LLVM 3.4svn default target
      i686-pc-win32
      <br>
      #include "..." search starts here:
      <br>
      #include <...> search starts here:
      <br>
       C:\MinGW\include\sys
      <br>
       C:\MinGW\lib\gcc\i686-pc-mingw32\4.8.0\include
      <br>
       C:\MinGW\include
      <br>
       C:\MinGW\include\c++
      <br>
       C:\MinGW\include\c++\4.8.0
      <br>
       C:\MinGW\include\c++\4.8.0\backward
      <br>
       C:\MinGW\include\c++\4.8.0\bits
      <br>
       C:\MinGW\include\c++\4.8.0\debug
      <br>
       C:\MinGW\include\c++\4.8.0\decimal
      <br>
       C:\MinGW\include\c++\4.8.0\ext
      <br>
       C:\MinGW\include\c++\4.8.0\i686-pc-mingw32
      <br>
       C:\MinGW\include\c++\4.8.0\tr1
      <br>
       C:\MinGW\include\c++\4.8.0\tr2
      <br>
       C:\MinGW\include\c++\4.8.0\profile
      <br>
      End of search list.
      <br>
      In file included from simple.cpp:3:
      <br>
      In file included from C:\MinGW\include\c++\4.8.0\map:61:
      <br>
      In file included from
      C:\MinGW\include\c++\4.8.0\bits/stl_map.h:63:
      <br>
      In file included from C:\MinGW\include\c++\4.8.0\tuple:39:
      <br>
      In file included from C:\MinGW\include\c++\4.8.0\array:38:
      <br>
      In file included from C:\MinGW\include\c++\4.8.0\stdexcept:39:
      <br>
      In file included from C:\MinGW\include\c++\4.8.0\string:40:
      <br>
      In file included from
      C:\MinGW\include\c++\4.8.0\bits/char_traits.h:40:
      <br>
      In file included from
      C:\MinGW\include\c++\4.8.0\bits/postypes.h:40:
      <br>
      C:\MinGW\include\c++\4.8.0\cwchar:143:11: error: no member named
      'fgetws' in the global namespace
      <br>
        using ::fgetws;
      <br>
              ~~^
      <br>
      C:\MinGW\include\c++\4.8.0\cwchar:145:11: error: no member named
      'fputws' in the global namespace
      <br>
        using ::fputws;
      <br>
              ~~^
      <br>
      C:\MinGW\include\c++\4.8.0\cwchar:149:11: error: no member named
      'getwc' in the global namespace
      <br>
        using ::getwc;
      <br>
              ~~^
      <br>
      C:\MinGW\include\c++\4.8.0\cwchar:150:11: error: no member named
      'getwchar' in the global namespace
      <br>
        using ::getwchar;
      <br>
              ~~^
      <br>
      C:\MinGW\include\c++\4.8.0\cwchar:155:11: error: no member named
      'putwc' in the global namespace
      <br>
        using ::putwc;
      <br>
              ~~^
      <br>
      C:\MinGW\include\c++\4.8.0\cwchar:156:11: error: no member named
      'putwchar' in the global namespace
      <br>
        using ::putwchar;
      <br>
              ~~^
      <br>
      6 errors generated.
      <br>
      <br>
      Any help is appreciated!
      <br>
      <br>
    </div>
  </body>
</html>