Skip to content

When executing a recent version of make from within vim, a change in directory is not recognised #185

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Open vim from within the root directory of a project that makes use of 
recursive make files
2. Run :make from within vim

What is the expected output? What do you see instead?
If any directory changes were made, vim should recognise these and append the 
appropriate information to the quickfix-directory-stack

What version of the product are you using? On what operating system?
(g)vim 7.4 with patches 1 to 86
gnu make 4.0
OS Arch Linux

Please provide any additional information below.
It seems that the output of gnu make for entering a directory
has changed from:

make[1]: Entering directory `/path/to/directory'

to

make[1]: Entering directory '/path/to/directory'

Note the change from ` to ' at the beginning of the path name. I suspect the 
same has happened for the Leaving directory string as well.

This should be a simple fix one of the patterns within the 'errorformat' 
variable in 'runtime/compiler/gcc.vim' or perhaps it may be a good idea to 
duplicate that pattern and modify the duplicate (to retain backwards 
compatibility)

Original issue reported on code.google.com by kno0...@gmail.com on 4 Dec 2013 at 3:13

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions