Skip to content

Instantly share code, notes, and snippets.

@ashgti
Created May 10, 2012 18:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashgti/2654992 to your computer and use it in GitHub Desktop.
Save ashgti/2654992 to your computer and use it in GitHub Desktop.
cc1plus: warning: -Wuninitialized is not supported without -O
In file included from /Users/harjohn/Projects/serial/src/serial.cc:4:
/Users/harjohn/Projects/serial/include/serial/serial.h:610: warning: ‘class serial::SerialExecption’ has pointer data members
/Users/harjohn/Projects/serial/include/serial/serial.h:610: warning: but does not override ‘serial::SerialExecption(const serial::SerialExecption&)’
/Users/harjohn/Projects/serial/include/serial/serial.h:610: warning: or ‘operator=(const serial::SerialExecption&)’
/Users/harjohn/Projects/serial/include/serial/serial.h:624: warning: ‘class serial::IOException’ has pointer data members
/Users/harjohn/Projects/serial/include/serial/serial.h:624: warning: but does not override ‘serial::IOException(const serial::IOException&)’
/Users/harjohn/Projects/serial/include/serial/serial.h:624: warning: or ‘operator=(const serial::IOException&)’
/Users/harjohn/Projects/serial/include/serial/serial.h:651: warning: ‘class serial::PortNotOpenedException’ has pointer data members
/Users/harjohn/Projects/serial/include/serial/serial.h:651: warning: but does not override ‘serial::PortNotOpenedException(const serial::PortNotOpenedException&)’
/Users/harjohn/Projects/serial/include/serial/serial.h:651: warning: or ‘operator=(const serial::PortNotOpenedException&)’
/Users/harjohn/Projects/serial/src/serial.cc:27: warning: ‘class serial::Serial::ScopedReadLock’ has pointer data members
/Users/harjohn/Projects/serial/src/serial.cc:27: warning: but does not override ‘serial::Serial::ScopedReadLock(const serial::Serial::ScopedReadLock&)’
/Users/harjohn/Projects/serial/src/serial.cc:27: warning: or ‘operator=(const serial::Serial::ScopedReadLock&)’
/Users/harjohn/Projects/serial/src/serial.cc:39: warning: ‘class serial::Serial::ScopedWriteLock’ has pointer data members
/Users/harjohn/Projects/serial/src/serial.cc:39: warning: but does not override ‘serial::Serial::ScopedWriteLock(const serial::Serial::ScopedWriteLock&)’
/Users/harjohn/Projects/serial/src/serial.cc:39: warning: or ‘operator=(const serial::Serial::ScopedWriteLock&)’
/Users/harjohn/Projects/serial/src/serial.cc: In constructor ‘serial::Serial::Serial(const std::string&, long unsigned int, serial::Timeout, serial::bytesize_t, serial::parity_t, serial::stopbits_t, serial::flowcontrol_t)’:
/Users/harjohn/Projects/serial/src/serial.cc:53: warning: ‘serial::Serial::pimpl_’ should be initialized in the member initialization list
/usr/include/c++/4.2.1/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator() [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
/usr/include/c++/4.2.1/bits/allocator.h:100: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h:100: warning: will never be executed
/usr/include/c++/4.2.1/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
/usr/include/c++/4.2.1/ext/new_allocator.h:68: warning: will never be executed
/usr/include/c++/4.2.1/bits/stl_vector.h: In constructor ‘std::vector<_Tp, _Alloc>::vector(const _Alloc&) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]’:
/usr/include/c++/4.2.1/bits/stl_vector.h:203: warning: will never be executed
/usr/include/c++/4.2.1/bits/stl_vector.h: In constructor ‘std::_Vector_base<_Tp, _Alloc>::_Vector_base(const _Alloc&) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]’:
/usr/include/c++/4.2.1/bits/stl_vector.h:109: warning: will never be executed
/usr/include/c++/4.2.1/bits/stl_vector.h: In constructor ‘std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl(const typename _Alloc::rebind<_Tp>::other&) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]’:
/usr/include/c++/4.2.1/bits/stl_vector.h:89: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
/usr/include/c++/4.2.1/bits/allocator.h:103: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h:102: warning: will never be executed
/usr/include/c++/4.2.1/ext/new_allocator.h: In copy constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator(const __gnu_cxx::new_allocator<_Tp>&) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
/usr/include/c++/4.2.1/ext/new_allocator.h:70: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h: In destructor ‘std::allocator<_Alloc>::~allocator() [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
/usr/include/c++/4.2.1/bits/allocator.h:108: warning: will never be executed
/usr/include/c++/4.2.1/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
/usr/include/c++/4.2.1/ext/new_allocator.h:75: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator() [with _Tp = char]’:
/usr/include/c++/4.2.1/bits/allocator.h:100: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h:100: warning: will never be executed
/usr/include/c++/4.2.1/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = char]’:
/usr/include/c++/4.2.1/ext/new_allocator.h:68: warning: will never be executed
/usr/include/c++/4.2.1/new: In function ‘void* operator new(size_t, void*)’:
/usr/include/c++/4.2.1/new:105: warning: will never be executed
/usr/include/c++/4.2.1/new: In function ‘void operator delete(void*, void*)’:
/usr/include/c++/4.2.1/new:109: warning: will never be executed
/usr/include/c++/4.2.1/ext/new_allocator.h: In member function ‘size_t __gnu_cxx::new_allocator<_Tp>::max_size() const [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
/usr/include/c++/4.2.1/ext/new_allocator.h:100: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
/usr/include/c++/4.2.1/bits/allocator.h:103: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h:102: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = char]’:
/usr/include/c++/4.2.1/bits/allocator.h:103: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h:102: warning: will never be executed
/usr/include/c++/4.2.1/ext/new_allocator.h: In copy constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator(const __gnu_cxx::new_allocator<_Tp>&) [with _Tp = char]’:
/usr/include/c++/4.2.1/ext/new_allocator.h:70: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h: In destructor ‘std::allocator<_Alloc>::~allocator() [with _Tp = char]’:
/usr/include/c++/4.2.1/bits/allocator.h:108: warning: will never be executed
/usr/include/c++/4.2.1/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = char]’:
/usr/include/c++/4.2.1/ext/new_allocator.h:75: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h: In destructor ‘std::allocator<_Alloc>::~allocator() [with _Tp = char]’:
/usr/include/c++/4.2.1/bits/allocator.h:108: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h: In destructor ‘std::allocator<_Alloc>::~allocator() [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
/usr/include/c++/4.2.1/bits/allocator.h:108: warning: will never be executed
/usr/include/c++/4.2.1/bits/basic_string.h: In constructor ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.2.1/bits/basic_string.h:2067: warning: will never be executed
/usr/include/c++/4.2.1/bits/basic_string.h: In member function ‘_CharT* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_refdata() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.2.1/bits/basic_string.h:216: warning: will never be executed
/usr/include/c++/4.2.1/bits/basic_string.h: In constructor ‘std::basic_string<_CharT, _Traits, _Alloc>::_Alloc_hider::_Alloc_hider(_CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.2.1/bits/basic_string.h:262: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = char]’:
/usr/include/c++/4.2.1/bits/allocator.h:103: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h:102: warning: will never be executed
/usr/include/c++/4.2.1/ext/new_allocator.h: In member function ‘size_t __gnu_cxx::new_allocator<_Tp>::max_size() const [with _Tp = unsigned char]’:
/usr/include/c++/4.2.1/ext/new_allocator.h:100: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = unsigned char]’:
/usr/include/c++/4.2.1/bits/allocator.h:103: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h:102: warning: will never be executed
/usr/include/c++/4.2.1/ext/new_allocator.h: In copy constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator(const __gnu_cxx::new_allocator<_Tp>&) [with _Tp = unsigned char]’:
/usr/include/c++/4.2.1/ext/new_allocator.h:70: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h: In destructor ‘std::allocator<_Alloc>::~allocator() [with _Tp = unsigned char]’:
/usr/include/c++/4.2.1/bits/allocator.h:108: warning: will never be executed
/usr/include/c++/4.2.1/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = unsigned char]’:
/usr/include/c++/4.2.1/ext/new_allocator.h:75: warning: will never be executed
/usr/include/c++/4.2.1/bits/stl_vector.h: In member function ‘__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> > std::vector<_Tp, _Alloc>::end() [with _Tp = unsigned char, _Alloc = std::allocator<unsigned char>]’:
/usr/include/c++/4.2.1/bits/stl_vector.h:348: warning: function returns an aggregate
/usr/include/c++/4.2.1/bits/stl_vector.h: In member function ‘__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> > std::vector<_Tp, _Alloc>::end() [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]’:
/usr/include/c++/4.2.1/bits/stl_vector.h:348: warning: function returns an aggregate
/usr/include/c++/4.2.1/bits/stl_iterator_base_types.h: In function ‘typename std::iterator_traits<_Iterator>::iterator_category std::__iterator_category(const _Iter&) [with _Iter = unsigned char*]’:
/usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:164: warning: function returns an aggregate
/Users/harjohn/Projects/serial/src/serial.cc: In member function ‘serial::Timeout serial::Serial::getTimeout() const’:
/Users/harjohn/Projects/serial/src/serial.cc:240: warning: function returns an aggregate
/usr/include/c++/4.2.1/bits/stl_algobase.h: In static member function ‘static _OI std::__copy_normal<false, true>::__copy_n(_II, _II, _OI) [with _II = unsigned char*, _OI = __gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char, std::allocator<unsigned char> > >]’:
/usr/include/c++/4.2.1/bits/stl_algobase.h:357: warning: function returns an aggregate
/usr/include/c++/4.2.1/bits/stl_algobase.h: In function ‘_OutputIterator std::copy(_InputIterator, _InputIterator, _OutputIterator) [with _InputIterator = unsigned char*, _OutputIterator = __gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char, std::allocator<unsigned char> > >]’:
/usr/include/c++/4.2.1/bits/stl_algobase.h:390: warning: function returns an aggregate
cc1plus: warning: -Wuninitialized is not supported without -O
In file included from /Users/harjohn/Projects/serial/include/serial/impl/unix.h:41,
from /Users/harjohn/Projects/serial/src/impl/unix.cc:29:
/Users/harjohn/Projects/serial/include/serial/serial.h:610: warning: ‘class serial::SerialExecption’ has pointer data members
/Users/harjohn/Projects/serial/include/serial/serial.h:610: warning: but does not override ‘serial::SerialExecption(const serial::SerialExecption&)’
/Users/harjohn/Projects/serial/include/serial/serial.h:610: warning: or ‘operator=(const serial::SerialExecption&)’
/Users/harjohn/Projects/serial/include/serial/serial.h:624: warning: ‘class serial::IOException’ has pointer data members
/Users/harjohn/Projects/serial/include/serial/serial.h:624: warning: but does not override ‘serial::IOException(const serial::IOException&)’
/Users/harjohn/Projects/serial/include/serial/serial.h:624: warning: or ‘operator=(const serial::IOException&)’
/Users/harjohn/Projects/serial/include/serial/serial.h:651: warning: ‘class serial::PortNotOpenedException’ has pointer data members
/Users/harjohn/Projects/serial/include/serial/serial.h:651: warning: but does not override ‘serial::PortNotOpenedException(const serial::PortNotOpenedException&)’
/Users/harjohn/Projects/serial/include/serial/serial.h:651: warning: or ‘operator=(const serial::PortNotOpenedException&)’
/Users/harjohn/Projects/serial/src/impl/unix.cc: In constructor ‘serial::Serial::SerialImpl::SerialImpl(const std::string&, long unsigned int, serial::bytesize_t, serial::parity_t, serial::stopbits_t, serial::flowcontrol_t)’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:51: warning: ‘serial::Serial::SerialImpl::timeout_’ should be initialized in the member initialization list
/Users/harjohn/Projects/serial/src/impl/unix.cc:51: warning: ‘serial::Serial::SerialImpl::read_mutex’ should be initialized in the member initialization list
/Users/harjohn/Projects/serial/src/impl/unix.cc:51: warning: ‘serial::Serial::SerialImpl::write_mutex’ should be initialized in the member initialization list
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘void serial::Serial::SerialImpl::writeUnlock()’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:765: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator() [with _Tp = char]’:
/usr/include/c++/4.2.1/bits/allocator.h:100: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h:100: warning: will never be executed
/usr/include/c++/4.2.1/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = char]’:
/usr/include/c++/4.2.1/ext/new_allocator.h:68: warning: will never be executed
/usr/include/c++/4.2.1/sstream: In constructor ‘std::basic_stringstream<_CharT, _Traits, _Alloc>::basic_stringstream(std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.2.1/sstream:529: warning: will never be executed
/usr/include/c++/4.2.1/sstream:529: warning: will never be executed
/usr/include/c++/4.2.1/sstream:529: warning: will never be executed
/usr/include/c++/4.2.1/sstream:529: warning: will never be executed
/usr/include/c++/4.2.1/sstream:529: warning: will never be executed
/usr/include/c++/4.2.1/sstream:530: warning: will never be executed
/usr/include/c++/4.2.1/sstream:530: warning: will never be executed
/usr/include/c++/4.2.1/bits/basic_ios.h: In constructor ‘std::basic_ios<_CharT, _Traits>::basic_ios() [with _CharT = char, _Traits = std::char_traits<char>]’:
/usr/include/c++/4.2.1/bits/basic_ios.h:447: warning: will never be executed
/usr/include/c++/4.2.1/istream: In constructor ‘std::basic_iostream<_CharT, _Traits>::basic_iostream() [with _CharT = char, _Traits = std::char_traits<char>]’:
/usr/include/c++/4.2.1/istream:813: warning: will never be executed
/usr/include/c++/4.2.1/istream:813: warning: will never be executed
/usr/include/c++/4.2.1/istream:813: warning: will never be executed
/usr/include/c++/4.2.1/istream:813: warning: will never be executed
/usr/include/c++/4.2.1/istream:813: warning: will never be executed
/usr/include/c++/4.2.1/istream:813: warning: will never be executed
/usr/include/c++/4.2.1/istream:813: warning: will never be executed
/usr/include/c++/4.2.1/istream:814: warning: will never be executed
/usr/include/c++/4.2.1/istream:814: warning: will never be executed
/usr/include/c++/4.2.1/istream:814: warning: will never be executed
/usr/include/c++/4.2.1/istream: In constructor ‘std::basic_istream<_CharT, _Traits>::basic_istream() [with _CharT = char, _Traits = std::char_traits<char>]’:
/usr/include/c++/4.2.1/istream:594: warning: will never be executed
/usr/include/c++/4.2.1/istream:594: warning: will never be executed
/usr/include/c++/4.2.1/istream:594: warning: will never be executed
/usr/include/c++/4.2.1/istream:594: warning: will never be executed
/usr/include/c++/4.2.1/istream:594: warning: will never be executed
/usr/include/c++/4.2.1/ostream: In constructor ‘std::basic_ostream<_CharT, _Traits>::basic_ostream() [with _CharT = char, _Traits = std::char_traits<char>]’:
/usr/include/c++/4.2.1/ostream:366: warning: will never be executed
/usr/include/c++/4.2.1/ostream:366: warning: will never be executed
/usr/include/c++/4.2.1/ostream:366: warning: will never be executed
/usr/include/c++/4.2.1/ostream:366: warning: will never be executed
/usr/include/c++/4.2.1/ostream:366: warning: will never be executed
/usr/include/c++/4.2.1/istream: In destructor ‘std::basic_istream<_CharT, _Traits>::~basic_istream() [with _CharT = char, _Traits = std::char_traits<char>]’:
/usr/include/c++/4.2.1/istream:114: warning: will never be executed
/usr/include/c++/4.2.1/istream:114: warning: will never be executed
/usr/include/c++/4.2.1/istream:114: warning: will never be executed
/usr/include/c++/4.2.1/sstream: In constructor ‘std::basic_stringbuf<_CharT, _Traits, _Alloc>::basic_stringbuf(std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.2.1/sstream:102: warning: will never be executed
/usr/include/c++/4.2.1/streambuf: In constructor ‘std::basic_streambuf<_CharT, _Traits>::basic_streambuf() [with _CharT = char, _Traits = std::char_traits<char>]’:
/usr/include/c++/4.2.1/streambuf:463: warning: will never be executed
/usr/include/c++/4.2.1/bits/basic_string.h: In constructor ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.2.1/bits/basic_string.h:2067: warning: will never be executed
/usr/include/c++/4.2.1/bits/basic_string.h: In member function ‘_CharT* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_refdata() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.2.1/bits/basic_string.h:216: warning: will never be executed
/usr/include/c++/4.2.1/bits/basic_string.h: In constructor ‘std::basic_string<_CharT, _Traits, _Alloc>::_Alloc_hider::_Alloc_hider(_CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.2.1/bits/basic_string.h:262: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = char]’:
/usr/include/c++/4.2.1/bits/allocator.h:103: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h:102: warning: will never be executed
/usr/include/c++/4.2.1/ext/new_allocator.h: In copy constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator(const __gnu_cxx::new_allocator<_Tp>&) [with _Tp = char]’:
/usr/include/c++/4.2.1/ext/new_allocator.h:70: warning: will never be executed
/usr/include/c++/4.2.1/istream: In destructor ‘std::basic_iostream<_CharT, _Traits>::~basic_iostream() [with _CharT = char, _Traits = std::char_traits<char>]’:
/usr/include/c++/4.2.1/istream:809: warning: will never be executed
/usr/include/c++/4.2.1/istream:809: warning: will never be executed
/usr/include/c++/4.2.1/istream:809: warning: will never be executed
/usr/include/c++/4.2.1/istream:809: warning: will never be executed
/usr/include/c++/4.2.1/istream:809: warning: will never be executed
/usr/include/c++/4.2.1/istream:809: warning: will never be executed
/usr/include/c++/4.2.1/ostream: In destructor ‘std::basic_ostream<_CharT, _Traits>::~basic_ostream() [with _CharT = char, _Traits = std::char_traits<char>]’:
/usr/include/c++/4.2.1/ostream:95: warning: will never be executed
/usr/include/c++/4.2.1/ostream:95: warning: will never be executed
/usr/include/c++/4.2.1/ostream:95: warning: will never be executed
/usr/include/c++/4.2.1/bits/basic_string.tcc: In constructor ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = char*, _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.2.1/bits/basic_string.tcc:243: warning: will never be executed
/usr/include/c++/4.2.1/sstream: In destructor ‘std::basic_stringstream<_CharT, _Traits, _Alloc>::~basic_stringstream() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.2.1/sstream:558: warning: will never be executed
/usr/include/c++/4.2.1/sstream:558: warning: will never be executed
/usr/include/c++/4.2.1/sstream:558: warning: will never be executed
/usr/include/c++/4.2.1/sstream:558: warning: will never be executed
/usr/include/c++/4.2.1/sstream:558: warning: will never be executed
/usr/include/c++/4.2.1/exception: In constructor ‘std::exception::exception()’:
/usr/include/c++/4.2.1/exception:59: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = char]’:
/usr/include/c++/4.2.1/bits/allocator.h:103: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h:102: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h: In destructor ‘std::allocator<_Alloc>::~allocator() [with _Tp = char]’:
/usr/include/c++/4.2.1/bits/allocator.h:108: warning: will never be executed
/usr/include/c++/4.2.1/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = char]’:
/usr/include/c++/4.2.1/ext/new_allocator.h:75: warning: will never be executed
/usr/include/c++/4.2.1/bits/allocator.h: In destructor ‘std::allocator<_Alloc>::~allocator() [with _Tp = char]’:
/usr/include/c++/4.2.1/bits/allocator.h:108: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘void serial::Serial::SerialImpl::writeLock()’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:756: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘void serial::Serial::SerialImpl::readUnlock()’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:747: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘void serial::Serial::SerialImpl::readLock()’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:738: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘bool serial::Serial::SerialImpl::getCD()’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:727: warning: will never be executed
/Users/harjohn/Projects/serial/include/serial/serial.h: In constructor ‘serial::PortNotOpenedException::PortNotOpenedException(const char*)’:
/Users/harjohn/Projects/serial/include/serial/serial.h:654: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘bool serial::Serial::SerialImpl::getRI()’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:717: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘bool serial::Serial::SerialImpl::getDSR()’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:707: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘bool serial::Serial::SerialImpl::getCTS()’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:697: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘void serial::Serial::SerialImpl::setDTR(bool)’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:659: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘void serial::Serial::SerialImpl::setRTS(bool)’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:646: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘void serial::Serial::SerialImpl::setBreak(bool)’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:633: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘void serial::Serial::SerialImpl::sendBreak(int)’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:624: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘void serial::Serial::SerialImpl::flushOutput()’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:615: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘void serial::Serial::SerialImpl::flushInput()’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:606: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘void serial::Serial::SerialImpl::flush()’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:597: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘size_t serial::Serial::SerialImpl::write(const std::string&)’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:494: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘size_t serial::Serial::SerialImpl::read(unsigned char*, size_t)’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:376: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc:442: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc:463: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc:479: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc:483: warning: will never be executed
/Users/harjohn/Projects/serial/include/serial/serial.h: In constructor ‘serial::SerialExecption::SerialExecption(const char*)’:
/Users/harjohn/Projects/serial/include/serial/serial.h:613: warning: will never be executed
/Users/harjohn/Projects/serial/include/serial/serial.h: In constructor ‘serial::IOException::IOException(std::string, int, const char*)’:
/Users/harjohn/Projects/serial/include/serial/serial.h:633: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘size_t serial::Serial::SerialImpl::available()’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:352: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘void serial::Serial::SerialImpl::reconfigurePort()’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:104: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc:110: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc:222: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc:261: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc:271: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc:282: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘void serial::Serial::SerialImpl::open()’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:73: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc:76: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc:89: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc:91: warning: will never be executed
/Users/harjohn/Projects/serial/src/impl/unix.cc: In member function ‘serial::Timeout serial::Serial::SerialImpl::getTimeout() const’:
/Users/harjohn/Projects/serial/src/impl/unix.cc:518: warning: function returns an aggregate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment