From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18639 invoked by alias); 20 Dec 2007 00:07:11 -0000 Received: (qmail 15879 invoked by uid 48); 20 Dec 2007 00:06:59 -0000 Date: Thu, 20 Dec 2007 00:07:00 -0000 Message-ID: <20071220000659.15878.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/20366] AIX g++ -D_LARGE_FILES fails to compile #include In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tcoleman at autowares dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg01859.txt.bz2 ------- Comment #6 from tcoleman at autowares dot com 2007-12-20 00:06 ------- The test program will compile if you comment out the #undefs in cstdio. //#undef fgetpos //#undef fopen //#undef freopen //#undef fsetpos I've wrestled with this problem with G++ on AIX for years. In desparation I just had our admin load the IBM 4.0.0 RPMs - same problem! This is the second time this error has prevented me from porting a relatively simple application to AIX. This particular problem has gone on long enough. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20366