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
  • #40
Closed
Open
Issue created Dec 23, 2014 by Administrator@rootContributor

The "new" operator definition collides with the standard (?) one

Created by: highfield

Benoit, your library is simply awesome: no kidding! ATM, I'm still in the phase of "assembly" several parts or a small project, originally written in C#, but my knowledge yet experience in C/C++ is close to zero. https://highfieldtales.wordpress.com/2014/11/07/azure-veneziano-part-1/

More specifically, I'm re-writing the code for the Seeedstudio Link-It, which is an ARM-based board, and comes with a Arduino 1.5-like SDK. http://www.seeedstudio.com/depot/LinkIt-ONEBackorder-p-2017.html

The problem I bumped to is against your "new" operator definition (PlacementNew.hpp). If I leave it, the compilation raises an error about the re-definition of the "new" operator. If comment out, there's no collision, but your List.cpp module (and another one, I think) raises a overloading not found for the operator "new". Right now I'm in the office and I don't have the exact errors, but I may send you once at home.

Any clue?

Thanks and have a happy Christmas. Mario

Assignee
Assign to
Time tracking