cannot compile in release mode

Bryan Kelly 321 Reputation points
2022-07-04T21:40:13.97+00:00

Windows 11, Visual Studio 2019, Program is the wxwidgets example of hello world.
It compiles and runs in debug mode.
Switch to Release and the first line of code immediately has the red squiggles.
Line 03 is

#include <wx/wxprec.h>  

The squiggles toggle on and off as the mode is switched between Release and Debug.

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,636 questions
{count} votes

1 answer

Sort by: Most helpful
  1. RLWA32 43,306 Reputation points
    2022-07-18T09:14:53.97+00:00

    See my response regarding improper configuration by omitting wxwidgets property sheet at build-fails-in-release-mode.html

    0 comments No comments