Share via

Build errors with basic MFC program

Anonymous
2015-12-22T06:46:50+00:00

I installed Visual Studio Community 2015 and the C++ tools.

However, when I create a MFC single document application and build it (with no code of mine added), I get errors, such as this:

va_start identifier not found in atlcore.h

Can anyone help me?

Here are the errors I get:

Severity Code Description Project File Line
Error C3861 'va_start': identifier not found MFCApplication4 c:\program files (x86)\microsoft visual studio 14.0\vc\atlmfc\include\atlcore.h 591
Error C3861 'va_end': identifier not found MFCApplication4 c:\program files (x86)\microsoft visual studio 14.0\vc\atlmfc\include\atlcore.h 604
Error C3861 'va_start': identifier not found MFCApplication4 c:\program files (x86)\microsoft visual studio 14.0\vc\atlmfc\include\atltrace.h 423
Error C3861 'va_end': identifier not found MFCApplication4 c:\program files (x86)\microsoft visual studio 14.0\vc\atlmfc\include\atltrace.h 425
Error C3861 'va_start': identifier not found MFCApplication4 c:\program files (x86)\microsoft visual studio 14.0\vc\atlmfc\include\atltrace.h 438
Error C3861 'va_end': identifier not found MFCApplication4 c:\program files (x86)\microsoft visual studio 14.0\vc\atlmfc\include\atltrace.h 440
Error C3861 'va_start': identifier not found MFCApplication4 c:\program files (x86)\microsoft visual studio 14.0\vc\atlmfc\include\atltrace.h 451
Error C3861 'va_end': identifier not found MFCApplication4 c:\program files (x86)\microsoft visual studio 14.0\vc\atlmfc\include\atltrace.h 453
Error C3861 'va_start': identifier not found MFCApplication4 c:\program files (x86)\microsoft visual studio 14.0\vc\atlmfc\include\atltrace.h 464
Error C3861 'va_end': identifier not found MFCApplication4 c:\program files (x86)\microsoft visual studio 14.0\vc\atlmfc\include\atltrace.h 466
Error C3861 'va_start': identifier not found MFCApplication4 c:\program files (x86)\microsoft visual studio 14.0\vc\atlmfc\include\atltrace.h 569
Error C3861 'va_end': identifier not found MFCApplication4 c:\program files (x86)\microsoft visual studio 14.0\vc\atlmfc\include\atltrace.h 571
Windows for home | Previous Windows versions | Apps

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2015-12-22T07:16:20+00:00

Kindly ask your question at:

Msdn forums - MSDN - Microsoft

Development related questions are best handled there.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2015-12-22T15:54:17+00:00

    Will do. Thanks for the info Sumit!

    Was this answer helpful?

    0 comments No comments