Page MenuHomeFeedback Tracker

Recompiling (F7 key) with Script Editor ignores #ifdef
Assigned, NormalPublic

Description

I am using a -scrDefine VPAD_EXP as a startup parameter
The workbench launches normal, everything compiles.

When I press F7 in Script Editor,
I receive an error (which does not appear when compiling at startup)

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General
Steps To Reproduce
class gOS_SCR_SettingsSubMenu : SCR_SettingsSubMenuBase {
    //--- EXP branch
    #ifdef VPAD_EXP
	override void OnTabHide () {
		super.OnTabHide();
        //gOS_OnTabHide();
	};
    #else
    //--- STB branch
    override void OnMenuHide (SCR_SuperMenuBase parentMenu) {
		super.OnMenuHide(parentMenu);
        // Print("gOS_SCR_SettingsSubMenu::OnMenuHide");
        //gOS_OnTabHide();
    };
    #endif
};

Event Timeline

Geez changed the task status from New to Assigned.Mar 6 2024, 11:08 AM