Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce compiler check if const is casted away. #83

Merged
merged 2 commits into from
Dec 8, 2016

Commits on Dec 8, 2016

  1. Temporarily disable warning when const is cast away.

    There was a long running discussion here
    DaveGamble#80 how to provide const
    correctness for users of cJSON.
    
    To avoid breaking changes for users of cJSON v1 it was decided to
    disable this warning.
    
    pragma was tested with gcc 5.4.0/6.2.1 and clang 3.8/3.9.
    gatzka committed Dec 8, 2016
    Configuration menu
    Copy the full SHA
    e69db83 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    89edfb6 View commit details
    Browse the repository at this point in the history