~ubuntu-branches/ubuntu/quantal/zeroc-ice/quantal

« back to all changes in this revision

Viewing changes to cpp/include/Ice/IconvStringConverter.h

  • Committer: Package Import Robot
  • Author(s): Michael Ziegler
  • Date: 2012-07-07 15:24:30 UTC
  • mfrom: (6.1.25 sid)
  • Revision ID: package-import@ubuntu.com-20120707152430-kktx4mfmywkz382j
Tags: 3.4.2-8.1
* Non-maintainer upload.
* Revert the patch 'fixing' the FTBFS with gcc-4.7 that breaks ABI, and
  add force_gcc_4.6.patch.  We need to do this all in the upstream makefile
  because it has a silly check for the intel icpc compiler that we need to
  patch around or the build will fail with anything but c++ as the compiler,
  and we can't just override CXX in /rules because the wonderful 3.0 (quilt)
  system will revert that patch before the clean target is run ensuring that
  hilarious fail is guaranteed.
  Closes: #672066

Show diffs side-by-side

added added

removed removed

Lines of Context:
225
225
template<typename charT> /*static*/ void
226
226
IconvStringConverter<charT>::close(std::pair<iconv_t, iconv_t> cdp)
227
227
{
228
 
#ifndef NDEBUG
229
 
    int rs = 
230
 
#endif
231
 
    iconv_close(cdp.first);
 
228
    int rs = iconv_close(cdp.first);
232
229
    assert(rs == 0);
233
230
 
234
 
#ifndef NDEBUG
235
 
    rs = 
236
 
#endif
237
 
    iconv_close(cdp.second);
 
231
    rs = iconv_close(cdp.second);
238
232
    assert(rs == 0);
239
233
}
240
234