--- src/gtimelapse.cpp.orig +++ src/gtimelapse.cpp @@ -155,7 +155,11 @@ //cout << "type: RADIO" << endl; //cout << "current: " << current << endl; +#ifdef __clang__ + wxString *choices = new wxString[cnt]; +#else wxString choices[cnt]; +#endif for ( i=0; i