Summary: | sys-block/partimage-0.6.7 won't emerge with gcc 4.3.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Billy DeVincentis <billydv1> |
Component: | Current packages | Assignee: | Christian Zoffoli (RETIRED) <xmerlin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system, bugs, Manfred.Knick |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 198121 |
Description
Billy DeVincentis
2008-06-15 15:44:54 UTC
(In reply to comment #0) This code snippet below is why partimage will not emerge with g++ 4.3.1. There is no such file as iostream.h in the 4.3.* branch of the gcc suite. It was included in previous versions of the gcc suite. This probably should be filed with http://gcc.gnu.org In file included from net.cpp:22: net.h:31:22: error: iostream.h: No such file or directory (In reply to comment #1) > (In reply to comment #0) > This code snippet below is why partimage will not emerge with g++ 4.3.1. There > is no such file as iostream.h in the 4.3.* branch of the gcc suite. It was > included in previous versions of the gcc suite. This probably should be filed > with http://gcc.gnu.org > > In file included from net.cpp:22: > net.h:31:22: error: iostream.h: No such file or directory I have found that if you have an older copy of gcc on your system, or can emerge one, and copy the 'iostream.h' file from the directory there to the appropriate directory in gcc-4.3.1, partimage will build just fine. (Just use your favorite find utility to find that file, and make sure to copy it to the same directory structure in gcc-4.3.1 as in the older one). Partimage is not broken on my system but I think we need to try to fix this so that new users that need to emerge this with gcc 4.3.1 will be able to and I'm not sure that manual additions to the gcc folders are the answer. I think I need to bug the guys at partimage. (In reply to comment #3) > Partimage is not broken on my system but I think we need to try to fix this so > that new users that need to emerge this with gcc 4.3.1 will be able to and I'm > not sure that manual additions to the gcc folders are the answer. I think I > need to bug the guys at partimage. I was thinking more along the lines of a patch to gcc-4.3.1 to add iostream.h to the correct directory, because I am sure other packages use it. Remember, gcc-4.3.1 and glibc-2.8 are both testing versions, so issues like this are going to arise. If I wasn't so bust with other things, I might have done a patch myself. *** Bug 229261 has been marked as a duplicate of this bug. *** (In reply to comment #1) > (In reply to comment #0) > This code snippet below is why partimage will not emerge with g++ 4.3.1. There > is no such file as iostream.h in the 4.3.* branch of the gcc suite. It was > included in previous versions of the gcc suite. This probably should be filed > with http://gcc.gnu.org > > In file included from net.cpp:22: > net.h:31:22: error: iostream.h: No such file or directory > http://gcc.gnu.org/gcc-4.3/porting_to.html exlicitly recommends: The table below shows some of the missing items, and the header file that will have to be added as an #include for the compile to succeed. ... Removal of Pre-ISO headers Various backwards and deprecated headers have been removed. If missing Then include this header ... <iostream.h> <iostream> Christian, to me, this bug BLOCKS 198121. This has nothing to do with glibc 2.8. My Bug 229261 (_without_ wrong hint to glibc) has been closed, the blocking dependancy has been removed without taking it here. Please, mark this blocking and adjust the misleading summary by deleting the last part "and glibc 2.8" . Thanks in advance. iostream is a C++ header. The proper way to use and reference C++ headers is: #include <iostream> and not #include <iostream.h> Versions of gcc prior to the 4.3 series had the following message when you included iostream.h: This file includes at least one deprecated or antiquated header. \ Please consider using one of the 32 headers found in section 17.4.1.2 of the \ C++ standard. Examples include substituting the <X> header for the <X.h> \ header for C++ includes, or <iostream> instead of the deprecated header \ <iostream.h>. To disable this warning use -Wno-deprecated. As of gcc 4.3, they held true. *** Bug 229261 has been marked as a duplicate of this bug. *** Fixed. |