-
Notifications
You must be signed in to change notification settings - Fork 365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gcc maker's errorformat should catch fatal errors for missing includes #1024
Comments
Related question: How do I add arguments to gcc so that it finds my includes? |
It seems that it was enabled all along, but it probably didn't parse the error. I got a Then I used |
The default error format should have matched this, so it can be considered a bug I think. |
@NickeZ |
@blueyed Sorry, I was probably just confused. By default neomake doesn't open the list of issues and I remember that I looked for some marker in the gutter but I couldn't see one. I can't reproduce the issue any more... |
It would have been nice if the readme mentions |
I feel very stupid but I can't enable gcc maker. I've tried multiple ways. I have installed neomake with https://github.com/junegunn/vim-plug if that matters.
Expected behavior
gcc maker should be enabled
Steps to reproduce
Put one of the following lines in the vim config:
Output of the ":verb NeomakeInfo" command
Neomake debug information
Async support: 1
Current filetype: cpp
Enabled makers
For the current filetype (with :Neomake):
errorformat: '%-G%f:%s:,%-G%f:%l: %#error: %#(Each undeclared identifier is reported only%.%#,%-G%f:%l: %#error: %#for each function it appears%.%#,%-GIn file included%.%#,%-G %#from %f:%l,,%f:%l:%c: %trror: %m,%f:%l:%c: %tarning: %m,%I%f:%l:%c: note: %m,%f:%l:%c: %m,%f:%l: %trror: %m,%f:%l: %tarning: %m,%I%f:%l:
note: %m,%f:%l: %m'
args: ['-fsyntax-only', '-Wall', '-Wextra']
get_argv: function('2', {'get_argv': function('2')})
exe: 'g++'
NOTE: you can define g:neomake_cpp_enabled_makers to configure it (or b:neomake_cpp_enabled_makers).
For the project (with :Neomake!): None.
NOTE: you can define g:neomake_enabled_makers to configure it.
Default maker settings:
Settings
:version
:messages
The text was updated successfully, but these errors were encountered: