diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2004-01-11 15:32:07 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2004-01-11 15:32:07 +0000 |
commit | 5b75a54ddfee188423807a395d9c9f903e633cb7 (patch) | |
tree | 3917f713be239795252d5b9047627e89e21ea114 /lang/icc/files/patch-include::c++::cstdio | |
parent | Update for the upcomming icc7 and icc (v8). (diff) |
Update to 8.0.055.p057.
As Intel uses it's own directory for ifc and icc, we don't conflict with
ifc anymore.
Because of ABI changes, you have to recompile C++ programs (don't forget
stlport-icc).
Note that this port is a _work in progress_:
- Icc allows to use an already installed libstdc++ from gcc, this doesn't
work yet on FreeBSD. Libstdc++ on 4.x is too old, so it's unlikely we
can add support for it. The headers of libstdc++ shipping with FreeBSD
5.2-CURRENT use GCCisms not (yet) supported by icc, the hardcoded search
path for them also doesn't fit for FreeBSD 5.2-CURRENT.
- We've incorporated parts (cxa) of the FreeBSD >= 502101 libc on < 502101
systems. It's tested on 4.x, but not on FreeBSD < 502101.
- Not all (new) options (including GCC compatibility) are thoroughly
tested.
When encountering problems please report to me first instead of directly
contacting Intel.
Ackknowledgements:
- Bradley T Hughes <bhughes@trolltech.com> for PR 59552, it resulted in
a modification of our libc (C++ DSO Object Destruction API) we
incorporate in the port on < 502101 systems.
- Marius Strobl <marius@alchemy.franken.de> for his help with the port
(e.g. ld.c, cxa).
Diffstat (limited to 'lang/icc/files/patch-include::c++::cstdio')
-rw-r--r-- | lang/icc/files/patch-include::c++::cstdio | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/lang/icc/files/patch-include::c++::cstdio b/lang/icc/files/patch-include::c++::cstdio new file mode 100644 index 000000000000..f91fc6c5d855 --- /dev/null +++ b/lang/icc/files/patch-include::c++::cstdio @@ -0,0 +1,61 @@ +--- include/c++/cstdio.orig Sat Dec 13 19:27:02 2003 ++++ include/c++/cstdio Sat Dec 13 19:28:46 2003 +@@ -13,36 +13,6 @@ + #include <stdio.h> + #endif /* _STD_USING */ + +- #if defined(__GLIBC__) /* compiler test */ +- +- #define _HAS_POINTER_CLIB 1 +- #define _RBEGIN _IO_read_base +- #define _RNEXT _IO_read_ptr +- #define _REND _IO_read_end +- #define _WBEGIN _IO_write_base +- #define _WNEXT _IO_write_ptr +- #define _WEND _IO_write_end +- #endif /* defined(__GLIBC__) */ +- +- #if !defined(__GLIBC__) /* compiler test */ +- +- #if defined(__MWERKS__) +- #define _IOBASE buffer +- #define _IOPTR buffer_ptr +- #define _IOCNT buffer_len +- +- #else /* elif defined(__sun) */ +- #define _IOBASE _base +- #define _IOPTR _ptr +- #define _IOCNT _cnt +- #endif /* defined(__MWERKS__) */ +- +- #endif /* !defined(__GLIBC__) etc. */ +- +- #ifndef _HAS_POINTER_CLIB +- #define _HAS_CONVENTIONAL_CLIB 1 +- #endif /* _HAS_POINTER_CLIB */ +- + #ifdef _GLOBAL_USING + _STD_BEGIN + using _CSTD size_t; using _CSTD fpos_t; using _CSTD FILE; +@@ -70,21 +40,6 @@ + _STD_END + #endif /* _GLOBAL_USING */ + +-#ifndef _Filet +- #define _Filet FILE +-#endif /* _Filet */ +- +-#ifndef _FPOSOFF +- +- #if defined(__GLIBC__) /* compiler test */ \ +- && !(__GLIBC__ < 2 || __GLIBC__ == 2 && __GLIBC_MINOR__ < 2) +- #define _FPOSOFF(fp) ((long)(fp).__pos) +- +- #else /* !defined(__GLIBC__) etc. */ +- #define _FPOSOFF(fp) ((long)(fp)) +- #endif /* !defined(__GLIBC__) etc. */ +- +-#endif /* _FPOSOFF */ + #endif /* _CSTDIO_ */ + + /* |