[ 
https://issues.apache.org/jira/browse/QPID-2462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Neil Wilson updated QPID-2462:
------------------------------

    Attachment: unused_result_patches

Patch for unused results.

> Ignored return value in various files
> -------------------------------------
>
>                 Key: QPID-2462
>                 URL: https://issues.apache.org/jira/browse/QPID-2462
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.6
>         Environment: Ubuntu - Lucid 
> gcc -v
> Using built-in specs.
> Target: x86_64-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Ubuntu 
> 4.4.3-3ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs 
> --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared 
> --enable-multiarch --enable-linker-build-id --with-system-zlib 
> --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
> --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 
> --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin 
> --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic 
> --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu 
> --target=x86_64-linux-gnu
> Thread model: posix
> gcc version 4.4.3 (Ubuntu 4.4.3-3ubuntu3) 
>            Reporter: Neil Wilson
>         Attachments: unused_result_patches
>
>
> cc1plus: warnings being treated as errors
> qrsh_server.cpp: In member function 'void 
> qpid::tests::QrshServer::getNames()':
> qrsh_server.cpp:489: error: ignoring return value of 'int fscanf(FILE*, const 
> char*, ...)', declared with attribute warn_unused_result
> qrsh_server.cpp: In member function 'void 
> qpid::tests::QrshServer::execute(const qpid::client::Message&)':
> qrsh_server.cpp:590: error: ignoring return value of 'int system(const 
> char*)', declared with attribute warn_unused_result

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to