Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #3877
Closed
Open
Issue created Sep 11, 2019 by Administrator@rootContributor

[BUG] Cpprestsdk - ModelBase.cpp fails to compile on Kubuntu 14

Created by: TomerJLevy

Hi,

The sample of cpp-restsdk/client/ModelBase.cpp fails to compile on Linux. The same Cpprestsdk version compiled fine using v4.0.2 generator.

Because of line 299: image

"No matching function for call to 'utility::datetime::from_string(const wchar_t....).." "Candindate is: utility::datetime::from_string(const string_t....).."

In which 'string_t' is defined in 'cpprestsdk/Release/include/cpprest/details/basic_types.h' as std::wstring for Windows or std::string for POSIX: link here: https://github.com/microsoft/cpprestsdk/blob/master/Release/include/cpprest/details/basic_types.h#L52

image

For me, removing the 'U' before the "NULL" does the trick but it's not a bug fix.

Assignee
Assign to
Time tracking