X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 2 Sep 2010 06:42:19 +0100 Message-ID: Subject: Re: can't compile setup.exe From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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