GithubHelp home page GithubHelp logo

Comments (2)

jonahgraham avatar jonahgraham commented on July 24, 2024

This appears to be a result of running the scanner with the collected command line arguments in the output of the build. i.e. CDT sees g++ -c -g -MP -MMD -o example24.o /scratch/eclipse/src/cdt/runtime-CDT/example24/example24.cpp and uses that to construct a command line to pass to g++ that contains the -MP -MMD which has the side effect of leaving the errant -.d file around.

This is an example of the command line:

/usr/bin/g++ -E -P -v -dD -c -g -MP -MMD -o - /scratch/eclipse/src/cdt/runtime-CDT/example24/.sc2298146184504750215.cpp

This is the relevant stacktrace that creates the above g++ process.

Daemon Thread [OutputReader] (Suspended (entry into method <init> in Process))	
	owns: ConsoleOutputSniffer  (id=17990)	
	ProcessImpl(Process).<init>() line: 96	
	ProcessImpl.<init>(byte[], byte[], int, byte[], int, byte[], int[], boolean, boolean) line: 338	
	ProcessImpl.start(String[], Map<String,String>, String, Redirect[], boolean) line: 271	
	ProcessBuilder.start(ProcessBuilder$Redirect[]) line: 1107	
	ProcessBuilder.start() line: 1071	
	GCCToolChain.getScannerInfo(IBuildConfiguration, List<String>, Path, Path) line: 465	
	GCCToolChain.getScannerInfo(IBuildConfiguration, List<String>, IExtendedScannerInfo, IResource, URI) line: 384	
	StandardBuildConfiguration(CBuildConfiguration).processLine(String) line: 834	
	ConsoleOutputSniffer.processLine(String) line: 180	
	ConsoleOutputSniffer$ConsoleOutputStream.checkLine(boolean) line: 101	
	ConsoleOutputSniffer$ConsoleOutputStream.write(byte[], int, int) line: 60	
	ConsoleOutputSniffer$ConsoleOutputStream(OutputStream).write(byte[]) line: 122	
	ProcessClosure$ReaderThread.run() line: 60	

from cdt.

jonahgraham avatar jonahgraham commented on July 24, 2024

Thanks to @EonDigital for helping identify this issue.

from cdt.

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.