Recently, I've started using MSVC to compile a code which was always compiled with GCC and Clang. Some piece of this code produces an interesting comp ...
Recently, I've started using MSVC to compile a code which was always compiled with GCC and Clang. Some piece of this code produces an interesting comp ...
this is the code. after compiling it is 220kb. I used this command : cl /EHsc main.cpp. help me reduce the size ...
I would like to use Jenkins multibranch pipeline with Subversion. The job is configured to include branches branches/* Consequently, for each branch ( ...
Since microsoft broke the compiler (again) in version 14.29.30037 (reported as 19.29.30038.1 by CMAKE for some reason) (look here) I need to go back t ...
I have an .msi installer developed using wix that installs some dlls in a directory on the file system. Some of these dlls have dependency on Visual C ...
Seeing this failure only with release config. I see a lot of people have asked similar question but in their case, the issue is seen during Postbuild ...
I have the following header file- When I compile this on its own, separate from my larger project, it works fine. However, when I compile it alongs ...
I am using MSVC command line tools to try to compile a simple c++ based program for arm/arm64 on a x64 machine. Even after using the toolchain file, t ...
I knew __FUNC__ is predefined macro, but when come to vscode it can not recognize __FUNC__. https://learn.microsoft.com/zh-tw/cpp/preprocessor/pred ...
I remember in the ol' days getting people to run vcvarsall.bat before compiling anything on Windows. Assuming default install location, where do I fin ...
Don't I need a xxx.c source within a .vcproj to make xxx.exe? (How) Could MSVC create a .exe without a same-named .c source file? Consider this .vcpr ...
I have program like below, function Foo is called by threds and main process. Now how to identify funtion Foo is called by thread or main process. ...
I want to initialize a QHash<...> inside a class. There is no problem, if the code is compiled with gcc on linux. But if I use MSVC12, I get the ...
I have a floating point calculation that results in -1.#IND0000 causing a -1.#IND0000 in the subsequent floating point calculation. What would cause t ...
I want to compile an independent binary which I'll then byte to byte copy in the context of another binary (probably using Hex Editor). I can specify ...
Function templates are not seen by the auto-vectorization or the auto-parallelizer (/Qpar) engine in VS2013. For example, this code: seems to be r ...
I have a Qt application (Win x64 download here http://api.straw-solutions.cz/?action=downloadSoftware&productKey=lumen&platform=win_x86_64 ). ...
I want to deploy Qt application with different Windows system. So I generated exe file for my application using windeployqt tools which consists of ex ...
Can someone help me understand why MSVC 12 2013 reports these symbols are unresolved? The symbol DEG_TO_RAD is defined in my Wml.dll file, which I' ...
How can I get around missing boost::throw_exception while building PCL? I've built PCL on Windows (MSVC 2013) a few times in the past, but I've never ...