| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Some Clang versions warn with `-Wdocumentation-unknown-command` about
the `\internal` and `\snippet` command tag names.
|
|
|
|
|
|
|
| |
The scanbuild analysis cannot see that decodeUnicodeEscapeSequence
either initializes the `unicode` argument or returns `false` such
that the code following it runs only if `unicode` is initialized.
Add an explicit initialization to pacify it.
|
|
|
|
| |
The SunPro compiler does not support `#pragma pack`.
|
|
|
|
|
|
|
|
| |
Even though we disable warnings when building jsoncpp itself, including
its headers from other CMake sources may still cause warnings.
Additional work will be needed to port CMake to newer jsoncpp interfaces
while still supporting jsoncpp 1.0.0. For now, just suppress the
markup.
|
|
|
|
|
| |
* upstream-jsoncpp:
jsoncpp 2017-08-27 (4cfae897)
|
| |
|
|
|
|
| |
This is third-party code.
|
|
|
|
|
| |
Do not activate it with the general use-system-libs options for now
because KWIML is not commonly distributed or available.
|
|
|
|
|
|
| |
When parsing digits we know our `c - '0'` expression results in a
non-negative value due to preceding conditions. Simply cast the result
to UInt. This fixes compilation on SolarisStudio 12.4.
|
|
|
|
|
| |
In C99 mode, Solaris variants may already define isfinite, so check for
the existence first.
|
|
|
|
|
|
| |
Some versions of HP-UX do not define 'isfinite' or 'finite' in math.h
for Itanium when preprocessing with C++, so we have to add the
definition ourselves instead to map to the internal version.
|
|
|
|
|
| |
Newer AIX and HP-UX platforms provide 'isfinite' as a <math.h> macro.
Older versions do not, so add the definition if it is not provided.
|
|
|
|
|
|
| |
Even though we disable warnings when building jsoncpp itself, including
its headers from other CMake sources may still cause warnings. Update
the code to remove these -Wdocumentation warnings.
|
|
|
|
| |
Describe how to update jsoncpp from upstream.
|
|
|
|
| |
Solaris provides a 'finite' function in <ieeefp.h>.
|
|
|
|
|
| |
The glibc 2.1 headers provide isfinite only in C99 mode.
Add its definition ourselves.
|
|
|
|
|
|
| |
The strcmp function does not allow NULL pointers, so add an
assert to tell Clang scan-build that the code does not expect
a NULL pointer.
|
|
|
|
| |
The header uses std::ostream, so it must be declared.
|
| |
|
|
|
|
|
| |
Add '-w' or equivalent flag on compilers supporting it.
Tell MSVC to use its lowest warning level inside jsoncpp sources.
|
|
|
|
|
|
|
|
|
| |
Update json/json.h to account for our lack of autolink.h. Update
json/config.h to include KWSys Large File Support configuration so that
consistent stream libraries are used (on AIX with XL).
Add a cm_jsoncpp_reader.h header to include the CMake-provided copy of
the json/reader.h header from CMake sources.
|
| |
|
|
|
|
|
| |
Use a subtree merge to place the upstream content in the
Utilities/cmjsoncpp directory.
|
|
|