Code Monkey home page Code Monkey logo

Comments (8)

jaddison avatar jaddison commented on May 23, 2024

Ok, it was harder to find than I would have thought: http://casablanca.codeplex.com/workitem/404

Add warning-turned-error to the clang suppression list. This is only a workaround, really, so leaving this issue open.

Are we supposed to report issues here or on codeplex? Things seem somewhat in limbo/flux.

from cpprestsdk.

alexkaratarakis avatar alexkaratarakis commented on May 23, 2024

Hi there!
Please report issues here on github, as codeplex is being phased out.

from cpprestsdk.

rinopazzo avatar rinopazzo commented on May 23, 2024

Can you explain how to "Add warning-turned-error to the clang suppression list" in CMakeLists.txt file?
Thanks

from cpprestsdk.

jaddison avatar jaddison commented on May 23, 2024

The compiler on OSX is being a little too strict in this case; it's turning a warning into an error, causing the build to fail.

Suppress the warning-turned-error by added it to this line in CMakeLists.txt: https://github.com/Microsoft/cpprestsdk/blob/master/Release/CMakeLists.txt#L137

Once you do that, you should be able to build.

from cpprestsdk.

rinopazzo avatar rinopazzo commented on May 23, 2024

It is possible to add a similar suppression flag to the iOS CMakeLists.txt (Build_iOS/CMakeLists.xtx)?...
Build on iOS fails

from cpprestsdk.

jaddison avatar jaddison commented on May 23, 2024

Based on this line https://github.com/Microsoft/cpprestsdk/blob/master/Release/CMakeLists.txt#L133, I'd say that my suggestion covers both iOS and OSX builds.

(edit: untested - perhaps let others know whether you were successful?)

from cpprestsdk.

rinopazzo avatar rinopazzo commented on May 23, 2024

It works, I solved adding "-Wno-error" and "-Wno-unused-local-typedefs" into https://github.com/Microsoft/cpprestsdk/blob/master/Release/CMakeLists.txt#L137 . Thanks!

from cpprestsdk.

kavyako avatar kavyako commented on May 23, 2024

Closing this issue since we have merged the PR#23.

from cpprestsdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.