Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why do I get errors about FooBarA when I only use FooBar in my program?

errors foobar program
0
Posted

Why do I get errors about FooBarA when I only use FooBar in my program?

0

If you get errors like no matching function for call to ‘wxDC::DrawTextA(const char[5], int, int)’ or similar ones for the other functions, i.e. the compiler error messages mention the function with the ‘A’ suffix while you didn’t use it in your code, the explanation is that you had included header which redefines many symbols to have such suffix (or ‘W’ in the Unicode builds). The fix is to either not include at all or include “wx/msw/winundef.h” immediately after it.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123