Skip to content

Build failure on QNX with "Dinkum" STL #156

Closed
@muggenhor

Description

@muggenhor

Attempting to build with the QNX SDK and "Dinkum" C++ standard library implementation results in this compile error:

include/json_spirit/json_spirit_writer_template.h:80:38: error: there are no arguments to 'iswprint' that depend on a template parameter, so a declaration of 'iswprint' must be available [-fpermissive]

That's the result of:

  1. not including the header that defines this function (<wctype.h> on C, <cwctype> on C++)
  2. when using the C++ header: not using this method from the std:: namespace because that's where the C++ standard requires it to be present: http://en.cppreference.com/w/cpp/string/wide/iswprint

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions