Hi Sir, Question: how to disable includes from vector cast. scenario: suppose operator "new" definition is present in header file (inside build )and same is present in vc_runtime.h(in visual 2017 library) so while testing it is giving below error: Error while compiling test in vector cast: ----------------------------------------- Parsing Dump_log_status_job ** ERROR: Full Parse Failed: Dump_log_status_job.tu.cpp "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include\vcruntime_ new.h", line 184: error: function "operator new(size_t, void *)" has already been defined inline void* __cdecl operator new(size_t _Size, void* _Where) noexcept ^ "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include\vcruntime_ new.h", line 199: error: function "operator new[](size_t, void *)" has already been defined inline void* __cdecl operator new[](size_t _Size, ^ "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include\type_trait s", line 1148: error: expression must have a constant value && !is_same_v>; ^ detected during instantiation of type ** ERROR: Environment Creation Failed what will be suggested work arround to resolve this issue.?
I really like it, Very nice video sir. Thank you
Hi Sir,
Question: how to disable includes from vector cast.
scenario: suppose operator "new" definition is present in header file (inside build )and same is present in vc_runtime.h(in visual 2017 library)
so while testing it is giving below error:
Error while compiling test in vector cast:
-----------------------------------------
Parsing Dump_log_status_job
** ERROR: Full Parse Failed: Dump_log_status_job.tu.cpp
"C:\Program Files
(x86)\Microsoft Visual
Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include\vcruntime_
new.h", line 184: error: function "operator new(size_t, void *)" has
already been defined
inline void* __cdecl operator new(size_t
_Size, void* _Where) noexcept
^
"C:\Program
Files (x86)\Microsoft Visual
Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include\vcruntime_
new.h", line 199: error: function "operator new[](size_t, void *)"
has already been defined
inline void* __cdecl operator new[](size_t
_Size,
^
"C:\Program Files (x86)\Microsoft
Visual
Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include\type_trait
s", line 1148: error: expression must have a constant value
&&
!is_same_v>;
^
detected during
instantiation of type
** ERROR: Environment Creation Failed
what will be suggested work arround to resolve this issue.?
your videos' are good , I have subscribed your channel.