On 2 September 2010 05:18, Vasya Pupkin wrote: > I'm trying to compile setup.exe from source code I got from CVS.
Great! > For some reason, I am getting an error: > > propsheet.cc: In member function `bool PropSheet::SetActivePage(int)': > propsheet.cc:444: error: expected id-expression before '::' token > propsheet.cc:444: error: expected `)' before '::' token > propsheet.cc:444: error: expected `;' before '::' token > propsheet.cc:444: error: expected `;' before ')' token > propsheet.cc: In member function `bool PropSheet::SetActivePageByID(int)': > propsheet.cc:452: error: expected id-expression before '::' token > propsheet.cc:452: error: expected `)' before '::' token > propsheet.cc:452: error: expected `;' before '::' token > propsheet.cc:452: error: expected `;' before ')' token > propsheet.cc: In member function `void PropSheet::SetButtons(DWORD)': > propsheet.cc:459: error: expected id-expression before '::' token > propsheet.cc:459: error: expected `;' before '::' token > propsheet.cc: In member function `void PropSheet::PressButton(int)': > propsheet.cc:465: error: expected id-expression before '::' token > propsheet.cc:465: error: expected `;' before '::' token > make[2]: *** [propsheet.o] Error 1 > > I did not touch this file. I installed all required packages and > followed instruction in README file. Hmm, newly fails for me too, and I can't work out why, given that the line in question is ancient code. I configured thusly: ./configure -C --disable-shared --host=i686-pc-mingw32 --build=i686-pc-cygwin CC="gcc-3 -mno-cygwin" CXX="g++-3 -mno-cygwin" Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple