Giter VIP home page Giter VIP logo

Comments (7)

hebaishi avatar hebaishi commented on July 17, 2024

Could you paste the linter-gcc command into a terminal so we can look at the output?
The command is:

/usr/bin/gcc -c -Wall -fmax-errors=0 /home/test/temp2/hex2dd.c

I find it very strange that it's not working for you. I have just installed gcc-5.3 on my computer and everything seems to be working normally. Note that you will not get any output unless you have an error in your C source. A simple thing you can do is delete a semicolon - that should trigger an error.

from linter-gcc.

hebaishi avatar hebaishi commented on July 17, 2024

Hello. Is linter-gcc working for you now?

from linter-gcc.

hebaishi avatar hebaishi commented on July 17, 2024

Could you please confirm that linter-gcc is working for you? If not, could you please describe the problem you are having?

from linter-gcc.

 avatar commented on July 17, 2024

I'm experiencing the same issue. linter-gcc does not show anything in Atom but running the command manually correctly returns the errors.

Atom 1.7.0
gcc 5.3.0
linter 1.11.4
linter-gcc 0.6.9

Console messages:

linter-gcc: Using configuration page settings
linter-gcc config: {"execPath":"/usr/bin/g++","gccIncludePaths":" ","gccSuppressWarnings":false,"gccDefaultCFlags":"-c -Wall","gccDefaultCppFlags":"-c -Wall -std=c++11","gccErrorLimit":0}
linter-gcc: /usr/bin/g++ -c -Wall -std=c++11 -fmax-errors=0 /home/test/main.cc

Output of /usr/bin/g++ -c -Wall -std=c++11 -fmax-errors=0 /home/test/main.cc:

/home/test/main.cc:1:11: Fehler: »::main« muss »int« zurückgeben
 void main() {
           ^
/home/test/main.cc: In Funktion »int main()«:
/home/test/main.cc:2:3: Fehler: »sda« wurde in diesem Gültigkeitsbereich nicht definiert
   sda
   ^

from linter-gcc.

keplersj avatar keplersj commented on July 17, 2024

Looks to me like it's a localization issue. Is there a GCC parameter to
output errors in a different locale?

On Fri, Apr 15, 2016, 3:13 PM iskatu [email protected] wrote:

I'm experiencing the same issue. linter-gcc does not show anything in Atom
but running the command manually correctly returns the errors.

Atom 1.7.0
gcc 5.3.0
linter 1.11.4
linter-gcc 0.6.9

Console messages:

linter-gcc: Using configuration page settings
linter-gcc config: {"execPath":"/usr/bin/g++","gccIncludePaths":" ","gccSuppressWarnings":false,"gccDefaultCFlags":"-c -Wall","gccDefaultCppFlags":"-c -Wall -std=c++11","gccErrorLimit":0}
linter-gcc: /usr/bin/g++ -c -Wall -std=c++11 -fmax-errors=0 /home/test/main.cc

Output of /usr/bin/g++ -c -Wall -std=c++11 -fmax-errors=0
/home/test/main.cc:

/home/test/main.cc:1:11: Fehler: »::main« muss »int« zurückgeben
void main() {
^
/home/test/main.cc: In Funktion »int main()«:
/home/test/main.cc:2:3: Fehler: »sda« wurde in diesem Gültigkeitsbereich nicht definiert
sda
^


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#41 (comment)

from linter-gcc.

keplersj avatar keplersj commented on July 17, 2024

I believe linter-javac had about the same issue a while ago as well.

On Fri, Apr 15, 2016, 3:21 PM Kepler Sticka-Jones [email protected] wrote:

Looks to me like it's a localization issue. Is there a GCC parameter to
output errors in a different locale?

On Fri, Apr 15, 2016, 3:13 PM iskatu [email protected] wrote:

I'm experiencing the same issue. linter-gcc does not show anything in
Atom but running the command manually correctly returns the errors.

Atom 1.7.0
gcc 5.3.0
linter 1.11.4
linter-gcc 0.6.9

Console messages:

linter-gcc: Using configuration page settings
linter-gcc config: {"execPath":"/usr/bin/g++","gccIncludePaths":" ","gccSuppressWarnings":false,"gccDefaultCFlags":"-c -Wall","gccDefaultCppFlags":"-c -Wall -std=c++11","gccErrorLimit":0}
linter-gcc: /usr/bin/g++ -c -Wall -std=c++11 -fmax-errors=0 /home/test/main.cc

Output of /usr/bin/g++ -c -Wall -std=c++11 -fmax-errors=0
/home/test/main.cc:

/home/test/main.cc:1:11: Fehler: »::main« muss »int« zurückgeben
void main() {
^
/home/test/main.cc: In Funktion »int main()«:
/home/test/main.cc:2:3: Fehler: »sda« wurde in diesem Gültigkeitsbereich nicht definiert
sda
^


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#41 (comment)

from linter-gcc.

 avatar commented on July 17, 2024

Yes, this seems to be the cause of the problem. It works when I have LC_MESSAGES set to English.

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.