Skip to content
View in the app

A better way to browse. Learn more.

Learn more

bool in a .cpp file causing FS crash

Featured Replies

In an Object header (.h) I have: private: bool m_isBoxed; // Display with boxand in the related .cpp file: m_isBoxed = false;or m_isBoxed = FALSE;or m_isBoxed = 0;each of which results in FS crashing on load.Anyone have a similar experience and find the solution, or understand why this is happening?FYI, the header has the following includes:#include #include #include

Turns out, it wasn't the code line at all, but rather a namespace conflict with an encapsulating objects function name "ClearLine()", which apparently was not kosher. Changing that method name to "ClearLinePair()" fixed things.Weird, that the only symptom was that I couldn't right click and go to the definition from the header declaration.

Create an account or sign in to comment

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.