[Ns-developers] OSX PPC build problem
Mathieu Lacage
mathieu.lacage at sophia.inria.fr
Wed Dec 2 00:04:21 PST 2009
Your compiler does not support -Wno-deprecated: we need appropriate
#ifdefs in src/core/deprecated.h to define the NS_DEPRECATED macro to
nothing if the compiler does not support this flag. Patches to do so are
pre-approved.
Mathieu
On Tue, 2009-12-01 at 17:43 +0100, Mirko Banchi wrote:
> Hi all,
>
> trying to build ns-3-dev with gcc 4.0.1 on a PPC machine a warning
> about old PeekData occurs:
>
> [412/933] cxx: src/common/packet.cc -> build/debug/src/common/packet_1.o
> cc1plus: warnings being treated as errors
> ../src/common/packet.cc: In member function ‘virtual bool
> ns3::PacketTest::DoRun()’:
> ../src/common/packet.cc:929: warning: ‘PeekData’ is deprecated
> (declared at ../src/common/packet.cc:338)
> ../src/common/packet.cc:1089: warning: ‘PeekData’ is deprecated
> (declared at ../src/common/packet.cc:338)
>
> Thank you all
>
> Mirko
>
>
>
More information about the Ns-developers
mailing list