# Weird bug when creating or opening c++ projects

**URL:** <https://forums.unrealengine.com/t/weird-bug-when-creating-or-opening-c-projects/2128315>\
**Category:** C++\
**Tags:** unreal-engine, question\
**Created:** [November 16, 2024, 4:22pm UTC](https://forums.unrealengine.com/t/weird-bug-when-creating-or-opening-c-projects/2128315 "2024-11-16T16:22:44Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [November 16, 2024, 7:39pm UTC](https://forums.unrealengine.com/t/weird-bug-when-creating-or-opening-c-projects/2128315/3 "2024-11-16T19:39:08Z")

</div>

Some compiler notes that may indicate the cause

> **[\_\_has\_feature (The C Preprocessor)](https://gcc.gnu.org/onlinedocs/cpp/_005f_005fhas_005ffeature.html)**
>
> \_\_has\_feature (The C Preprocessor)

Note that ` __has_feature` and `__ has_extension` are not recommended for use in new code, and are only provided for compatibility with Clang. For details of which identifiers are accepted by these function-like macros, see [the Clang documentation](https://clang.llvm.org/docs/LanguageExtensions.html#has-feature-and-has-extension).

So maybe with 5.5 there have been some updates that depreciate the use of \_\_has\_feature

Try updating your msvc to a newer version if yours is no longer seen as ok.

Also take note of the warning in your solution

![obraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/b/0/2b040e7c0d2dbf2005feb8612d605a5bbfcfda27.png)

Usually installing components fixes sudden weird errors like this.  
It should update / install missing dependencies.

---

_[View the full topic](https://forums.unrealengine.com/t/weird-bug-when-creating-or-opening-c-projects/2128315)._
