oprofile configure?

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

 



Title: oprofile configure?

Hi,

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.

thx,

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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux