Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A ArduinoJson
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • 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
  • Benoît Blanchon
  • ArduinoJson
  • Issues
  • #1560
Closed
Open
Issue created May 18, 2021 by Administrator@rootContributor

IAR compile error (pe070)

Created by: Manha96

Hi,

When I include the newest Version of the ArduinoJson Library (v6.18.0) into my IAR workbench (v8.50.9), I always get the same error:

Error Pe070: Error[Pe070]: incomplete type is not allowed. Detected during instantiation of "inline bool ArduinoJson6180_11::VariantRef::set(T const &) const [with T=signed char]" at line 94

Line 94 in the Library: template <typename T> FORCE_INLINE bool set(const T &value) const { return Converter<T>::toJson(value, *this); }

After trying several things such like creating new iar project, try c instead of cpp etc., I eventually checked out the previous version (v6.17.3). With this version I didn't get any error.

  • Is this iar compile error already known?

  • If yes, are the current branches tackle this problem?

I hope my description was clear enough. I didn't wrote any code with the library. I have just included the header file. Suprisingly, I don't get any error with visual studio neither.

BR

Assignee
Assign to
Time tracking