Your message dated Mon, 4 Apr 2016 21:40:26 +0200
with message-id <[email protected]>
and subject line Re: Bug#819971: libjsoncpp-dev: Warnings about JSONCPP_OVERRIDE
has caused the Debian Bug report #819971,
regarding libjsoncpp-dev: Warnings about JSONCPP_OVERRIDE
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
819971: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819971
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libjsoncpp-dev
Version: 1.7.2-1
Severity: minor

Dear Maintainer,

When compiling against libjsoncpp, I get a huge number of warnings
such as the following:

/usr/include/jsoncpp/json/value.h:56:22: warning: override controls 
(override/final) only available with -std=c++11 or -std=gnu++11
   ~Exception() throw() JSONCPP_OVERRIDE;

This results from the fact that my software is compiled with all
warnings enabled and using the 1998 ISO C++ standard (not 2011
ISO C++). I would suggest patching the definition of the macro 
JSONCPP_OVERRIDE in the file "/usr/include/jsoncpp/json/config.h"
as follows:

#if defined(_MSC_VER) && _MSC_VER <= 1600 // MSVC <= 2010
# define JSONCPP_OVERRIDE
#elif (__cplusplus < 201103L)  // 1998 ISO C++
# define JSONCPP_OVERRIDE
#else  // 2011 ISO C++ or above
# define JSONCPP_OVERRIDE override
#endif

HTH,
Sebastien-



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libjsoncpp-dev depends on:
ii  libjsoncpp1  1.7.2-1

libjsoncpp-dev recommends no packages.

libjsoncpp-dev suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Closing this, due to discussion on upstream issue tracker:

https://github.com/open-source-parsers/jsoncpp/issues/456

Greetings
Peter

On 04/04/2016 02:36 PM, Sebastien Jodogne wrote:
> Package: libjsoncpp-dev
> Version: 1.7.2-1
> Severity: minor
> 
> Dear Maintainer,
> 
> When compiling against libjsoncpp, I get a huge number of warnings
> such as the following:
> 
> /usr/include/jsoncpp/json/value.h:56:22: warning: override controls 
> (override/final) only available with -std=c++11 or -std=gnu++11
>    ~Exception() throw() JSONCPP_OVERRIDE;
> 
> This results from the fact that my software is compiled with all
> warnings enabled and using the 1998 ISO C++ standard (not 2011
> ISO C++). I would suggest patching the definition of the macro 
> JSONCPP_OVERRIDE in the file "/usr/include/jsoncpp/json/config.h"
> as follows:
> 
> #if defined(_MSC_VER) && _MSC_VER <= 1600 // MSVC <= 2010
> # define JSONCPP_OVERRIDE
> #elif (__cplusplus < 201103L)  // 1998 ISO C++
> # define JSONCPP_OVERRIDE
> #else  // 2011 ISO C++ or above
> # define JSONCPP_OVERRIDE override
> #endif
> 
> HTH,
> Sebastien-
> 
> 
> 
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages libjsoncpp-dev depends on:
> ii  libjsoncpp1  1.7.2-1
> 
> libjsoncpp-dev recommends no packages.
> 
> libjsoncpp-dev suggests no packages.
> 
> -- no debconf information
> 

--- End Message ---

Reply via email to