X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; q=dns; s=default; b=UNh bSWAdCRBAweqBKS3xHzHZjulx59PcySLEXrkn2Cl/kD2ssMI1l2Pbhis1cCIgtgL H3dRXlrarCzOc9SxUx+q9LfJpdROlvQnAKfkJtHxC4bV2sogROiTfp4frpPwzG2O qG9av6Xckr8Dozqn9BwUKDwgV79YK5COAi3W374s= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; s=default; bh=6PXTsc9UQ CBbUf8/HCFzKWgnna0=; b=Ew1NGda7LqxuEBsLX83pz/jKBqB2lF/LPJk9ICDe/ V4QbOdHr8hqhKiGJQWSdICJCVYcJJrnfdYhJxvMl7rZ1e2B37cAVFsnHxKD+iQs4 p3ebqXt+pC3Jqxfw6Mbg2tqpbficpFrYETAob2QSTiB8Dr4eNghLJO7kHI7B82Se uY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ee0-f53.google.com X-Received: by 10.15.10.73 with SMTP id f49mr3203602eet.2.1391671785666; Wed, 05 Feb 2014 23:29:45 -0800 (PST) Message-ID: <52F339CA.5070305@gmail.com> Date: Thu, 06 Feb 2014 08:29:14 +0100 From: Marco Atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: cygwin-1.7.28 getpwent header declaration changes ? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes on cygwin-1.7.28 64 bit but not on cygwin-1.7.27, (only system difference) compiling octave I see: ---------------------------------------------------------------- /pub/devel/octave/octave-3.8.0-2/src/octave-3.8.0/liboctave/system/oct-passwd.cc :114:25: error: '::getpwent' has not been declared return octave_passwd (::getpwent (), msg); ^ /pub/devel/octave/octave-3.8.0-2/src/octave-3.8.0/liboctave/system/oct-passwd.cc : In static member function 'static int octave_passwd::setpwent(std::string&)': /pub/devel/octave/octave-3.8.0-2/src/octave-3.8.0/liboctave/system/oct-passwd.cc :171:3: error: '::setpwent' has not been declared ::setpwent (); ^ /pub/devel/octave/octave-3.8.0-2/src/octave-3.8.0/liboctave/system/oct-passwd.cc : In static member function 'static int octave_passwd::endpwent(std::string&)': /pub/devel/octave/octave-3.8.0-2/src/octave-3.8.0/liboctave/system/oct-passwd.cc :191:3: error: '::endpwent' has not been declared ::endpwent (); ^ /pub/devel/octave/octave-3.8.0-2/src/octave-3.8.0/liboctave/system/oct-passwd.cc : In static member function 'static octave_passwd octave_passwd::getpwent(std::s tring&)': /pub/devel/octave/octave-3.8.0-2/src/octave-3.8.0/liboctave/system/oct-passwd.cc :119:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Makefile:8702: recipe for target 'system/system_libsystem_la-oct-passwd.lo' fail ed make[4]: *** [system/system_libsystem_la-oct-passwd.lo] Error 1 ---------------------------------------------------------------- the piece of code is a very simple: ----------------------------------------------- octave_passwd octave_passwd::getpwent (std::string& msg) { #if defined HAVE_GETPWENT msg = std::string (); return octave_passwd (::getpwent (), msg); #else msg = NOT_SUPPORTED ("getpwent"); return octave_passwd (); #endif } ---------------------------------------- Is something slightly changed in the relative system headers ? Regards Marco -- 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