Ticket #6415: boost-asio.patch

File boost-asio.patch, 990 bytes (added by Petr Machata <pmachata@…>, 11 years ago)
  • boost/asio/buffers_iterator.hpp

    diff -urp boost_1_48_0~/boost/asio/buffers_iterator.hpp boost_1_48_0/boost/asio/buffers_iterator.hpp
    old new public:  
    128128  /// Construct an iterator representing the beginning of the buffers' data.
    129129  static buffers_iterator begin(const BufferSequence& buffers)
    130130#if BOOST_WORKAROUND(__GNUC__, == 4) && BOOST_WORKAROUND(__GNUC_MINOR__, == 3)
    131     __attribute__ ((noinline))
     131    __attribute__ ((__noinline__))
    132132#endif
    133133  {
    134134    buffers_iterator new_iter;
    public:  
    148148  /// Construct an iterator representing the end of the buffers' data.
    149149  static buffers_iterator end(const BufferSequence& buffers)
    150150#if BOOST_WORKAROUND(__GNUC__, == 4) && BOOST_WORKAROUND(__GNUC_MINOR__, == 3)
    151     __attribute__ ((noinline))
     151    __attribute__ ((__noinline__))
    152152#endif
    153153  {
    154154    buffers_iterator new_iter;