Hi Valerio,

On Tue, Jan 22, 2008 at 01:01:10PM -0500, Valerio Luccio wrote:
> Martin Michlmayr wrote:
>> Package: dicomnifti
>> Version: 2.28.10-2
>> Usertags: ftbfs-gcc-4.3
>>
>> Your package fails to build with GCC 4.3.  Version 4.3 has not been
>> released yet but I'm building with a snapshot in order to find errors
>> and give people an advance warning.  In GCC 4.3, the C++ header
>> dependencies have been cleaned up.  The advantage of this is that
>> programs will compile faster.  The downside is that you actually
>> need to directly #include everything you use (but you really should
>> do this anyway, otherwise your program won't work with any compiler
>> other than GCC).  There's some more information about this at
>> http://gcc.gnu.org/gcc-4.3/porting_to.html
>>
>> You can reproduce this problem with gcc-4.3 or gcc-snapshot from
>> unstable.

<snip>

> The file dicominfo.cc explicitly sets "using namespace std", which includes 
> all of the above functions, such as 'stncmp'. Does this mean that in 4.3 
> you can no longer do that ? Do I have to set "using std:strcmp", etc. ?
No, that is still valid, but the file is missing (at least)

        #include <cstring>

http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

Cheers,

Michael

-- 
GPG key:  1024D/3144BE0F Michael Hanke
http://apsy.gse.uni-magdeburg.de/hanke
ICQ: 48230050



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to