You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
installed packages:
linter 2.3.0
linter-gcc 0.7.1
linter-ui-default 1.7.1
busy-signal 2.0.1
intentions 1.1.5
output of " /usr/bin/gcc -c -Wall -fmax-errors=0 Documents/cf/main.cpp " in terminal :
Documents/cf/main.cpp: In function ‘int main()’:
Documents/cf/main.cpp:57:5: error: expected ‘;’ before ‘cout’
cout<<n<<endl;
^~~~
The text was updated successfully, but these errors were encountered:
Well, probably useless to answer now, but looks like you're trying to specify the path of your GCC executable without specifying that it is indeed an executable, you should either add GCC's bin folder in your PATH or write "/usr/bin/gcc.exe" in your linter settings.
Also it looks like you're trying to compile CPP code with GCC's C compiler wich is bound to fail, use g++.exe instead of gcc.exe.
Checklist
gcc version:
installed packages:
output of " /usr/bin/gcc -c -Wall -fmax-errors=0 Documents/cf/main.cpp " in terminal :
The text was updated successfully, but these errors were encountered: