Click here to Skip to main content
15,887,376 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Error message is ::
1>C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.37.32822\include\stdint.h(37,28): error C2371: 'int_fast16_t': redefinition; different basic types 


When I click on the error, it takes me to stdint.h and points to this line:

C++
typedef int                int_fast16_t;


What I have tried:

I tried to work with CXIMAGE project and got this error.
Posted
Updated 4-Oct-23 3:05am
v3
Comments
Richard MacCutchan 4-Oct-23 4:04am    
Start by NOT using all capitals in your message; that is considered as shouting on the internet and is rude. When you have done that then show us the code that causes the error.
Richard MacCutchan 4-Oct-23 8:36am    
Check the order of the #include statements to see if there is a definition of int_fast16_t somewhere else.

1 solution

Don't post this under "quick answers" - it assumes that the author of the project will be constantly monitoring the list of questions, and recognise that the extremely vague title and description from your question relates to their code.

Instead, post your question in the forum at the bottom of the article[^]. That way, the author will be notified of your question and have a chance to respond.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900