<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - clang++ crash wz 32 bit"
   href="http://llvm.org/bugs/show_bug.cgi?id=20522">20522</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang++ crash wz 32 bit
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows XP
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Frontend
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>tootall79@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Compiling a wx widgets sample called controls clang++ 3.5 crashes well into
compiling the includes.  It looks like it thinks the machine is 64bit and using
posix threads, so that may be the cause.


-------------- Build: Win32 Debug in controls (compiler: LLVM Clang
Compiler)---------------

clang++.exe  -Wall -g -DWIN32 -D_DEBUG -D__WXMSW__ -D_UNICODE -D_WINDOWS
-DNOPCH    -I.\..\..\lib\vc_lib\mswud -I.\..\..\include -I. -I.\..\..\samples
-IC:\CB\wx300\include\wx -IC:\MinGW\lib\gcc\mingw32\4.5.0\include\c++ -c
C:\CB\wx300\samples\controls\controls.cpp -o vc_mswud\controls\controls.o
In file included from C:\CB\wx300\samples\controls\controls.cpp:11:
In file included from .\..\..\include\wx/wxprec.h:12:
In file included from .\..\..\include\wx/defs.h:688:
In file included from .\..\..\include\wx/debug.h:19:
In file included from .\..\..\include\wx/chartype.h:105:
In file included from C:\CB\wx300\include\wx\string.h:45:
In file included from .\..\..\include\wx/wxcrtbase.h:38:
In file included from C:\CB\wx300\include\wx\time.h:13:
.\..\..\include\wx/longlong.h:45:10: warning: "Your compiler does not appear to
support 64 bit "                 "integers, using emulation class instead.\n"  
               "Please report your compiler version to "                 
"<a href="mailto:wx-dev@lists.wxwidgets.org">wx-dev@lists.wxwidgets.org</a>!" [-W#warnings]
        #warning "Your compiler does not appear to support 64 bit "\
         ^
In file included from C:\CB\wx300\samples\controls\controls.cpp:11:
In file included from .\..\..\include\wx/wxprec.h:12:
In file included from .\..\..\include\wx/defs.h:688:
In file included from .\..\..\include\wx/debug.h:19:
In file included from .\..\..\include\wx/chartype.h:105:
In file included from C:\CB\wx300\include\wx\string.h:45:
In file included from .\..\..\include\wx/wxcrtbase.h:38:
In file included from C:\CB\wx300\include\wx\time.h:13:
In file included from .\..\..\include\wx/longlong.h:102:
In file included from .\..\..\include\wx/iosfwrap.h:17:
C:\MinGW\lib\gcc\mingw32\4.5.0\include\c++\iosfwd:40:10: fatal error:
'bits/c++config.h' file not found
#include <bits/c++config.h>
         ^
Stack dump:
0.    Program arguments: C:\Program Files\LLVM\bin\clang++.exe -cc1 -triple
i686-pc-windows-gnu -emit-obj -mrelax-all -disable-free -main-file-name
controls.cpp -mrelocation-model static -mdisable-fp-elim -fmath-errno
-masm-verbose -mconstructor-aliases -target-cpu pentium4 -g -dwarf-column-info
-coverage-file C:\CB\wx300\samples\controls\vc_mswud\controls\controls.o
-resource-dir C:\Program Files\LLVM\bin\..\lib\clang\3.5.0 -D WIN32 -D _DEBUG
-D __WXMSW__ -D _UNICODE -D _WINDOWS -D NOPCH -I .\..\..\lib\vc_lib\mswud -I
.\..\..\include -I . -I .\..\..\samples -I C:\CB\wx300\include\wx -I
C:\MinGW\lib\gcc\mingw32\4.5.0\include\c++ -Wall -fdeprecated-macro
-fdebug-compilation-dir C:\CB\wx300\samples\controls -ferror-limit 19
-fmessage-length 0 -mstackrealign -fno-use-cxa-atexit -fobjc-runtime=gcc
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -o
vc_mswud\controls\controls.o -x c++ C:\CB\wx300\samples\controls\controls.cpp 
1.    .\..\..\include\wx/buffer.h:371:74: current parser token '{'
2.    .\..\..\include\wx/buffer.h:360:1: parsing struct/union/class body
'wxCharBuffer'
clang++.exe: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.5.0 (213707)
Target: i686-pc-windows-gnu
Thread model: posix
clang++.exe: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang++.exe: note: diagnostic msg: Error generating preprocessed source(s).
Process terminated with status 1 (8 minute(s), 39 second(s))
3 error(s), 1 warning(s) (8 minute(s), 39 second(s))</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>