[llvm-bugs] [Bug 47912] New: Warnings when compiling with 32-bit windows compiler

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Oct 20 03:01:11 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=47912

            Bug ID: 47912
           Summary: Warnings when compiling with 32-bit windows compiler
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: albert.tests at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 24081
  --> https://bugs.llvm.org/attachment.cgi?id=24081&action=edit
Details of complation and warnings

When I compile my simple file:
#include <clang-c/Index.h>
#include "clang/Tooling/CompilationDatabase.h"
#include "clang/Tooling/Tooling.h"


with the 32-bit Microsoft Visual studio (on Windows 10 64-bit) I get a lot of
warnings like:
E:\Programs\LLVM\llvm-project\llvm\include\llvm/Support/type_traits.h(79):
warning C4624: 'llvm::detail::copy_construction_triviality_helper<T>':
destructor was implicitly defined as deleted
        with
        [
            T=std::string
        ]

The full details can be found in the attachment.

In my case it happens with the 9.0.1. version but I see the same problem with
the current master (1e32df2f91f1aa1f8cd400ce50a621578fa0534e) (could not
complete this build as there was a compilation crash of LLVM / clang) and I've
had a report that it also happens with the 5.0.0 version so it looks like a
long standing problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201020/797ca2b7/attachment.html>


More information about the llvm-bugs mailing list