Cool VL Viewer forum
http://sldev.free.fr/forum/

Missing include for llassert in llrefcount.h?
http://sldev.free.fr/forum/viewtopic.php?f=4&t=2275
Page 1 of 1

Author:  kathrine [ 2022-05-29 10:20:13 ]
Post subject:  Missing include for llassert in llrefcount.h?

Hi Henri,

i tried to compile 1.30.0 and it failed with a missing define for llassert. Adding the #include "llerror.h" to llrefcount.h obviously fixes it.

Code:
c:\devel\sl\cool\linden\indra\llcommon\llrefcount.h(72): error C3861: "llassert": Bezeichner wurde nicht gefunde
       n. (Quelldatei wird kompiliert C:\devel\sl\cool\linden\indra\llmath\llvolumeoctree.cpp) [c:\devel\sl\cool\linden
       \build-vs2017\llmath\llmath.vcxproj]
c:\devel\sl\cool\linden\indra\llcommon\llrefcount.h(118): error C3861: "llassert": Bezeichner wurde nicht gefund
       en. (Quelldatei wird kompiliert C:\devel\sl\cool\linden\indra\llmath\llvolumeoctree.cpp) [c:\devel\sl\cool\linde
       n\build-vs2017\llmath\llmath.vcxproj]


Only changes in my build are some different compile flags here and there (AVX2 & NETBIOS=OFF) to get a PDB and minor AMD & PROTECTSTACK (+ /guard:cf) tuning, but that shouldn't do much.

Code:
Built with: MSVC v1916
Compiler-generated maths: AVX2.

Compile flags used for this build:
/O2 /Zi /Oi /DNDEBUG /D_SECURE_SCL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /std:c++14 /EHs /arch:AVX2 /fp:fast /favor:AMD64 /MP /TP /W2 /c /nologo /GS /guard:cf /Zc:threadSafeInit- /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0601 /D_WIN32_WINNT=0x0601 /DLL_PHMAP=1 /DBOOST_ALL_NO_LIB /DLL_FMOD=1 /DAPR_DECLARE_STATIC /DAPU_DECLARE_STATIC /DXML_STATIC /DCURL_STATICLIB=1

Author:  Henri Beauchamp [ 2022-05-29 13:03:18 ]
Post subject:  Re: Missing include for llassert in llrefcount.h?

I did change a few #include's in the sources, but this error should have crept up on me when compiling official builds...

Strange, but harmless. I added the llerror.h include for next release, thank you.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/