[Top] [All Lists]

oprofile configure?

To: <>
Subject: oprofile configure?
From: "Azer, William" <>
Date: Tue, 26 Sep 2006 10:34:12 -0400
Original-recipient: rfc822;
Thread-index: AcbheNVzisvHJh+ZQrC/gpAimQjepw==
Thread-topic: oprofile configure?


i have natively built oprofile for sb1 platform and i get a lot of warnings from the compiler.  i had to use --disable-werror in order to build.  has anyone encountered this?  am i doing something wrong?

i did compile, install and run.


Bill Azer

if g++ -DHAVE_CONFIG_H -I. -I. -I..  -I ../libutil -I ../libop  -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -MT op_exception.o -MD -MP -MF ".deps/op_exception.Tpo" -c -o op_exception.o op_exception.cpp; \
then mv -f ".deps/op_exception.Tpo" ".deps/op_exception.Po"; else rm -f ".deps/op_exception.Tpo"; exit 1; fi
/usr/lib32/gcc/mips64-montavista-linux/3.4.3/../../../../include/c++/3.4.3/bits/basic_string.h: In static member function `static std::basic_string<_CharT, _Traits, _Alloc>::_Rep& std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_empty_rep() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]':
/usr/lib32/gcc/mips64-montavista-linux/3.4.3/../../../../include/c++/3.4.3/bits/basic_string.h:215:   instantiated from `void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_dispose(const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
/usr/lib32/gcc/mips64-montavista-linux/3.4.3/../../../../include/c++/3.4.3/bits/basic_string.h:418:   instantiated from `std::basic_string<_CharT, _Traits, _Alloc>::~basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
op_exception.cpp:21:   instantiated from here
/usr/lib32/gcc/mips64-montavista-linux/3.4.3/../../../../include/c++/3.4.3/bits/basic_string.h:178: warning: dereferencing type-punned pointer will break strict-aliasing rules

<Prev in Thread] Current Thread [Next in Thread>