bug-commoncpp
[Top][All Lists]
Advanced

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

Another compiler warning


From: Byrial Jensen
Subject: Another compiler warning
Date: Thu, 13 May 2004 11:39:58 +0200

This copy constructor code from socket.h

  class __EXPORT tcpstream : public TCPStream
  {
  public:
          // copy constructor (fix a BUG in msvc7 compiler)
          tcpstream(const tcpstream &rhs):TCPStream(rhs) {};

gives this warning when compiled with GCC:

  /usr/local/commoncpp2-1.1.7/include/cc++2/cc++/socket.h:1698:
  warning: base class `struct std::basic_ios<char,
  std::char_traits<char> >' should be explicitly initialized
  in the copy constructor

Could this be fixed please?

Best regards,
Byrial Jensen




reply via email to

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