[PATCH] D28429: Remove the restriction of ten types on AligedCharArrayUnion

Sean Callanan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 15:52:44 PST 2017


spyffe added a comment.

This failed to build under Visual Studio:

  C:\PROGRA~2\MICROS~1.0\VC\bin\AMD64_~2\cl.exe   /nologo /TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib\Support -IC:\b\slave\sanitizer-windows\llvm\lib\Support -Iinclude -IC:\b\slave\sanitizer-windows\llvm\include /DWIN32 /D_WINDOWS   /W4 -wd4141 -wd4146 -wd4180 -wd4244 -wd4258 -wd4267 -wd4291 -wd4345 -wd4351 -wd4355 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4800 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4324 -w14062 -we4238 /Zc:inline /Zc:strictStrings /Oi /Zc:rvalueCast /MD /O2 /Ob2   -UNDEBUG  /EHs-c- /GR- /showIncludes /Folib\Support\CMakeFiles\LLVMSupport.dir\CommandLine.cpp.obj /Fdlib\Support\CMakeFiles\LLVMSupport.dir\ /FS -c C:\b\slave\sanitizer-windows\llvm\lib\Support\CommandLine.cpp
  C:\b\slave\sanitizer-windows\llvm\include\llvm/Support/AlignOf.h(135): error C2027: use of undefined type 'llvm::detail::AlignerImpl<Ts...>'
  C:\b\slave\sanitizer-windows\llvm\include\llvm/Support/AlignOf.h(135): note: see declaration of 'llvm::detail::AlignerImpl<Ts...>'
  C:\b\slave\sanitizer-windows\llvm\include\llvm/Support/AlignOf.h(136): note: see reference to class template instantiation 'llvm::AlignedCharArrayUnion<Ts...>' being compiled
  ninja: build stopped: subcommand failed.

I did some restricted testing with http://rextester.com/l/cpp_online_compiler_visual but it looks like that wasn't sufficient.


Repository:
  rL LLVM

https://reviews.llvm.org/D28429





More information about the llvm-commits mailing list