X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Message-ID: <501046E1.6080903@prager.ws> Date: Wed, 25 Jul 2012 15:20:01 -0400 From: Bernd Prager User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: gethostbyname conflicts Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Identified-User: {1020:box307.bluehost.com:pragerws:prager.ws} {sentby:smtp auth 198.45.18.20 authed with bernd AT prager DOT ws} X-IsSubscribed: yes 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 All, I am having troubles compiling a boost package due to conflicting declarations: /usr/include/w32api/winsock2.h:635:33: error: declaration of C function ‘int gethostname(char*, int)’ conflicts with /usr/include/sys/unistd.h:238:6: error: previous declaration ‘int gethostname(char*, size_t)’ here Can that get fixed? Thank you, -- Bernd -- 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