bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling DDD on HPUX experiences


From: Kurt Fitzner
Subject: Compiling DDD on HPUX experiences
Date: Thu, 22 Aug 2002 23:56:59 -0600 (MDT)

Hello,

I have recently compiled DDD on HPUX.  I ran into several issues which I'll
outline:

First of all the build environment was an HP B132L workstation (PA-Risc 1.1
CPU) running HPUX 11.0 (Match patch bundle) with GNU GCC v3.1.1 & 3.2 (compile
results identical with both GCC versions)

Compile Errors:
strclass.C: In function `std::istream& operator>>(std::istream&, string&)':
strclass.C:1443: invalid conversion from `int' to `std::_Ios_Iostate'
strclass.C:1443:   initializing argument 1 of `void std::basic_ios<_CharT, 
   _Traits>::clear(std::_Ios_Iostate) [with _CharT = char, _Traits = 
   std::char_traits<char>]'

I believe it incorrectly determined the HAVE_IOSTATE setting during
configuration.

In file included from logplayer.C:46:
/usr/local/include/g++-v3/backward/fstream.h:38: using declaration `streampos' 
   introduced ambiguous type `streampos'

Again, this seems to be a configuration issue around the HAVE_STREAMPOS
setting.

Warnings:
Under GCC 3.1 and 3.2 there were significant warnings of the type:
/usr/local/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning
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 <sstream> instead of the deprecated header <strstream.h>.
To disable this warning use -Wno-deprecated.
/usr/local/include/g++-v3/bits/stl_threads.h: In instantiation of
`__gthread_mutex_t std::_Swap_lock_struct<0>::_S_swap_lock':
/usr/local/include/g++-v3/bits/stl_threads.h:122:   instantiated from here
/usr/local/include/g++-v3/bits/stl_threads.h:115: warning: aggregate has a 
   partly bracketed initializer


I hope this helps.  If you have any questions or would like any additional
information, please let me know.

        Kurt Fitzner



-- 
    _/_/_/ _/ _/    _/_/_/ _/_/_/ _/     _/_/_/ _/_/_/ _/_/  kfitzner@
   _/      _/_/    _/     _/     _/     _/       _/   _/ _/  excelcia.org
  _/_/      _/    _/     _/_/   _/     _/       _/   _/_/_/
 _/        _/_/  _/     _/     _/     _/       _/   _/   _/  E-Dad
_/_/_/    _/ _/ _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/    _/  PGPid 0xF621EDAD





reply via email to

[Prev in Thread] Current Thread [Next in Thread]