Coder Social home page Coder Social logo

Comments (6)

sandszhouSZ avatar sandszhouSZ commented on July 20, 2024

yes, when delete it, the code could compile successfully, but the demo could not run successfully

from cparse.

VinGarcia avatar VinGarcia commented on July 20, 2024

Hello @ianhinder and @sandszhouSZ sorry for the late reply, yes I think we can fix this in the Makefile, about the -O flag at link time, it is indeed a valid argument in Linux:

Running man ld:

       -O level
           If level is a numeric values greater than zero ld optimizes the output.  This might take significantly longer and therefore probably should only be
           enabled for the final binary.  At the moment this option only affects ELF shared library generation.  Future releases of the linker may make more use
           of this option.  Also currently there is no difference in the linker's behaviour for different non-zero values of this option.  Again this may change
           with future releases.

I will create a PR conditioning this -O1 to Linux , about the -O3 used with g++, is this one also causing problems on macOS?

from cparse.

VinGarcia avatar VinGarcia commented on July 20, 2024

So I wrote the PR, can you guys test it to see if it is working on your environment, since I don't have a macOS for testing it.

#87

from cparse.

VinGarcia avatar VinGarcia commented on July 20, 2024

@ianhinder and @sandszhouSZ can you guys help me test the PR #87 ? If it works I can merge it.

from cparse.

VinGarcia avatar VinGarcia commented on July 20, 2024

Since no one answered I will just merge it and if there are any problems I will have to wait for someone that uses Mac to open a ticket.

from cparse.

VinGarcia avatar VinGarcia commented on July 20, 2024

Done.

from cparse.

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.