Visual Studio: Custom warnings for TODOs, Code Reviews etc.
Visual Studio can sometime surprise you! The number of TODOs I’ve seen strewn throughout the code-base — sometimes as well-thought out comments, sometimes less so, or a code review request that I...
View ArticleNote to self: Visual Studio Link Time Code Generation
Been worrying about the LNK4075 warning for a while now. So, here’s some digging done: The world without LTCG: — VS invokes the front-end (C1.dll and C1XX.dll), which generates CPU-independent...
View ArticleCompiling using clang’s C compiler from Notepad++/NppExec on Windows
Disclaimer: This post is about compiling programs written in the C language and not C++ (which is a different language) from within Notepad++ on Windows. The clang C++ compiler does not yet support...
View ArticleGetting around VS2012 C1189/C4005 error: keyword re-defined in macro(s)
For the impatient (read legacy code maintainers): Go ahead and add _ALLOW_KEYWORD_MACROS to your list of preprocessor definitions in the project settings to get rid of the errors. If you’re still here...
View Article