public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/2434: Compilation with large file support (solaris & aix)
@ 2001-03-30 1:56 pnobili
0 siblings, 0 replies; only message in thread
From: pnobili @ 2001-03-30 1:56 UTC (permalink / raw)
To: gcc-gnats
>Number: 2434
>Category: c++
>Synopsis: Compilation with large file support (solaris & aix)
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 30 01:56:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: pnobili@cgg.com
>Release: 2.95.2 / 2.95.3
>Organization:
>Environment:
sparc-sun-solaris2.7
powerpc-ibm-aix4.3.3.0
>Description:
When compiling C++ programs using the flags for 64-bits
filesystems and large files support on solaris and
aix, macros redefining I/O routines to their 64-bits
counter-part causes the compilation to fail.
>How-To-Repeat:
on solaris :
g++ `getconf LFS_CFLAGS` -c -I. DummyFile.C fails to
compile properly.
Error message:
DummyFile.C:25: no `void DummyFile::open64()' member function declared in class `DummyFile'
Same thing on AIX systems with compilation flags :
'-D_LARGE_FILES -D_LARGE_FILE_API'
>Fix:
Changes the order of includes in simple cases; no fixes
in realistically complex softwares.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="DummyFile.C"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="DummyFile.C"
Y2xhc3MgRHVtbXlGaWxlIHsKCiAgcHVibGljIDoKCiAgRHVtbXlGaWxlKCkgIDsKICB+RHVtbXlG
aWxlKCkgOwoKICB2b2lkIG9wZW4oKSA7Cgp9IDsKCiNpbmNsdWRlIDxzeXMvdHlwZXMuaD4KI2lu
Y2x1ZGUgPHN5cy9zdGF0Lmg+CiNpbmNsdWRlIDxmY250bC5oPgojaW5jbHVkZSA8dW5pc3RkLmg+
CgpEdW1teUZpbGU6OkR1bW15RmlsZSgpIHsKCn0KCkR1bW15RmlsZTo6fkR1bW15RmlsZSgpIHsK
Cn0KCnZvaWQgRHVtbXlGaWxlOjpvcGVuKCkgewoKICAgaW50IGZpZCA9IDo6b3Blbigibm9uX2V4
aXN0aW5nX2ZpbGUiLE9fUkRPTkxZLDApIDsKICAgaWYoIGZpZCAhPSAtMSApIHsKICAgICAgOjpj
bG9zZShmaWQpIDsKICAgfQp9Cg==
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-03-30 1:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-30 1:56 c++/2434: Compilation with large file support (solaris & aix) pnobili
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).