Giter VIP home page Giter VIP logo

mini_compile_commands's People

Contributors

danielbarter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mini_compile_commands's Issues

Unable to find C++ standard library when used with GCC

Currently, GCC and the GNU C++ standard library are bundled together in nixpkgs. Because of this, the GNU C++ standard library location isn't explicitly passed to GCC, so it doesn't appear in the compile_commands.json.

This should be fixed as a result of NixOS/nixpkgs#132340. In the meantime, everything works as expected using clang based standard environments.

Address already in use error.

sorry I'm a bit new to this and I apologize if I'm being dumb... but I had this working once or twice and got a generated .json but now when trying to run it I get this error and it blanks out my previous .json file

    self.server_bind()
  File "/nix/store/svjmllfy2w2byp5q53wb8w0j2fr605w3-python3-minimal-3.10.11/lib/python3.10/socketserver.py", line 466, in server_bind
    self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use```

How to integrate in build / derivation

Hi,

if i understood the readme correctly mini_compile_commands is used somewhat interactively. a mini_compile_commands server needs to be manually started bevor it works.

This works fine in a shell when manually building the software, but instead of creating the compile_commands "manually" I'd prefer to create it automatically while building a derivation (through a nix build).

i couldn't get mini_compile_commands_server running properly during building a derivation. (I assume running processes just get killed by nix when the building phase switches to the next one).

Is there currently a way to get this working?

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.