From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27065 invoked by alias); 20 Mar 2002 18:16:18 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 26956 invoked by uid 71); 20 Mar 2002 18:16:14 -0000 Resent-Date: 20 Mar 2002 18:16:12 -0000 Resent-Message-ID: <20020320181612.26953.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, mfbrown1@students.uiuc.edu Received:(qmail 26088 invoked by uid 61); 20 Mar 2002 18:14:39 -0000 Message-Id:<20020320181439.26086.qmail@sources.redhat.com> Date: Wed, 20 Mar 2002 10:16:00 -0000 From: mfbrown1@students.uiuc.edu Reply-To: mfbrown1@students.uiuc.edu To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: preprocessor/6020: _FILE_OFFSET_BITS token error on HPUX 11.0 X-SW-Source: 2002-03/txt/msg00763.txt.bz2 List-Id: >Number: 6020 >Category: preprocessor >Synopsis: _FILE_OFFSET_BITS token error on HPUX 11.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Mar 20 10:16:09 PST 2002 >Closed-Date: >Last-Modified: >Originator: Michael Brown >Release: 3.0.4 >Organization: >Environment: hpux 11.0 hppa2.0w-hp-hpux11.00 >Description: g++ has problems with system headers on HPUX when trying to compile code where _FILE_OFFSET_BITS has been defined. Compiler exits with errors. >How-To-Repeat: g++ hello.C >Fix: do not use "#define _FILE_OFFSET_BITS 64" define statement. >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/plain; name="hello.C" Content-Disposition: inline; filename="hello.C" #define _FILE_OFFSET_BITS 64 #include int main() { cout << "Hello, World!" << endl; return 0; }