News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

cmdlineparser (linux)

Started by grv575, September 09, 2005, 04:52:09 AM

Previous topic - Next topic

grv575

app.cpp:61

#ifdef __WXMSW__
    { wxCMD_LINE_SWITCH, _T("na"), _T("no-check-associations"), _T("don't perform any association checks"), wxCMD_LINE_VAL_NONE, wxCMD_LINE_PARAM_OPTIONAL },
    { wxCMD_LINE_SWITCH, _T("nd"), _T("no-dde"), _T("don't start a DDE server"), wxCMD_LINE_VAL_NONE, wxCMD_LINE_PARAM_OPTIONAL },
#endif


app.cpp:442

m_NoDDE = parser.Found(_T("no-dde"), &val);
m_NoAssocs = parser.Found(_T("no-check-associations"), &val);


The two lines at 442, need an #ifdef __WXMSW__ guard as well.  Otherwise assertions are triggered about unknown switches (no-dde, no-check-associations) on linux.