Re: np-distd.C and MysqlTable.C

Michael Baer <[email protected]> Mon, 28 Jul 2003 09:27:17 -0700
Newsgroups gmane.network.net-policy.user
Organization OpenSNMP/Net-SNMP
Message-ID <[email protected]>
>>>>> "Ramon" == Ramon Tarruella <[email protected]> writes:

    Ramon> Hi i'am receiving an error message when running make for
    Ramon> the files np-distd.C and MysqlTable.C :

    Ramon> /usr/include/c++/3.2.2/backward/backward_warning.h:32:2:
    Ramon> aviso: #warning This file includes at least one deprecated
    Ramon> or antiquated header. Please consider using one of the 32
    Ramon> headers found in section 17.4.1.2 of the C++ standard.
    Ramon> Examples include substituting the <X> header for the <X.h>
    Ramon> header for C++ includes, or <sstream> instead of the
    Ramon> deprecated header <strstream.h>. To disable this warning
    Ramon> use -Wno-deprecated.

    Ramon> If anybody can help me on this I will aprecciate it,

Hi Ramon,

This warning message shouldn't be a problem for running the
program. If np-distd is not compliling, the cause is a later or
earlier error. (sometimes the compiler will stop on warnings, but I
don't think that is the default for g++ 3.2.2). Send the full error
message from compiling and we may be able to find the problem better.

This should also be fixed in the near future, at least in CVS. I've
recently fixed similar problems in the CVS version of OpenSNMP. This
is related to getting the code working in gcc 3.x.

There are some major changes to np-distd on the way (we will be
starting to use ODBC for DB access for one). I was planning on
catching things like this when I start tackling the new changes
(probably start new changes in np-distd this week or next).

Mike

-- 
[email protected]
OpenSNMP/NetSNMP


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01