Giter VIP home page Giter VIP logo

Comments (12)

hebaishi avatar hebaishi commented on August 16, 2024

I have identified the problem and will publish a fix very shortly. Thank you for reporting the error.

from linter-gcc.

hebaishi avatar hebaishi commented on August 16, 2024

Ok. The fix has been made. Please update linter-gcc. Note that you need to restart atom (Ctrl+Alt+R) to reload the package. Please let me know once you have it working again.

from linter-gcc.

baillyjamy avatar baillyjamy commented on August 16, 2024

Sorry but linter-gcc does not work. Yet I haven't more error message.

from linter-gcc.

hebaishi avatar hebaishi commented on August 16, 2024

Just to clarify - does this occur only with an unsaved file or with saved ones as well?

from linter-gcc.

baillyjamy avatar baillyjamy commented on August 16, 2024

This occur for both cases

from linter-gcc.

hebaishi avatar hebaishi commented on August 16, 2024

Could you follow the instructions here and report the linter-gcc command that appears in the developer console?

from linter-gcc.

hebaishi avatar hebaishi commented on August 16, 2024

Hello? Any update on your problem?

from linter-gcc.

baillyjamy avatar baillyjamy commented on August 16, 2024

I will do that this evening :)

from linter-gcc.

baillyjamy avatar baillyjamy commented on August 16, 2024

Sorry for the delay

/home/bailly_j/.atom/packages/linter-gcc/lib/utility.js:94 
linter-gcc config: 
{"execPath":"gcc","gccIncludePaths":"./include","gccSuppressWarnings":false,"gccDefaultCFlags":"-only -c -W -Wall -Wextra -pedantic -posix -o /dev/null","gccDefaultCppFlags":"-c -Wall -std=c++11","gccErrorLimit":0,"gccErrorString":"error","gccWarningString":"warning","gccNoteString":"note"}
/home/bailly_j/.atom/packages/linter-gcc/lib/utility.js:146 
linter-gcc: 
/usr/lib/hardening-wrapper/bin/gcc -only -c -W -Wall -Wextra -pedantic -posix -o /dev/null -fmax-errors=0 -I/home/bailly_j/rendu/Dante/include /tmp/2f6adb7c-eb69-431d-b77b-d0d54c414a79.c

from linter-gcc.

hebaishi avatar hebaishi commented on August 16, 2024

One little thing - could you turn off linting on-the-fly, then take the command that linter-gcc prints in the console, and paste it into a terminal? We need to see the command output to work out what the problem is.

from linter-gcc.

baillyjamy avatar baillyjamy commented on August 16, 2024

Well the problem was with my operating system. I fixed a problem with my pipes and the bug disappeared. I do not know if it's related but I do not have the bug
Sorry for the inconvenience

from linter-gcc.

riophae avatar riophae commented on August 16, 2024

Steps To Reproduce

  1. Hit Ctrl-N to create a new empty file without saving it.
  2. Paste some C code and change the language setting to C.
  3. linter-gcc starts to work but throws this error.

Atom: 1.15.0 ia32
Electron: 1.3.13
OS: Windows 10 Professional 64-bit
Thrown From: linter-gcc package 0.7.1

Stack Trace

Uncaught TypeError: Path must be a string. Received undefined

At path.js:7

TypeError: Path must be a string. Received undefined
    at assertPath (path.js:7:11)
    at Object.join (path.js:466:7)
    at /packages/linter-gcc/lib/utility.js:105:24
    at Array.forEach (native)
    at Object.splitStringTrim (/packages/linter-gcc/lib/utility.js:97:14)
    at Object.buildCommand (/packages/linter-gcc/lib/utility.js:197:42)
    at Object.lint (/packages/linter-gcc/lib/main.js:110:36)
    at /packages/linter-gcc/lib/main.js:180:26

Commands

     -2:08.8.0 atom-beautify:beautify-editor (div.line)
     -2:05.5.0 intentions:highlight (input.hidden-input)
     -2:05.4.0 core:select-all (input.hidden-input)
     -2:05.3.0 core:copy (input.hidden-input)
     -1:39.3.0 intentions:highlight (input.hidden-input)
     -1:39.2.0 core:select-all (input.hidden-input)
     -1:38.8.0 core:copy (input.hidden-input)
     -1:38.8.0 core:paste (input.hidden-input)
     -1:27.3.0 intentions:highlight (input.hidden-input)
     -1:27.2.0 core:select-all (input.hidden-input)
     -1:26.7.0 core:paste (input.hidden-input)

Non-Core Packages

advanced-open-file 0.16.6 
atom-beautify 0.29.17 
atom-typescript 10.1.15 
atomic-chrome 0.3.0 
busy-signal 1.3.0 
duotone-light-syntax 2.1.0 
editorconfig 2.2.2 
emmet 2.4.3 
eslint-fixer 1.2.1 
ficus-syntax 2.0.0 
flatwhite-syntax 0.8.0 
fonts 2.0.0 
gl-light-syntax 2.2.0 
intentions 1.1.2 
language-babel 2.56.2 
language-cuesheet 0.1.5 
linter 2.1.0 
linter-eslint 8.1.4 
linter-gcc 0.7.1 
linter-tslint 0.14.0 
linter-ui-default 1.2.0 
linter-write-good 0.8.0 
northem-light-atom-syntax 2.1.0 
northem-light-atom-ui 2.1.0 
script 3.14.1 
spacegray-light-neue-ui 0.1.7 
sync-settings 0.8.1 
zentabs 0.8.8 

from linter-gcc.

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.