About Store Forum Documentation Contact
Donations:
178$/mo



Post Reply 
[WEB] Assertion error
Author Message
neuroliquid Offline
Member

Post: #1
[WEB] Assertion error
Can't compile. The same error in Visual C++ 2010 Express and Visual C++ 2017.

Code:
1>------ Build started: Project: 2 - Drawing, Configuration: Release DX11 Emscripten ------
1>  stdafx.cpp
1>shared : warning : Assuming object file output in the absence of `-c`, based on output filename. Please add with `-c` or `-r` to avoid this warning
1>  A:\Esenthel\Projects\_Build_\2 - Drawing\stdafx.cpp(1): includes this header:
1>  A:\Esenthel\Projects\_Build_\2 - Drawing\stdafx.h(2): includes this header:
1>  A:\Esenthel\Bin\EsenthelEngine\EsenthelEngine.h(222): includes this header:
1>A:\Esenthel\Bin\EsenthelEngine\Graphics\Image.h(135,8): warning : struct 'ImageTypeInfo' does not declare any constructor to initialize its non-modifiable members
1>  struct ImageTypeInfo // Image Type Information
1>         ^
1>  A:\Esenthel\Bin\EsenthelEngine\Graphics\Image.h(149,26):  note: const member 'compressed' will never be initialized
1>     const Bool            compressed    , // if type is compressed
1>                           ^
1>  A:\Esenthel\Bin\EsenthelEngine\Graphics\Image.h(150,26):  note: const member 'high_precision' will never be initialized
1>                           high_precision; // if type requires high precision storage (for example Flt/Vec4 instead of Byte/Color)
1>                           ^
1>  A:\Esenthel\Bin\EsenthelEngine\Graphics\Image.h(151,26):  note: const member 'byte_pp' will never be initialized
1>     const Byte            byte_pp       , // bytes per pixel
1>                           ^
1>  A:\Esenthel\Bin\EsenthelEngine\Graphics\Image.h(152,26):  note: const member 'bit_pp' will never be initialized
1>                           bit_pp        , // bits  per pixel
1>                           ^
1>  A:\Esenthel\Bin\EsenthelEngine\Graphics\Image.h(153,26):  note: const member 'r' will never be initialized
1>                           r             , // number of red     bits
1>                           ^
1>  A:\Esenthel\Bin\EsenthelEngine\Graphics\Image.h(154,26):  note: const member 'g' will never be initialized
1>                           g             , // number of green   bits
1>                           ^
1>  A:\Esenthel\Bin\EsenthelEngine\Graphics\Image.h(155,26):  note: const member 'b' will never be initialized
1>                           b             , // number of blue    bits
1>                           ^
1>  A:\Esenthel\Bin\EsenthelEngine\Graphics\Image.h(156,26):  note: const member 'a' will never be initialized
1>                           a             , // number of alpha   bits
1>                           ^
1>  A:\Esenthel\Bin\EsenthelEngine\Graphics\Image.h(157,26):  note: const member 'd' will never be initialized
1>                           d             , // number of depth   bits
1>                           ^
1>  A:\Esenthel\Bin\EsenthelEngine\Graphics\Image.h(158,26):  note: const member 's' will never be initialized
1>                           s             , // number of stencil bits
1>                           ^
1>  A:\Esenthel\Bin\EsenthelEngine\Graphics\Image.h(159,26):  note: const member 'channels' will never be initialized
1>                           channels      ; // number of channels
1>                           ^
1>  A:\Esenthel\Bin\EsenthelEngine\Graphics\Image.h(160,26):  note: const member 'precision' will never be initialized
1>     const IMAGE_PRECISION precision     ;
1>                           ^
1>  A:\Esenthel\Bin\EsenthelEngine\Graphics\Image.h(166,15):  note: const member 'format' will never be initialized
1>     const UInt format;
1>                ^
1>  Assertion failed: DeclAccess != AS_none, file C:\b\s\w\ir\cache\builder\emscripten-releases\llvm-project\clang\include\clang/AST/DeclCXX.h, line 1661
1>  Stack dump:
1>  0.    Program arguments: A:/Esenthel/emsdk/upstream/bin\clang++.exe -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=39 -D__EMSCRIPTEN_tiny__=11 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystemA:\Esenthel\emsdk\upstream\emscripten\system\include\libcxx -Xclang -isystemA:\Esenthel\emsdk\upstream\emscripten\system\lib\libcxxabi\include -Xclang -isystemA:\Esenthel\emsdk\upstream\emscripten\system\lib\libunwind\include -Xclang -isystemA:\Esenthel\emsdk\upstream\emscripten\system\include\compat -Xclang -isystemA:\Esenthel\emsdk\upstream\emscripten\system\include -Xclang -isystemA:\Esenthel\emsdk\upstream\emscripten\system\include\libc -Xclang -isystemA:\Esenthel\emsdk\upstream\emscripten\system\lib\libc\musl\arch\emscripte​n -Xclang -isystemA:\Esenthel\emsdk\upstream\emscripten\system\local\include -Xclang -isystemC:\Users\a\.emscripten_cache\wasm\include -DDEBUG=1 -DEMSCRIPTEN -D__STDC__ -MD -MF Emscripten/Release DX11/stdafx.d -O0 -I. -Wno-invalid-offsetof -Wno-comment -Wno-parentheses -Wno-switch -Wno-empty-body -Wno-address-of-temporary -Wno-constant-logical-operand -Wno-null-dereference -Wno-int-to-void-pointer-cast -Wno-dynamic-class-memaccess -fms-extensions -std=c++17 -x c++ -DEMSCRIPTEN -fignore-exceptions stdafx.cpp -Xclang -isystemA:\Esenthel\emsdk\upstream\emscripten\system\include\SDL -c -o C:\Users\a\AppData\Local\Temp\emscripten_temp_j68w5qyo\stdafx_0.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr
1>  A:\Esenthel\Bin\EsenthelEngine\_\inline.h(1639): '1.    A' 119: current parser token '('
1>  A:\Esenthel\Bin\EsenthelEngine\Memory\Memory.h(139): '2.    A' 1: parsing namespace 'EE'
1>  A:\Esenthel\Bin\EsenthelEngine\_\inline.h(1639): '3.    A' 80: parsing function body 'EE::ThreadSafeMap::dataInMapToKey'
1>  A:\Esenthel\Bin\EsenthelEngine\_\inline.h(1639): '4.    A' 80: in compound statement ('{}')
1>   #0 0x00007ff6189b20c6 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x10120c6)
1>   #1 0x00007ffb2a10cb6d (C:\WINDOWS\System32\ucrtbase.dll+0x6cb6d)
1>   #2 0x00007ffb2a10db71 (C:\WINDOWS\System32\ucrtbase.dll+0x6db71)
1>   #3 0x00007ffb2a10f4f5 (C:\WINDOWS\System32\ucrtbase.dll+0x6f4f5)
1>   #4 0x00007ffb2a10f831 (C:\WINDOWS\System32\ucrtbase.dll+0x6f831)
1>   #5 0x00007ff61a5d6148 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x2c36148)
1>   #6 0x00007ff61a4bc9ee (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x2b1c9ee)
1>   #7 0x00007ff61a0e02cb (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x27402cb)
1>   #8 0x00007ff61a0e187c (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x274187c)
1>   #9 0x00007ff61a0ce910 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x272e910)
1>  #10 0x00007ff61a0ce7c6 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x272e7c6)
1>  #11 0x00007ff61a0d3f90 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x2733f90)
1>  #12 0x00007ff61a0d094d (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x273094d)
1>  #13 0x00007ff61a0c8a1c (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x2728a1c)
1>  #14 0x00007ff61a0c8915 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x2728915)
1>  #15 0x00007ff61a0bda60 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x271da60)
1>  #16 0x00007ff61a0b683f (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x271683f)
1>  #17 0x00007ff61a0b5e5f (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x2715e5f)
1>  #18 0x00007ff61a0bfcd7 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x271fcd7)
1>  #19 0x00007ff61a0c0d34 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x2720d34)
1>  #20 0x00007ff61a01dc37 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x267dc37)
1>  #21 0x00007ff61a03849a (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x269849a)
1>  #22 0x00007ff61a036231 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x2696231)
1>  #23 0x00007ff61a0359cb (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x26959cb)
1>  #24 0x00007ff61a0696a6 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x26c96a6)
1>  #25 0x00007ff61a01a6e1 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x267a6e1)
1>  #26 0x00007ff61a046336 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x26a6336)
1>  #27 0x00007ff61a045d7f (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x26a5d7f)
1>  #28 0x00007ff61a06984f (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x26c984f)
1>  #29 0x00007ff61a01a6e1 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x267a6e1)
1>  #30 0x00007ff61a018f25 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x2678f25)
1>  #31 0x00007ff61a01488e (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x267488e)
1>  #32 0x00007ff61922f5a5 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x188f5a5)
1>  #33 0x00007ff6191e9cdc (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x1849cdc)
1>  #34 0x00007ff61929773e (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x18f773e)
1>  #35 0x00007ff6179a79e8 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x79e8)
1>  #36 0x00007ff6179a49b7 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x49b7)
1>  #37 0x00007ff619180126 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x17e0126)
1>  #38 0x00007ff61899bd33 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0xffbd33)
1>  #39 0x00007ff61917f9a3 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x17df9a3)
1>  #40 0x00007ff6190802de (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x16e02de)
1>  #41 0x00007ff619080685 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x16e0685)
1>  #42 0x00007ff61906d027 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x16cd027)
1>  #43 0x00007ff6179a2efa (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x2efa)
1>  #44 0x00007ff61b2880d0 (A:\Esenthel\emsdk\upstream\bin\clang++.exe+0x38e80d0)
1>  #45 0x00007ffb2acb7bd4 (C:\WINDOWS\System32\KERNEL32.DLL+0x17bd4)
1>  #46 0x00007ffb2c20ced1 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x6ced1)
1>  Assertion failed: TemplateIds.empty() && "Still alive TemplateIdAnnotations around?", file C:\b\s\w\ir\cache\builder\emscripten-releases\llvm-project\clang\lib\Parse\Parser.cpp, line 445
1>shared : error : 'A:/Esenthel/emsdk/upstream/bin\clang++.exe -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=39 -D__EMSCRIPTEN_tiny__=11 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystemA:\Esenthel\emsdk\upstream\emscripten\system\include\libcxx -Xclang -isystemA:\Esenthel\emsdk\upstream\emscripten\system\lib\libcxxabi\include -Xclang -isystemA:\Esenthel\emsdk\upstream\emscripten\system\lib\libunwind\include -Xclang -isystemA:\Esenthel\emsdk\upstream\emscripten\system\include\compat -Xclang -isystemA:\Esenthel\emsdk\upstream\emscripten\system\include -Xclang -isystemA:\Esenthel\emsdk\upstream\emscripten\system\include\libc -Xclang -isystemA:\Esenthel\emsdk\upstream\emscripten\system\lib\libc\musl\arch\emscripte​n -Xclang -isystemA:\Esenthel\emsdk\upstream\emscripten\system\local\include -Xclang -isystemC:\Users\a\.emscripten_cache\wasm\include -DDEBUG=1 -DEMSCRIPTEN -D__STDC__ -MD -MF Emscripten/Release DX11/stdafx.d -O0 -I. -Wno-invalid-offsetof -Wno-comment -Wno-parentheses -Wno-switch -Wno-empty-body -Wno-address-of-temporary -Wno-constant-logical-operand -Wno-null-dereference -Wno-int-to-void-pointer-cast -Wno-dynamic-class-memaccess -fms-extensions -std=c++17 -x c++ -DEMSCRIPTEN -fignore-exceptions stdafx.cpp -Xclang -isystemA:\Esenthel\emsdk\upstream\emscripten\system\include\SDL -c -o C:\Users\a\AppData\Local\Temp\emscripten_temp_j68w5qyo\stdafx_0.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (3)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
(This post was last modified: 03-23-2020 11:27 PM by neuroliquid.)
03-23-2020 11:26 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: [WEB] Assertion error
this looks like a crash in Emscripten / clang compiler, you can try using a different version of it
03-24-2020 07:01 AM
Find all posts by this user Quote this message in a reply
Post Reply