<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - Crush"
   href="https://bugs.llvm.org/show_bug.cgi?id=40157">40157</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Crush
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.0
          </td>
        </tr>

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

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

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>C++14
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>mihail.shunko@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>blitzrakete@gmail.com, erik.pilkington@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm trying to make a library exporting 1 function that performs a direct
Fourier transform, for this I use the library KFRLib, but when connecting the
header files of the library KFRLib, an error clang appears.
Windows 10 x64
LLVM 7.0.1 x64
Microsoft Visual Studio 2017 (used integration with LLVM is attached in the
archive)

Console log:


1>------ Build started: Project: MyKFRLib, Configuration: Debug Win32 ------
1>clang-cl.exe : warning : argument unused during compilation: '/ZI'
[-Wunused-command-line-argument]
1>clang-cl.exe : warning : argument unused during compilation: '/Gm-'
[-Wunused-command-line-argument]
1>Wrote crash dump file
"C:\Users\shunko\AppData\Local\Temp\clang-cl.exe-37a06d.dmp"
1>0x00007FF6F2C07E5B (0x00004D3595205FCC 0x00007FF600000000 0x00000232D83CFED0
0x00000232DE6886B0)
1>0x00007FF6F2C183B2 (0x0000008A9478DE18 0x0000000000000000 0x00000232D83CFEC0
0x00000232DA0BB350)
1>0x00007FF6F2C15466 (0x0000008A9478DEB0 0x0000008A9478DEB0 0x0000000000000000
0x0000000000000000)
1>0x00007FF6F2BE97A4 (0x00000232D83AF830 0x0000008A9478DEB0 0x00000232D843BEF0
0x0000000000000000)
1>0x00007FF6F224D45C (0x0000000000000004 0x00007FFC00000000 0x0000023200000002
0x00000232D8383230)
1>0x00007FF6F2AD4C34 (0x0000000000000000 0x0000000000000000 0x00000232D83AE320
0x00000232D838B910)
1>0x00007FF6F222431D (0x0000008A9478DFA8 0x00007FFCAB130428 0x0000000000000000
0x00007FF6F227C719)
1>0x00007FF6F21E8CC7 (0x0000008A9478E101 0x0000000000000000 0x0000000000000000
0x00000232D83AF3B0)
1>0x00007FF6F227D37C (0x00000232D8340000 0x0000023200800003 0x0000000000001000
0x0000000000001010)
1>0x00007FF6F0886E28 (0x0000000000000000 0x0000000000000000 0x0000008A9478EA90
0x0000008A9478E840)
1>0x00007FF6F0884317 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000)
1>0x00007FF6F372A7E8 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000)
1>0x00007FFCAACB3034 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000), BaseThreadInitThunk() + 0x14 bytes(s)
1>0x00007FFCAB191461 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000), RtlUserThreadStart() + 0x21 bytes(s)
1>clang-cl.exe : error : clang frontend command failed due to signal (use -v to
see invocation)
1>clang version 7.0.1 (tags/RELEASE_701/final)
1>Target: i386-pc-windows-msvc
1>Thread model: posix
1>InstalledDir: C:\Program Files\LLVM\bin
1>clang-cl.exe: note: diagnostic msg: PLEASE submit a bug report to
<a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash backtrace, preprocessed source,
and associated run script.
1>clang-cl.exe: note: diagnostic msg:
1>********************
1>
1>PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
1>Preprocessed source(s) and associated run script(s) are located at:
1>clang-cl.exe: note: diagnostic msg:
C:\Users\shunko\AppData\Local\Temp\stdafx-a0225b.cpp
1>clang-cl.exe: note: diagnostic msg:
C:\Users\shunko\AppData\Local\Temp\stdafx-a0225b.sh
1>clang-cl.exe: note: diagnostic msg:
1>
1>********************
1>Done building project "MyKFRLib.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========</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>