Return-Path: Delivered-To: apmail-apache-bugdb-archive@apache.org Received: (qmail 32795 invoked by uid 500); 11 Mar 2001 21:50:01 -0000 Mailing-List: contact apache-bugdb-help@apache.org; run by ezmlm Precedence: bulk Reply-To: apache-bugdb@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-bugdb@apache.org Received: (qmail 32775 invoked by uid 501); 11 Mar 2001 21:50:00 -0000 Resent-Date: 11 Mar 2001 21:50:00 -0000 Resent-Message-ID: <20010311215000.32774.qmail@apache.org> Resent-From: submit@bugz.apache.org (GNATS Filer) Resent-To: apache-bugdb@apache.org Resent-Cc: apache-bugdb@apache.org Resent-Reply-To: submit@bugz.apache.org, info.jelmar@telia.com Received: (qmail 27672 invoked by uid 501); 11 Mar 2001 21:43:48 -0000 Message-Id: <20010311214348.27671.qmail@apache.org> Date: 11 Mar 2001 21:43:48 -0000 From: Jerker "B�ck" Reply-To: info.jelmar@telia.com To: submit@bugz.apache.org X-Send-Pr-Version: 3.110 Subject: os-windows/7387: winsock.h is included in service.c >Number: 7387 >Category: os-windows >Synopsis: winsock.h is included in service.c >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: apache >Arrival-Date: Sun Mar 11 13:50:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: info.jelmar@telia.com >Release: 2.014 >Organization: apache >Environment: WinNT4 sp6 with VC++7 (beta1) >Description: winsock.h is included by windows.h before we include winsock2.h -> fatal compile error. Another thing (not a bug): some headers do not have the #ifdef __cplusplus extern "C" { #endif which leads to unresolved external error in C++ - code. Please, put them in! Ex: mpm_winnt.h >How-To-Repeat: compile service.c in VC++ >Fix: #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #ifdef __cplusplus extern "C" { #endif ......... #ifdef __cplusplus } #endif >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]