2021-08-04 11:53 AM - last edited on 2021-09-14 09:24 AM by Noemi Balogh
2021-08-04 05:04 PM
c:\program files\graphisoft\api development kit 24.3009\support\modules\gsroot\gsguid.hpp(150): warning C26495: Variable 'GS::Guid::clock_seq_low' is uninitialized. Always initialize a member variable (type.6). c:\program files\graphisoft\api development kit 24.3009\support\modules\gsroot\gsguid.hpp(159): warning C26495: Variable 'GS::Guid::clock_seq_low' is uninitialized. Always initialize a member variable (type.6). c:\program files\graphisoft\api development kit 24.3009\support\modules\gsroot\gsguid.hpp(165): warning C26495: Variable 'GS::Guid::clock_seq_low' is uninitialized. Always initialize a member variable (type.6). c:\program files\graphisoft\api development kit 24.3009\support\modules\gsroot\gsnew.hpp(93): warning C28251: Inconsistent annotation for 'new': this instance has no annotations. See d:\temp\cpp development\gisdownloader\build\predefined c++ types (compiler internal)(33). The first user-provided annotation on this built-in function is at line d:\vs2017 for archicad\vc\tools\msvc\14.16.27023\include\vcruntime_new.h(66). c:\program files\graphisoft\api development kit 24.3009\support\modules\gsroot\gsnew.hpp(110): warning C28251: Inconsistent annotation for 'new[]': this instance has no annotations. See d:\temp\cpp development\gisdownloader\build\predefined c++ types (compiler internal)(58). The first user-provided annotation on this built-in function is at line d:\vs2017 for archicad\vc\tools\msvc\14.16.27023\include\vcruntime_new.h(77). c:\program files\graphisoft\api development kit 24.3009\support\modules\gsroot\gsnew.hpp(126): warning C28251: Inconsistent annotation for 'new': this instance has no annotations. See d:\vs2017 for archicad\vc\tools\msvc\14.16.27023\include\vcruntime_new.h(71). c:\program files\graphisoft\api development kit 24.3009\support\modules\gsroot\gsnew.hpp(142): warning C28251: Inconsistent annotation for 'new[]': this instance has no annotations. See d:\vs2017 for archicad\vc\tools\msvc\14.16.27023\include\vcruntime_new.h(82). c:\program files\graphisoft\api development kit 24.3009\support\modules\gsroot\gstime.hpp(232): warning C26495: Variable 'GSTimer::timerData' is uninitialized. Always initialize a member variable (type.6). c:\program files\graphisoft\api development kit 24.3009\support\modules\gsroot\unistring.hpp(784): warning C26439: This kind of function may not throw. Declare it 'noexcept' (f.6). c:\program files\graphisoft\api development kit 24.3009\support\modules\inputoutput\name.hpp(135): warning C26439: This kind of function may not throw. Declare it 'noexcept' (f.6). c:\program files\graphisoft\api development kit 24.3009\support\modules\inputoutput\name.hpp(167): warning C26439: This kind of function may not throw. Declare it 'noexcept' (f.6). c:\program files\graphisoft\api development kit 24.3009\support\inc\apidefs_automate.h(293): warning C26439: This kind of function may not throw. Declare it 'noexcept' (f.6). c:\program files\graphisoft\api development kit 24.3009\support\inc\apidefs_elementdifferencegenerator.h(87): warning C26439: This kind of function may not throw. Declare it 'noexcept' (f.6). c:\program files\graphisoft\api development kit 24.3009\support\inc\apidefs_navigator.h(239): warning C26439: This kind of function may not throw. Declare it 'noexcept' (f.6). c:\program files\graphisoft\api development kit 24.3009\support\inc\apidefs_navigator.h(266): warning C26439: This kind of function may not throw. Declare it 'noexcept' (f.6). c:\program files\graphisoft\api development kit 24.3009\support\modules\dglib\dg.h(260): warning C26495: Variable 'DGNumericInputLimitHandlers::polarAngleHandler' is uninitialized. Always initialize a member variable (type.6). c:\program files\graphisoft\api development kit 24.3009\support\modules\dglib\dg.h(389): warning C26495: Variable 'DGInitData::fileNameAlertResModule' is uninitialized. Always initialize a member variable (type.6). c:\program files\graphisoft\api development kit 24.3009\support\modules\dglib\dg.h(436): warning C26495: Variable 'DGMousePosData::right' is uninitialized. Always initialize a member variable (type.6). c:\program files\graphisoft\api development kit 24.3009\support\modules\dglib\dg.h(544): warning C26495: Variable 'DGUCItemData::locResModule' is uninitialized. Always initialize a member variable (type.6). c:\program files\graphisoft\api development kit 24.3009\support\modules\dglib\dgutility.hpp(1440): warning C26495: Variable 'DG::Utils::SetNextModalParentGuard::lastWindow' is uninitialized. Always initialize a member variable (type.6). c:\program files\graphisoft\api development kit 24.3009\support\modules\gsroot\optional.hpp(105): warning C26495: Variable 'GS::Optional<API_ElementMemo>::buffer' is uninitialized. Always initialize a member variable (type.6). c:\program files\graphisoft\api development kit 24.3009\support\modules\gsroot\owner.hpp(46): warning C26439: This kind of function may not throw. Declare it 'noexcept' (f.6). c:\program files\graphisoft\api development kit 24.3009\support\modules\gsroot\array.hpp(441): warning C26439: This kind of function may not throw. Declare it 'noexcept' (f.6). c:\program files\graphisoft\api development kit 24.3009\support\modules\gsroot\countedptrimpl.hpp(249): warning C26439: This kind of function may not throw. Declare it 'noexcept' (f.6). c:\program files\graphisoft\api development kit 24.3009\support\modules\gsroot\pagedarray.hpp(358): warning C26495: Variable 'GS::PagedArray<GS::HashTable<GS::String,GS::ObjectState::Value *>::HashEntry,8>::fixPageTable' is uninitialized. Always initialize a member variable (type.6). c:\program files\graphisoft\api development kit 24.3009\support\modules\gsroot\pagedarray.hpp(1783): warning C26451: Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2). d:\temp\cpp development\gisdownloader\build\src\bbox.cpp(9): warning C26495: Variable 'GIS::BBox::minX' is uninitialized. Always initialize a member variable (type.6). d:\temp\cpp development\gisdownloader\build\src\canvasbbox.cpp(13): warning C26495: Variable 'GIS::CanvasBBox::canvasWidth' is uninitialized. Always initialize a member variable (type.6). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\internal\ieee754.h(25): warning C26495: Variable 'rapidjson::internal::Double::<anonymous-tag>::u_' is uninitialized. Always initialize a member variable (type.6). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\internal\biginteger.h(243): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\internal\diyfp.h(133): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\internal\diyfp.h(145): warning C26451: Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\internal\diyfp.h(229): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\internal\strtod.h(136): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\internal\strtod.h(174): warning C26451: Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\internal\strtod.h(178): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\internal\dtoa.h(135): warning C26451: Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\internal\dtoa.h(140): warning C26451: Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\internal\dtoa.h(163): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\internal\dtoa.h(209): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\writer.h(408): warning C26451: Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\writer.h(410): warning C26451: Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\reader.h(1217): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\reader.h(1228): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\reader.h(1238): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\reader.h(1261): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\reader.h(1278): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). c:\program files\graphisoft\api development kit 24.3009\support\modules\rapidjson\document.h(1976): warning C26451: Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2). d:\temp\cpp development\gisdownloader\sources\addon\addonmain.cpp(301): warning C6262: Function uses '27816' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. c:\program files\graphisoft\api development kit 24.3009\support\modules\gsroot\array.hpp(465): warning C26439: This kind of function may not throw. Declare it 'noexcept' (f.6). 2>Done building project "AddOn.vcxproj". ========== Rebuild All: 2 succeeded, 0 failed, 0 skipped ==========
2021-08-04 06:55 PM
2021-08-05 08:59 AM
2021-08-05 02:22 PM
2021-08-05 05:37 PM
Viktor wrote:I did not deploy it at all. I have to copy the headers to Archicad.exe location? I've read about AddOns that they try to load external dlls from Archicad.exe's location...
It can be caused by several things, but it's most likely the problem with the rapidjson dependency. Are you sure you deploy rapidjson to other PCs correctly?
2021-08-06 01:18 PM
2021-08-06 03:08 PM
Viktor wrote:rapidJSON is a header only library. Should I refractor my code to use the provided JSON parser ?
I'm not familiar with rapidjson, but if it comes with a dll, you should copy the dll next to the apx file on every computer.
2021-08-06 05:43 PM
2021-08-08 03:18 PM